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
send me all three parts of the code please
700claw 3 days ago
send me the code
700claw 3 days ago
send me the code
v3g3ta65 1 week ago
PLASE PUT A DOWNLOAD LINK TO THE CODE OR DEND ME IT
Jp3game 1 month ago
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
ultraB9x 2 months ago
And could you email the code for me as well?
ArswawWorldofWarcraf 4 months ago
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
glardian966 4 months ago
Can you inbox me the whole code please
Aoirc 5 months ago
OMG THANK YOU! Finally, 3 parts too! Nice one! XDXD
PeonHero 11 months ago