Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
How can I slash multiple panels?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can I slash multiple panels? (Read 1909 times)
zuhane1
Member
Associate
Posts: 210
Male, Tall, 16, UK, Brown hair, Tom.
How can I slash multiple panels?
«
on:
September 10, 2007, 02:46:39 PM »
Sorry, I posted this on the tutorials section so here it is again.
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!
EDIT: Also a second question. I've noticed some people make events with second layer chipsets. When I try, it doesn't react to anything, is there a way round that?
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.
DragonBlaze
A Wild DB Appeared!
Royal
Posts: 3,329
(No subject)
«
Reply #1 on:
September 12, 2007, 03:44:27 PM »
First you need to know how to store event possitions in variables. So what you would need to do is set the location of the hero and the enemy in two variables (x and y possition for each). Once you know how to do that, set it up so that when you press the space bar you attack, when you attack, check to see how close the enemy is from the hero. For example, if the x and y possition of the hero is 160 and 120, then the x and y possition of the enemy is 160 and 104, then the enemy is one tile away from the hero. So basically when you attack, test to see if the enemy is withing the attacking range (withing 16 or 32) and if the enemy is, give it damage.
Learn how to store the locations of the enemy and hero in varaibles (We have a tutorial hanging around here somewhere for that), and once you do, if you need more help, I'll do what I can
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN
zuhane1
Member
Associate
Posts: 210
Male, Tall, 16, UK, Brown hair, Tom.
(No subject)
«
Reply #2 on:
September 25, 2007, 03:12:31 PM »
I understand... a bit... I'll give it a bash, thanks!
Logged
Nether-
A game featuring more extras and minigames than anything. Endorse in hours of fun without even doing the storyline. A game with so many features it's just not right.
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
How can I slash multiple panels?