Charas-Project

Game Creation => Requests => Tutorials => Topic started by: zuhane1 on September 09, 2007, 02:24:11 PM

Title: How can I slash multiple panels?
Post by: zuhane1 on September 09, 2007, 02:24:11 PM
I currently have an ABS, it works brilliantly, no lag, very fluent, not glitches, but one problem. When I hit an enemy, I have to get right next to it and touch it to kill it. The problem is, my slash animation should hit enemies far away and slightly around me, like a long sword swipe. How can I make this possible? Thanks in advance!
Title:
Post by: Ben on September 09, 2007, 02:43:08 PM
what maker are you using? Ill need more infos to help. Tell us more about how your ABS works.

Im no help if its evented...but if your system is a ruby script i can help you
Title:
Post by: zuhane1 on September 09, 2007, 05:39:15 PM
Events I'm afraid :(. My computer is too slow for XP and has to use rm2k/3. If anybody wants I can send them my game up to now and you can tell me any problems with how it works.
Title:
Post by: DragonBlaze on September 10, 2007, 02:38:47 AM
Yeah you can do that, but it'll be a lot of work. First off, you have to set the location of the enemy and the hero into variables. Then when you 'attack' you check to see if the distance of the enemy is within attacking distance of the hero at the time of the attack (via the veriables) if so, the enemy will take damage. I can go into it with more detail at a later time.

Also for future referance, any topic like this that has to do with coding should go in the rm programming forum. The tutorial forum is reserved for non programming tutorials and help. :)
Title:
Post by: zuhane1 on September 10, 2007, 02:44:11 PM
Quote
Originally posted by DragonBlaze
Yeah you can do that, but it'll be a lot of work. First off, you have to set the location of the enemy and the hero into variables. Then when you 'attack' you check to see if the distance of the enemy is within attacking distance of the hero at the time of the attack (via the veriables) if so, the enemy will take damage. I can go into it with more detail at a later time.

Also for future referance, any topic like this that has to do with coding should go in the rm programming forum. The tutorial forum is reserved for non programming tutorials and help. :)


Cool, sorry, I didn't even know that existed. I'll have a look :D