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.
Open Source Games?
Started by
PlopperZ
, Jul 14 2008 03:09 PM
7 replies to this topic
#1
Posted 14 July 2008 - 03:09 PM
#2
Posted 14 July 2008 - 10:18 PM
Here is a list of Fenix games at Boolean Soup that come with a source file:
http://www.booleanso...&...;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.
http://www.booleanso...&...;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.
#3
Posted 14 July 2008 - 10:25 PM
Here is a list of Fenix games at Boolean Soup that come with a source file:
http://www.booleanso...&...;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.
#4
Posted 20 July 2008 - 11:41 AM
Here is a list of Fenix games at Boolean Soup that come with a source file:
http://www.booleanso...&...;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-bu...paceRocks2X.prg
#5
Posted 20 July 2008 - 11:59 AM
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-bu...paceRocks2X.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?
#6
Posted 24 July 2008 - 06:37 AM
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
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.
Edited by Redshift, 24 July 2008 - 06:37 AM.
#7
Posted 24 July 2008 - 11:16 AM
Thanks, that's all I needed
#8
Posted 24 July 2008 - 12:49 PM
No problem.












