Designing a TI-83 (84) RPG Part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,026
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 17, 2011

I plan on adding subtitles eventually.

This program shows the design of a basic RPG style game. Part 2 and part 3 will finish the design of this style battle game, and videos after that will show the design of my specific style of RPG games on the calculator. I might also make a video explaining basic programming commands and ideas.

Part 1 shows the full design of the simple battle program inside just one program.

If you have any questions or comments, feel free to post them.

Here's the information for the final RPG program shown at the end of part 3. This is what I used here, but it doesn't have to be exactly like this, and I'm not saying this is the guaranteed best way to do it.

Basic structure:
4 programs - main, battle, enemy attacks, your attacks

Main pseudocode:
Set any initial character values (not used in this program)
Display story segment 1
Set battle stats (life, enemy stats, battle number)
Call battle program
If lose, display losing message and quit (or put in a continue feature or continue anyway because it is not a battle you have to win etc)
Next story segment
Set data for battle 2
Call battle program
Test win/lose
repeat...

Battle pseudocode:
Set any starting values
Display an initial message
Loop A
Switch turn
Make sure life is not negative
Display life data
If game over, go to End
If your turn
{
Call your attack program
Display damage
subtract from enemy life
}
If enemy turn
{
Call enemy attack program
Display damage
Subtract from your life
}
Goto loop A
End
Display battle over message

Your attack/Enemy attack:
Choose attacks based on battle number (menu with attacks for your program, perhaps random attack choice or choice influenced by battle conditions for enemy program)
Attack 1
Store a random number
Set damage and special stats based on the random number
Display result message (hit/miss, etc)
return
Repeat for multiple attacks

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • send me all three parts of the code please

  • send me the code

    

  • send me the code

  • PLASE PUT A DOWNLOAD LINK TO THE CODE OR DEND ME IT

  • and then i add some other program that was like a moving object game and they have these little star block thingies i call the goblins, and then i spent the rest of the weeek doing that

  • And could you email the code for me as well?

  • Really hard to see. I suggest mounting the camera, either with equipment or something homemade, speaking cleary, and if you can dimming the lights so the glare isn't as strong

  • Can you inbox me the whole code please

  • OMG THANK YOU! Finally, 3 parts too! Nice one! XDXD

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more