'Mazogs' game scaled for Thumby Screen

brian2

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
For fun I scaled down the graphics on an Arduboy game I did a while back to see how it would work at 72x40 instead of Arduboy 128x64:

https://www.youtube.com/watch?v=D91GBfW0_5Y

No idea what it will look like on a 0.42 inch screen or how it would play on a tiny D-pad though!


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 235
    • View Profile
This looks awesome! Excited to see what it would look like on a Thumby screen!


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 355
    • View Profile
Very cool! If you run it at 72x40 on your Arduboy, it will be pretty close to what you'd see on a Thumby, except about 25% larger pixels still! Keep us updated- not sure if the scaling is a mockup or functional, maybe we could test the code here?

Thanks,
Ben


brian2

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
Thanks for the feedback! it was mostly proof-of-concept as an idea to see if it would roughly work, which it does. It's a fully runnig Linux demo just now, I'll attach a zip of  the source here since it's so small anyway, even with the graphics development stuff included.

<technical blah blah>
Ideally next step is getting it running on Arduboy properly as a bridge to Thumby since the display controllers and memory-map are so similar, but it's tricky since tricks were required to get the game to work properly on Arduboy, which only has 2.5K RAM to play with, the Thumby version needs to use a screen buffer which the Arduboy version does not, so not sure if the extra 360 bytes RAM is available to play with... will try it anyway I guess. ( Drawing the map tiles at 3x3 is a PITA at byte-scale compared to 4x4.)
</technical blah blah>
« Last Edit: October 05, 2021, 06:05:44 AM by brian2 »


brian2

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
Ok, so I've  got the 'Thumby' version of Mazogs running in the top-left quarter of an Arduboy now, lol. It's tiny but playable... (as I understand it, it will shrink another 25% when transferred to a Thumby 0.42 inch screen though,  woah).

Anyway, porting to Thumby now should just involve switching the SPI calls to I2C, updating the port numbers and probably using a different random generator, but apart from that it should 'just work' in theory.... I'll attempt it, but  only once a) there's some Arduino IDE demo code for Thumby out there (hello world style with button reads) , or b) I've got a thumby. (early bird).


 

SMF spam blocked by CleanTalk