Jump to content



Photo
- - - - -

Overview Of Cfx Game Programming Techniques


  • Please log in to reply
4 replies to this topic

#1 alias4399

alias4399

    Casio Freak

  • Members
  • PipPipPipPip
  • 180 posts
  • Location:Impossible to say.. Its not like this is a constant!

  • Calculators:
    CFX 9850GB Plus
    FX 9860G

Posted 25 May 2006 - 10:00 AM

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:
<span class=1' /> Text Screen
These games have commands like Locate, "Text". They are generally quite fast.

<span class=2' /> Graph Screen
These games use graphic commands such as Plot, F-Line, DrawStat, etc. They are generally better looking.

Highscores/Maps/Worlds/Levels:
<span class=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.

<span class=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. :thumbsup:

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)

#2 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking &amp; Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool &amp; Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 25 May 2006 - 11:00 AM

cool!

look foward to seeing it :)

#3 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

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 alias4399

alias4399

    Casio Freak

  • Members
  • PipPipPipPip
  • 180 posts
  • Location:Impossible to say.. Its not like this is a constant!

  • Calculators:
    CFX 9850GB Plus
    FX 9860G

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 >.<

#5 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 26 May 2006 - 02:27 PM

Cool really ? Though isnt it an AFX project?

It's actually a Classpad project now :)

Regarding the optimising of my games, there's no need to rush. You are volunteering, remember? :lol:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users