ScratchData LogoScratchData
Back to thebookgeek's profile

RPG Fight System (for @lilbonker)

THthebookgeek•Created October 19, 2022
RPG Fight System (for @lilbonker)
3
2
21 views
View on Scratch

Instructions

Made as a request Playing instructions: -Use ASWD to move -Click the Fight button to fight the nearest enemy (when you are close enough it will appear) -Hover over the attack and item menus to open them and click an ability to use it -Press space to attack (doesn't do anything currently)

Description

*** IMPORTANT *** Instructions for @lilbonker : I tried to add notes to everything so you should go through and try and understand how it works at least partially. Imma be honest I don't even know how some of it works but here are the main points: 1. To make a new enemy you basically just duplicate an existing enemy, rename it and add new art, and then change some values such as health, attack strength, etc. You also have to make a few new variables such as health and if it's dead or not and then replace where they are. *There is one spot where you have to add a variable when making a new enemy that is not in the enemy sprite. You will see it when you look around inside.* Also keep in mind that in a few spots you just have to type the new name instead of replacing a variable (when in doubt, if "blue slime" is typed out there, you should change it to the new name) 2. To make an enemy appear in a certain level just write their name in the backdrop name you want them to appear in and then add a new if/then loop that tells the enemy where to go (this will make more sense when you look at the code) 3. The main thing you need to add is the actual fight values. I gave you a starting point in the blue slime enemy sprite, so it should be pretty easy to finish from that. So yeah. Basically you just gotta change some stuff in the enemy sprites to make stuff work. If you have any questions just ask in a comment and I'll try my best to explain. If you find any major bugs I can also fix them.

Project Details

Project ID747880440
CreatedOctober 19, 2022
Last ModifiedAugust 22, 2023
SharedOctober 31, 2022
Visibilityvisible
CommentsAllowed