I am trying to program a game but...

Post Reply
Posts: 1
Joined: Tue Mar 09, 2021 2:01 am
languages_spoken: english, german, italian
ODROIDs: Odroid Go
Has thanked: 0
Been thanked: 0

I am trying to program a game but...

Post by ErrorZer0 »

...I have no idea if I am doing it right :)

First of all I would like to say hello since I am brand new to the forum :)
Secondly I would like to mention that English is not my native language and I apologize already for any mistakes :)
So now to the topic.
I have recently received my Odroid Go and I am very happy with it. The emulators are great :D
But now I want to try to program a game and I read up a bit and tried to get something running with copy paste. Unfortunately I'm not that experienced in C programming so I'm not really doing well at the moment :P
At the beginning I had difficulties to update the screen fast, but then I found this library:

With this library it works better, but I think I use it completely wrong.
I wrote a small program that stores single tiles in an array and then displays them on the screen. The whole thing even works, but somehow it is a bit slow.

Could you possibly tell me where I could improve something or what I can read through so that I understand the whole thing better?

Here is my code:

User avatar
Site Admin
Posts: 39117
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
Has thanked: 2513 times
Been thanked: 1382 times

Re: I am trying to program a game but...

Post by odroid »

Try analyzing this great game source code to learn game programming.

You probably need a basic knowledge about "Tile and Sprite" with a better C programming skill.

Post Reply

Return to “Arduino Coding Camp”

Who is online

Users browsing this forum: No registered users and 1 guest