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 - SG107

Pages: 1
1
Tiny Arcade & Pocket Arcade / flaw with the Game Development Tutorial
« on: January 12, 2022, 06:11:21 PM »
Hello,

I have been following the game development tutorial for the pocket arcade, and have had trouble getting the first upload to work, until i noticed that the error text just above the exit statements reads "undefined reference to `'ALPHA'", which I was also thinking about as I was typing this out, and there is also no other line referencing alpha up to this point in the tutorial (at least in the main file), it also doesn't appear anywhere in the complete sketch at the top of the page.

However, I did find what alpha is supposed to be defined as in the complete file linked at the bottom of the page, which is:
"const uint16_t ALPHA = 0x1111;" which is located at the very top of the .ino file, now it works as it should (successfully uploading to the device showing the ball)

could you update the tutorial so that no one else has trouble getting their first game to work?

Thanks
Sam

Pages: 1
SMF spam blocked by CleanTalk