News for hackers. Stuff that matters.
Re:My son (9 yrs old) used plain JavaScript to make a game, ... by WesleyJohnson on Tuesday December 03, 2024 @07:23PM (#42313267)
Agree 100%. Since dad helped, I was expecting to see sprites sheets, or some JS classes for some OOP, etc. Was pleasantly surprised to see how "simple" the approach was for such fun output with a decent amount of variety.
Re:My son (9 yrs old) used plain JavaScript to make a game, ... by veesahni on Tuesday December 03, 2024 @08:01PM (#42313488)
He doesn't understand what a sprite is, or really the motivation behind sprite sheets. To him they're just animated images he made in a tool. Internally he switches the "costumes" of characters (terminology he got from Scratch I believe).
Re:My son (9 yrs old) used plain JavaScript to make a game, ... by WesleyJohnson on Tuesday December 03, 2024 @08:15PM (#42313577)
That's so great. So many software engineers (myself included) tend to overcomplicate things.
Re:My son (9 yrs old) used plain JavaScript to make a game, ... by wkyleg on Tuesday December 03, 2024 @07:34PM (#42313330)
This is how cool new ideas arrive each generation