this post was submitted on 06 Feb 2024
35 points (97.3% liked)

Game Development

3412 readers
2 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] saintshenanigans@programming.dev 1 points 9 months ago (1 children)

I had to build a game in phaser 3 for my "html" course and I swore I would never try to game dev in js again.

I know we were using a very old version and we had very minimal guidance... have I missed something big that makes it tolerable to work with or do i just need more js experience?

[โ€“] mapto@lemmy.world 3 points 9 months ago

The way you put it, it sounds that you have issues with the language. I can relate to that, but JS is what browsers understand natively. Probably using TypeScript is a good alternative, as static typing helps you keep afloat as the project grows.

As for Phaser itself (can be used with TypeScript), it depends what kind of game you're making. Even older versions of phaser have the typical programming affordances to make 2D games like assets and physics. Having said that, it's fair that other engines have visual editors, and possibly more tutorials and other resources.

But yes, phaser is hardly HTML, so weird choice for the course.