Okay, so I know I'm new, and my post probably won't hold much weight here. (at least not yet) My brother and I have been working on a RPG, named, you guessed it, Legend of the Crystal Sword. We both know that it'll take time (and lots of it) but I'm still determined. So far we have a text-based battle demo, in two languages in fact. But that's not the point. I'd like to start getting advice and suggestions on actually making this game possible. Here's the current battle demo:
randomize timer()
vhp = int(rnd(5)+30)
ahp = 16
pressed = 0
Print "A varg attacks!"
do
Print "Aurora has ", ahp, " left."
if ahp > 0
if vhp > 0
gosub aurora_attack
if vhp > 0
gosub varg_attack
endif
else
Print "Aurora has defeated the varg!"
wait 5000
end
endif
else
print "Aurora was killed..."
wait 5000
end
endif
loop
aurora_attack:
Print "What will Aurora do?"
do
if Button(0, 50, "Attack")= 2
cls
aad = int(rnd(5)+1)
vhp = vhp - aad
ink rgb(255,255,255),0
Print "Aurora did ", aad, " points of damage."
wait 2000
exit
endif
if Button(0, 90, "Special Attack") = 2
cls
ink rgb(255,255,255),0
Print "What kind?"
do
if Button(0,50,"Focus Shot") = 2
cls
ink rgb(255,255,255),0
Print "Aurora took aim..."
aad = int(rnd(9)+1)
vhp = vhp - aad
Print "Aurora did ", aad, " points of damage!"
wait 2000
exit
endif
if Button(0,90,"Rapid Shot") = 2
cls
ink rgb(255,255,255),0
Print "Aurora fires rapidly..."
aad = (int(rnd(3)+2)) * (int(rnd(4)+1))
vhp = vhp - aad
Print "Aurora did ", aad, " points of damage!"
wait 2000
exit
endif
loop
exit
endif
Button(0, 130, "Magic")
if Button(0,170, "Run")= 2 then cls : Print "Aurora fled!" : wait 2000: end
loop
cls
return
varg_attack:
Print "The varg attacks!"
vad = int(rnd(9)+1)
ahp = ahp - vad
Print "Varg did ", vad, " damage!"
wait 2000
cls
return
Function Button(x1,y1,Words$)
x2 = Text Width(Words$)
y2 = Text Height(Words$)
if mousex()>x1 and mousex()< x1+x2
if mousey() > y1 and mousey()< y1+y2
pressed = 1
endif
endif
if pressed = 1 then ink rgb(255,0,0),0 else ink rgb (255,255,0),0
if pressed = 1
pressed = mouseclick()
else
pressed = 0
endif
text x1,y1,Words$
endfunction pressed
Unfortunately, there seem to be a few too many bugs in the program, like the special attack automatically going to the rapid shot button. Does anyone know why? (it's probably something simple that I just missed...)
In the stuff we've already done, yes we've done some of our homework, is:
Base storyline
Items
Basic look worked out with rpg maker
Advice anyone?
F: Style or not, he's as treacherous as a snake. Me:I wish I had something to crush him with. F: He'll give you plenty to crush him with. A: By the time he does, he'll probably be invinceable.