Jump to content



Photo
- - - - -

Draw speed in AFX 2.0+


  • Please log in to reply
14 replies to this topic

#1 PJay

PJay

    Casio Freak

  • Members
  • PipPipPipPip
  • 260 posts
  • Gender:Male

  • Calculators:
    Casio fx-991ES Plus

Posted 11 September 2003 - 03:33 AM

I drew a picture of a car by using "PlotOn" function in AFX 2.0+ ( in Basic Programming Mode ) . But the draw speed of it was very slow ! :(
Can I solve this problem ? :huh:
Thanks :)

#2 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 11 September 2003 - 03:41 AM

No not at all. All basic functions are VERY slow in basic. Suggestion: Try programming asm/c this is the only
way to fix it :)

#3 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 11 September 2003 - 05:00 AM

Before the Asm was possible on AFX I made some games in Basic (hadn't link cable then, so they're gone) and one of the game called "Trabant rally" :D used a box (4points coinnected by 4lines, isn't it familiar to something? :rolleyes: ) to represent a car, I used 2D rotation math to niecely rotate this car and tested its "bumpers" before drawing it to test collision, it worked quite fast and quite realistic. Someone could make such a game.
Anyway plotting bigger sprites (more than 5x5) in Basic is pointless.
Roeoender.

#4 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 11 September 2003 - 11:14 AM

hmm, that sounds exactly like your race game...

#5 PJay

PJay

    Casio Freak

  • Members
  • PipPipPipPip
  • 260 posts
  • Gender:Male

  • Calculators:
    Casio fx-991ES Plus

Posted 11 September 2003 - 01:52 PM

one of the game called "Trabant rally"  :D used a box (4points coinnected by 4lines, isn't it familiar to something? :rolleyes:  ) to represent a car

:P Box and Car :P NO ! :( I don't want it ! :(
I think that I must use asm/c programming ! Yes ? :huh:

#6 Guest_Bytefish Productions_*

Guest_Bytefish Productions_*
  • Guests

Posted 11 September 2003 - 01:57 PM

As you see above, that's the only way to make fast grafical Games.
So you better learn ASM/C. :hammer: :P

and please dont post "what do you mean?" now....

#7 PJay

PJay

    Casio Freak

  • Members
  • PipPipPipPip
  • 260 posts
  • Gender:Male

  • Calculators:
    Casio fx-991ES Plus

Posted 11 September 2003 - 02:03 PM

As you see above, that's the only way to make fast grafical Games.
So you better learn ASM/C.  :hammer: :P

How I learn ASM/C ? :huh:

#8 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 11 September 2003 - 07:42 PM

The only way to learn a programmation language is practicing it on your PC. Try first to learn C (not for the calculator), there are a lot of tutorials on the web. When you dominate it try to learn C for the AFX.

#9 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 & Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool & Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 12 September 2003 - 07:36 AM

is knowing C++ okay for this? as we learn C++ at college

#10 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 12 September 2003 - 11:58 AM

I'm not sure but as far as know you should better only use c since c++ might use some 386+ instructions.
To prevent this you can also select the compiler to compile 80186 Code (or 80286). Don not use progs like
MS Visual C++ since they only compile windows code.

#11 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 12 September 2003 - 12:00 PM

learned that the hard way...
C and C++ are nearly identical, I've been in my advanced C class 3 weeks and I still haven't learned anything new.

#12 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 12 September 2003 - 06:56 PM

C is a subset of C++ (I don't know why they didn't told you this :D ).
First C++ implemetations (called CFront) were just a shell scripts that translated C++ code to normal C code and then compiled it with normal c compiler.
You surely don't have to worry that C++ will put some 386 instroctions, C++ is as suitable as C for the calc programming because it tends to generate larger and slower progams (unless you try hard). Moreover making a C++ program needs more planning (deciding classes and it's tasks) which is not necessary for small programs like those that are made for the calcs (BTW <{GNULINUX}> kernel was written in C not C++).
Roeoender.

#13 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 13 September 2003 - 05:57 PM

nice replys, just not quite what i meant. what i mean is that altough i learn C++ at college, (i prefer VB tho) i will program the AFX with C, i was just wondering if the languages were roughly the same, or different (like Java and Javascript, not being very simaler at all)

#14 PJay

PJay

    Casio Freak

  • Members
  • PipPipPipPip
  • 260 posts
  • Gender:Male

  • Calculators:
    Casio fx-991ES Plus

Posted 16 September 2003 - 07:23 AM

If I draw it in CP 300 in Basic mode, then do my problem solve or no ? :hammer:

#15 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 16 September 2003 - 01:10 PM

a little, with the classpad it is much easyer to send variables with your program, so if you what you can draw a picture by hand and package it with your program.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users