GP32 Tutorial Part 2 out


Rico

Certified Guru
Joined
Apr 4, 2003
Messages
5,649
Age
38
Location
England, UK
Website
Visit site
I know my first tutorial was well recieved; the second one will be less popular as it is designed for coding newbies mainly. That said, you will have to know some C. I provide most of the code as snippets you cut and paste, however.

Grab it right here!

Also the results of the tutorial are available in zip format here.

If you are interested in coding, this will help - you'll have a tile engine, with player/camera interface, controls and scrolling by the end of it.

Feedback would be much appreciated!

- Rico
 
Rico,

It's absolutely brilliant and just what coders like me need. It demonstrates how to do the 'basics' without having to spend ages looking at the SDK etc. Really impressed.

Thanks for your time in writing that! :)
 
btw whats a tile engine used for? you said its useless on FPS, puzzle and 3D sooooooooooooooooooooooooooooooooooooooooooooo?
 
You didn't read it properly.

Almost any game you care to program will involve a tile engine, unless it's a fighter or a puzzler. Platformers, shooters, RPGs, all use them.

So that would be any type of game from Final Fantasy (snes) to Metal Gear to Mario.
 
Rico - I know I've said this before, but you really f*ckn' rock !!
Thank you for all your help + examples.
Every little bit helps so very much.
 
Rico posted on May 20 2003 said:
Draws tiles.
Excellent tutorial, Rico. Looking forward to more. In the meantime I am trying to write a simple little game. Your tile routines will come in handy, too! Now if i can just figure out how to load and display graphics like a background picture that I can draw tiles over. *cough* hint *cough* ;).
 
Last edited by a moderator:
Next tutorial is under production :) Please just wait a bit, I have exams and little time.

It will feature collision detection, tile graphics, background images and splash screens at least. Perhaps some other stuff like AI.
 
I had mentioned this problem to Rico and I found the solution. I am running under Windows and whenever I ran the make for tutorial 2, I got the error: make: /bin/sh.exe: Command not found whenever it ran the b2fxe command that he suggests putting into the makefile.

Turns out make defaults to UNIX so it looked for the sh (shell) exe. To fix it, I have to add the --win32 flag to my make command: make --win32 and it works fine.

Hope this helps anyone else and I am definitely looking forward to tutorial 3.
 
I'm sorry about that, guess I must have been drunk, else I would have immediately realised sh.exe was a cygwin version of the sh shell. Anyways I have cygwin installed on my comp, which would explain why it works for me, no idea about other people. I'll make a note in my next tut.
 
Back
Top