optimize rpg to make it faster
#1
Posted 29 March 2003 - 11:34 AM
I'm doing an rpg in text mode, but after i made the background and some interaction the movement became a lot slower.
anyone help?
#2
Posted 29 March 2003 - 03:04 PM
Basic or C/ASM ???
i made the background and some interaction the movement became a lot slower.
Redraw the background and perso 1 time per 2, for sample !
#3
Posted 29 March 2003 - 04:41 PM
the biggest thing you can do to increase speed is put everything you use in more than one place into a seperate program, anything such as drawing objects to the screen to creating the entire background should be in a seperate program.
I would advise putting the code that moves your character in a diffrent program (if it is more than a few lines).
example:
Getkey -> G
if G=27
then Prog "LEFT"
EndIf
if G=28
then Prog "UP"
EndIf
....
that way if you have complex movement code you can keep it from bogging up your program and you can also use the direction programs to make cinematic sceans.
always rember that the bigger the program the slower it will run.
hope that helps
#4
Posted 04 April 2003 - 11:51 PM
that helps a lot!
#5
Posted 10 April 2003 - 11:18 AM
Principally if you use elaborated graphics?.
#6
Posted 10 April 2003 - 11:46 AM
tis possible if you try REALLY HARD.In Basic its not easy to made a fast game....
Principally if you use elaborated graphics?.
especially considering the 38 program limit
#7
Posted 10 April 2003 - 11:49 AM
It is impossible, no matter how hard you try, to make fast graphics/games in casio basictis possible if you try REALLY HARD.In Basic its not easy to made a fast game....
Principally if you use elaborated graphics?.
#8
Posted 10 April 2003 - 11:54 AM
have you seen aracer 2 and 3?
OK i admit they are all text based.
my rpg is 21 seconds to run accross screen(graphics mode). that's reasonably fast. (it uses all 38 programs, though)
#9
Posted 10 April 2003 - 12:22 PM
still quite long..
and, it's not like you can have many objects, interacions, decent AI, or game logic..
face it, it's too slow to make a good graphical game
for me at least, I just find that it's too slow to be any fun
buy an afx/fx1, and go ASM!
#10
Posted 10 April 2003 - 12:50 PM
I've a cfx 9850GB+ and even had more than 40 programs on my calc
#11
Posted 10 April 2003 - 02:46 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users