Open Source Games?

plopperz

Huh?
Joined
Mar 27, 2008
Messages
1,050
Website
Visit site
Hi- me again.

I'm mildly interested in trying to learn Fenix again.
Tutorials don't help me. I think the only thing left for me is to look at the source of a completed Fenix game for the GP2X and see if I can understand how it works.
The problem is, I can't seem to find any open-source GP2X fenix games. I've searched around here and the archive, but I appear to be missing it. I'm sure it's out there.
So if you could point me in the right direction, I'd really appreciate it.
 

plopperz

Huh?
Joined
Mar 27, 2008
Messages
1,050
Website
Visit site
Rincewind said:
Here is a list of Fenix games at Boolean Soup that come with a source file:

http://www.booleansoup.com/index.php?p=40&...;di=d&ip=10

These games are not for the GP2X, but that shouldn't matter much if your purpose is to learn from their source files.


I'll take a look.
One of the main reasons I want the code is to see how it deals with button input and the resolution. But this will still be helpful.
Thanks. :)
 
Last edited by a moderator:

Mookmac

Still Fresh
Joined
Jun 12, 2007
Messages
43
Age
30
Location
England
Website
www.mookie.the-buccaneer.co.uk
PlopperZ said:
Rincewind said:
Here is a list of Fenix games at Boolean Soup that come with a source file:

http://www.booleansoup.com/index.php?p=40&...;di=d&ip=10

These games are not for the GP2X, but that shouldn't matter much if your purpose is to learn from their source files.


I'll take a look.
One of the main reasons I want the code is to see how it deals with button input and the resolution. But this will still be helpful.
Thanks. :)


I'd suggest looking at some of the sources on fenixonfire. I've started teaching myself fenix in the last few weeks and have found them very useful. Also here is a quick game i put together yesterday - apologies in advance for lack of commenting and indentation. http://mookie.the-buccaneer.co.uk/GP2X/SpaceRocks2X.prg
 
Last edited by a moderator:

plopperz

Huh?
Joined
Mar 27, 2008
Messages
1,050
Website
Visit site
Mookmac said:
I'd suggest looking at some of the sources on fenixonfire. I've started teaching myself fenix in the last few weeks and have found them very useful. Also here is a quick game i put together yesterday - apologies in advance for lack of commenting and indentation. http://mookie.the-buccaneer.co.uk/GP2X/SpaceRocks2X.prg


I've looked at fenixonfire. I did help me learn how the language works, but it didn't help me learn how to make games specifically for the GP2X.
I think the only way I can learn this language is with trial and error, starting out with somebody else's code (with their permission, of course) , and modifying it until I can underst and what I did right and wrong. It's probably not the best way to go about learning a language.
Does your game run on the 2X?
 
Last edited by a moderator:

Red Shift

Still Fresh
Joined
Jul 21, 2008
Messages
13
PlopperZ said:
One of the main reasons I want the code is to see how it deals with button input and the resolution.
CODE
set_mode(320,240,16);

This sets the screen surface to be 320*240 and 16bpp

CODE
if(key(_alt))
Do Some Stuff
End

_alt is the B button on the GP2x. There is a full list of the buttons and their symbolic constants in the Readme files supplied with the GP2x fenix runtimes.
 
Last edited by a moderator:
Top