Rougelite dungeon-crawler type game on the Teensy 4.1?

dcmrobin

New member
So I was thinking up some ideas of what to make with the Teensy 4.1 that couldn't be done with a normal arduino, and I thought: rougelite? Near-infinite replayability? That sounds cool! Now I know that there is this, which is on the Arduboy which can be run on an arduino (I'm pretty sure), but I was thinking about something more ambitious. Mine would have a procedurally fairly big generated dungeon for each level, would be real-time combat, and might have some procedurally generated puzzles randomly scattered throughout the dungeon. It would kind of be like the game Nuclear Throne. Now, would this be possible with the Teensy 4.1? I mean, it is way more powerful than an arduino, so it should be able to handle this kind of thing- but I'm very new to the Teensy board. What would be the basic approach to a project like this? Thanks in advance to any help :D
 
I've not written this sort of gaming code, so this is just guesswork...

Maybe a first (relatively easy) way to investigate might involve compiling that Arduboy code with small changes to increase the map size, while watching the memory usage summary Arduino IDE prints after each compile. The idea would be the get an initial idea of how the memory usage grows as you try to scale up.

You might run into other issues than memory, but my gut feeling is memory could likely be the limiting factor. If it is, you might also consider whether to require 8MB or 16MB of PSRAM on Teensy 4.1 (and also whether it will be fast enough), or working completely within the 1MB RAM.
 
I've not written this sort of gaming code, so this is just guesswork...

Maybe a first (relatively easy) way to investigate might involve compiling that Arduboy code with small changes to increase the map size, while watching the memory usage summary Arduino IDE prints after each compile. The idea would be the get an initial idea of how the memory usage grows as you try to scale up.

You might run into other issues than memory, but my gut feeling is memory could likely be the limiting factor. If it is, you might also consider whether to require 8MB or 16MB of PSRAM on Teensy 4.1 (and also whether it will be fast enough), or working completely within the 1MB RAM.
Thanks for the reply! That's a good idea, and I shall probably try it out- along with trying out my own approach which I have yet to think up.
 
Back
Top