Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 rpg help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
sniper437




PostPosted: Thu Nov 24, 2005 5:00 pm   Post subject: rpg help

so i'm making this rpg and i've hit a couple of problems Embarassed 1. right now only battle and goblin work.
2. after the battle i want it to go back to the waiting room screen Question
3. i want to create boundries for the moving monsters in the mini-game
4. when the mp goes to zero i want it to disable the magic command..

if somone can show me how or edit the file and send it to me with the problems fixed i'd really apreciate it Very Happy



rpg1.zip
 Description:
crappyness

Download
 Filename:  rpg1.zip
 Filesize:  511.66 KB
 Downloaded:  374 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Nov 24, 2005 7:16 pm   Post subject: (No subject)

1. Keep working on it Smile
2. Use loops to control your logic flow
3. detect your collisions to create boundaries
4. A simple
code:

if flag then
  magic_command()
else
  no_magic_command()
end if
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
do_pete




PostPosted: Fri Nov 25, 2005 11:10 am   Post subject: (No subject)

In order to keep the characters and stuff on the screen you could go something like this
code:
CharacterX := min (max (CharacterX, 0), maxx - Pic.Width (CharacterPic))
CHaracterY := min (max (CharacterY, 0), maxy - Pic.Height (CharacterPic))
Albrecd




PostPosted: Fri Nov 25, 2005 1:28 pm   Post subject: (No subject)

When you use all of you mana in the fight, you can continue to do magic attacks and the mana just goes negative, also, you shouldn't require that the input be in capitals.
One more thing, get rid of the delays.
Nice start though.
do_pete




PostPosted: Fri Nov 25, 2005 1:50 pm   Post subject: (No subject)

you can use Input.KeyDown
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: