For those interested, check out this tutorial on our website for how to create a basic game for the TinyArcade. It is written entirely in the Arduino IDE and should be easy to follow for getting up and running with creating your own game. https://tinycircuits.com/blogs/learn/how-to-develop-a-game-for-the-tinyarcade-new
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.
Pages1
#1
Tiny Arcade & Pocket Arcade / Re: How do you make games for the Tiny Arcade?
September 26, 2017, 02:44:56 PM #2
Tiny Arcade & Pocket Arcade / Re: Just got a TinyArcade, no Build Option: "TinyArcade Menu"
July 18, 2017, 05:48:26 PM
An easy first step would be to make sure you are using the latest version of the Arduino IDE. If not, you can download the latest version for free from here: https://www.arduino.cc/en/Main/Software. It's also a good idea to go to: Tools > Board > Boards Manager within the IDE, and update all of the Board Packages. You may need to restart the IDE after this process.
#3
Tiny Arcade & Pocket Arcade / Re: game developing tutorial for tiny arcade won't work
May 24, 2017, 03:40:57 PM
Hi bobojo,
Your code contains a very minor error which is easy to correct in one of two manners. It appears that you forgot to add: int collisions; to your typedef struct, as shown below.
typedef struct {
int x;
int y;
int width;
int height;
int collisions;
const unsigned int *bitmap;
} ts_sprite;
ts_sprite ball = {44,28,4,4,0,ballBitmap};
If you don't wish to utilize the collision tracking variable, you could also leave your typedef struct as is and delete the 0 value as shown below:
ts_sprite ball = {44,28,4,4,0,ballBitmap};
Whichever method you choose, the important thing is to keep both consistent to each other.
Your code contains a very minor error which is easy to correct in one of two manners. It appears that you forgot to add: int collisions; to your typedef struct, as shown below.
typedef struct {
int x;
int y;
int width;
int height;
int collisions;
const unsigned int *bitmap;
} ts_sprite;
ts_sprite ball = {44,28,4,4,0,ballBitmap};
If you don't wish to utilize the collision tracking variable, you could also leave your typedef struct as is and delete the 0 value as shown below:
ts_sprite ball = {44,28,4,4,
Whichever method you choose, the important thing is to keep both consistent to each other.
Pages1
SMF spam blocked by CleanTalk