There are a few ways to write a game for the CFX (in BASIC of course), some good and some not-so-good.
Heres an overview (not confirmed to be complete):
Drawing:
1' /> Text Screen
These games have commands like Locate, "Text". They are generally quite fast.
2' /> Graph Screen
These games use graphic commands such as Plot, F-Line, DrawStat, etc. They are generally better looking.
Highscores/Maps/Worlds/Levels:
1' /> Lists
Lists are somewhat limited (Rows x 1 column), though you can use them for stat graphs (in fact, you have to use them). Though im quite sure there are many games where lists are just fine.
2' /> Matrices
Matrices are user defined (usually at runtime) and can have as many Columns x Rows that you want, so they are useful for reading level data, etc.
So we need a balance! A game that looks nice, but isn't too slow. A game that doesnt take half your calc's memory up for its matrix data. What do we have? Unfortunately, a few 'graph screen' games just dont cut it with regards to speed. Well, i have been considering the opportunities, and am developing a sidescroller game for the CFX (though its not quite finished) + level editor (already done). It is looking real nice at this stage, though it does need more features. It employs known techniques that are not commonly used (dont know why).
Updates soon.
Updates:
-(1) You can walk around, but i need to fix the code so you can walk to the end of the level. (You can get within a few steps of it, but if you try to get close you start floating)
Overview Of Cfx Game Programming Techniques
Started by
alias4399
, May 25 2006 10:00 AM
4 replies to this topic
#1
Posted 25 May 2006 - 10:00 AM
#2
Posted 25 May 2006 - 11:00 AM
cool!
look foward to seeing it
look foward to seeing it
#3
Posted 26 May 2006 - 06:08 AM
I'm pretty sure Crimson's Lydonia was intended to be a sidescroller when he was developing it on the CFX. But that was a long long time ago
#4
Posted 26 May 2006 - 09:25 AM
Cool really ? Though isnt it an AFX project?
Im sure my game would run very fast on a 9860, but im trying to get it as smooth as possible for the CFX models.
On a side note, casiokingdom: Sorry about slow opt, my calc's batteries are dead >.<
Im sure my game would run very fast on a 9860, but im trying to get it as smooth as possible for the CFX models.
On a side note, casiokingdom: Sorry about slow opt, my calc's batteries are dead >.<
#5
Posted 26 May 2006 - 02:27 PM
It's actually a Classpad project nowCool really ? Though isnt it an AFX project?
Regarding the optimising of my games, there's no need to rush. You are volunteering, remember?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users