TGC Codebase Backup



SIMPLE Rpg maker by Jedi Lord

8th Jan 2005 6:37
Summary

the very basic how to make rpg game



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    ` -----------------------------------------------
`   Simple Way to make RPG (VERY BASIC OF MOST)
` -----------------------------------------------

SYNC ON
SYNC RATE 154.3
HP#=100
EHP#=100

DO
PRINT "ENEMY HP ",EHP#
SET CURSOR 400,0
PRINT "YOUR HP ",HP#

INPUT "A TO ATTACK OR H TO HEAL ", MOVE$

IF MOVE$="A"
EHP#=EHP#-50
ENDIF

IF MOVE$="H"
HP#=HP#+1000
ENDIF

IF EHP#<1
GOTO WIN
ENDIF

SYNC
LOOP

WIN:
CLS
PRINT "YOU WIN"
WAIT KEY
END