(v0.4) Battle Pets!
tl;dr: My first Repl project is a text-base simple RPG game. More will be added later so comeback every now and then :)
Battle Pets is a text-based classical RPG styled fighting game. Create a pet, battle weird enemies from different towns, level up and learn new skills. There's plentiful I've worked on it, and I've enjoyed much of the way!
I'm ALL OPEN to any suggestions, criticism, ideas, improvements, or offered help. I'm new and wish for any community involvement I can get.
- ARMOR! Equipable items that boost stats or give elemental resistances!
- AGILITY! New stat to determine the chance to go first.
- New pet types as a result.
- You no longer automatically go first.
- Newer Items
- New moves, enemies
- Areas now have splash text! It's a little limited as of right now...
- Oh, yeah. Heads up. Saves are databased now, so you just have to make up a secret save ID to use. Yeah no more old cheaty saves, sorry peeps ;(
Great game. Would love to see if it could be autosaved and you wouldn't have to copy everything. Also, you can make moves before the turn happens. for example, my snare and flame combo does over 25 so I just press 2 and type pass then press 3 then I can just sit back, relax, and watch... Great mechanic so I can save a lot of time
Yeah getting an autosave would really help. I have to look up stuff on how to do saves online (new to repl.it). As for making move "shortcuts" as you described, that is a pretty cool idea and I'll take it into consideration. There's still a bit I want to add to the game (party mechanics, story, progression, and balancing whatever i can lol). @Gameknight2169
Hey for world 6, you could add fairy king and queen. Also a new attack type and attack: attack type is psychic, from pokemon, and the attack is spoon throw. Spoon throw(15 MP): deals medium damage. also gives you focus and raises atk and def. low chance to stun and medium chance to lower def for other team. Thank you!
hey, if I switch pets during bossfight, It crashes. Here's the error:
Traceback (most recent call last):
File "main.py", line 2013, in
File "main.py", line 1689, in main
enemy.hp -= (grabAtk(plyPet.sp4, plyPet.name,
File "/home/runner/ffEmKvNOHF4/ATK_use.py", line 507, in grabAtk
return grabMove[id](id, name, atk, mag, mp, oppo_def, plyArm1, plyArm2, enyArm1, enyArm2)
To make autosaves better (Your way is still a good way to do it tho), I suggest you learn to use jsonstoreclient. It is very well known and very useful. However, it does allow people to change autosaves themselves. All they need is the key and people can delete everything if they want. To do make private variables, like the key variable. To do this, make a file named '.env', Thats it. Then, make a variable in there like you would do in regular python. To get that variable, use os.getenv('VARIABLE_NAME_HERE'). Hope this helps!
You can try to have a slow type instead of time.sleep in the tutorial
You might try considering stopping this thing
This code works lol
The 1 has to be first
The 'Pet's can be anything they're just names
The first 2 numbers are level and xp
The 5 numbers after are the stats
The last 3 numbers are the moves the pet knows (0-29)
Yeah its relatively simple to hack for now. Maybe Ill make it harder in the future but at that point it would have to be when I'm ready to clean wipe since its kind of just a sandbox atm
Also, the 3rd line is actually your Pet type, so if its not one of the ones in the game youll literally get no stat boosts from leveling up lol. @16hedgar