This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-03-19 02:27:06

DimensionOS
New Scratcher
Registered: 2012-03-12
Posts: 3

RPG Help?

I'm making a game that is like Kids Quest RPG by Big-Red-Button and Hero by FaceOS.

Anyways, I need help with several scripts.
Script One: How do you make it so that when you are a higher level (I got a varible for that), the enemy become more vunuable to your attacks?

Script 2: How do I make it so that enemys go towards the player and so that they bounce back when hit by the sword?

Offline

 

#2 2012-03-19 16:42:56

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: RPG Help?

For script one, I would change the enemy's health by damage proportional to your level.  For instance:

change [enemy_health] by ((-1) * (my_level))
For bouncing:

Forever if <touching [sword]?>
point towards [main-character]
move (-20) steps
end


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer