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
»
Shooting objects
« previous
next »
Print
Pages: [
1
]
Author
Topic: Shooting objects (Read 1949 times)
Andrew Stockton
Member
Initiate
Posts: 2
I have two eyes and a nose
Shooting objects
«
on:
June 05, 2006, 08:07:51 PM »
Ok, you know how in some RPG'S, you can get a gun or shoot energy out of your hand or something? I know how to do everything except make it actually hit something. I think it has something to do with variables and the hero's (and enemy's) x and y-coordinate. Does anyone know how to do this?
Logged
ZeroKirbyX
has died of dysentery.
Sage
Posts: 6,132
Boop a Doop a Doop
(No subject)
«
Reply #1 on:
June 05, 2006, 08:22:47 PM »
Any reson you posted a generated face?
Logged
WarxePB
Action Sue
Royal
Posts: 3,601
What killed the dinosaurs?
(No subject)
«
Reply #2 on:
June 05, 2006, 08:29:37 PM »
1. This should probably be in RM Programming.
2. If you want a signature or avatar, click the "Profile" button near the top of this page.
3. Simply put, get the X and Y coordinates of both the monster and the projectile, and use two seperate Conditinoal Branches to compare them. If Monster X and Projectile X equal each other, and Monster Y and Projectile Y equal each other, then the monster is "hit".
Logged
Blog:
The Gigaverse
Twitter:
Initial Chaos
Razor
Staff
Sage
Posts: 6,247
2 cool 4 skin
(No subject)
«
Reply #3 on:
June 05, 2006, 09:48:21 PM »
Moved!
Logged
Always right.
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Shooting objects