Made a little more progress on this today. Been having way too much fun with this. The dungeons can now have passages in the floor and in the ceiling so that you can build additional levels in your game. The rendering is a little off, but it’ll do for now.
Next steps (roughly in order):
-
Use an update loop with the movement animations instead of(Done.)game.pause
so that rendering is more consistent across platforms.-
Incorporate page flipping when updating the screen.(Done.)
-
- Allow users to build wireframes (a.k.a. vector images) for enemies and other items and then be able to render them in the dungeon.
-
Allow for a cropped viewport, to allow for, say, information to be displayed on the bottom of the screen.(Done.) - Allow for diminishing visibility. Currently, the dungeon is drawn as if there is infinite light from all directions. I’ll add the option to render the dungeon as if the hero character is holding some sort of light source that diminishes with distance.
- Transform the dungeon engine into an extension.
- Create a web application that will allow users to draw vector images and emit JavaScript code that can be copied and pasted into a MakeCode Arcade project.
- Eventually (to make it easier for Blocks users), allow web app to import and export vector images using MakeCode Arcade cartridges (i.e. the PNG files that contain the MakeCode Arcade code for a project).
Other ideas? Feel free to share them here (as y’all have already done, and which I appreciate).
OK … need to put this away and get ready for class tonight! Cheers, all!