NARCODIS'S PROFILE
Search
Filter
Darksteel Demo #1
collision events
yeah, if I remember correctly, just having an event trigger on touch will, by default, make the event face towards the hero, unless the direction is already fixed.
You could get creative. If you set the enemy's move route to something like this:
I haven't used RM2k in years, so I don't even know if there IS a 'face random direction' option, but you could program some little code around that.
Anyway, if the direction is fixed, you could THEN set up a series of forks detecting the direction of the event, and the direction of the player.
So if the player is facing the same direction of the enemy, then you would know that he is for sure behind the enemy on touch; however, if the enemy is facing the OPPOSITE direction of the player, they would be facing each other.
The only problem would be if the enemy touched the player from behind. In which case, you'd have to check the event/player's X,Y coordinates and do some coding to detect who is behind whom.
In other words, this sounds like a big hassle, but if it gives you the desired effect, then it could be worth it i suppose.
Hope this made sense and/or helped.
You could get creative. If you set the enemy's move route to something like this:
Face Random Direction
Fix Direction ON
Move forward
Move forward
Fix Direction OFF
I haven't used RM2k in years, so I don't even know if there IS a 'face random direction' option, but you could program some little code around that.
Anyway, if the direction is fixed, you could THEN set up a series of forks detecting the direction of the event, and the direction of the player.
So if the player is facing the same direction of the enemy, then you would know that he is for sure behind the enemy on touch; however, if the enemy is facing the OPPOSITE direction of the player, they would be facing each other.
The only problem would be if the enemy touched the player from behind. In which case, you'd have to check the event/player's X,Y coordinates and do some coding to detect who is behind whom.
In other words, this sounds like a big hassle, but if it gives you the desired effect, then it could be worth it i suppose.
Hope this made sense and/or helped.
Summer Screenshot Spectacular!
author=Mr.Nemo link=topic=3962.msg82226#msg82226 date=1245696566
you require more vespene gas
pylons only require minerals.
RMN005.png
battle.JPG
Give me your games
author=Holbert link=topic=4027.msg81880#msg81880 date=1245534439
We have banned several people from Utah, actually. Seems to be nothing but troublemakers from there. Let me know what IP address it was and I can look into it.
hehe, alright i'll see if i can look it up next time i'm at the 'rents.. i don't care if it stays banned though. i just thought it was pretty funny.
also, i just got my demo released, so I'll finally be able to get around to playing games. i've started Sore Losers, will write somethin up on it a bit later.
ugh..exercise...
as far as hobbies go, I love to play music. i sing and play guitar primarily, but also play keyboards and occasionally play drums. i enjoy playing live performances with my band, playing open mic nights by myself, jamming with friends, and writing my own songs.
i also enjoy hackey sack and golf. i'm not very good at either, but it keeps me active somewhat.
i also enjoy hackey sack and golf. i'm not very good at either, but it keeps me active somewhat.
Questions you always wanted to ask other members, but felt too lazy or awkward to do so.
Top 3 things in life
ugh..exercise...
No one is going to laugh at you for going to the gym, even if you get tired after 15 minutes of the treadmill. If anything, I think people would actually be supportive of your choice! We all gotta start somewhere..
In all likelihood though, everyone will probably just not care and mind their own business. There are plenty of people there just as insecure about their exercise habits, trust me.
In all likelihood though, everyone will probably just not care and mind their own business. There are plenty of people there just as insecure about their exercise habits, trust me.