Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - rli

Pages: 1
Thumby / Magic 8-Ball App
« on: October 17, 2021, 03:06:43 AM »
Hacked together a simple app today:

Gif of it in action:

Anyone interested can change the sprite and the messages by modifying the code at the top of the file!

I'm unfamiliar with micropython and haven't done very much game programming so I had to spend some time writing code just to test simple functionality I wanted to put in the end product. The lack of feedback when something goes wrong in the emulator forced me to write code and test very incrementally. The sprite also took many iterations to get to something I liked.
Edit: It turns out you can open the Chrome console (Ctrl + Shift + J on Windows/Linux) and get the usual stdout and stderr along with other activity on the page!

You can see a bit of my development process in this version of the code:

Attached as well (from commit 1ea840b02a1ef8536832fe7b5a8d0cddd4723378)

Pages: 1
SMF spam blocked by CleanTalk