The RPG Maker Resource Kit
Other Game Creation => Other Game Making Programs => Topic started by: Snailer on September 08, 2008, 02:37:43 PM
-
this forum is so dead...
( atleast this section is.)
But I need help!
When I have my character press A to go ZWASHAM SLASSH!!!
How do I make sure it acctually hits the target?
Can anyone help me?
-
bump-ump!
-
create a collision inside the character sprite and on swing have a collision check to see if you hit.
-
I now created it so that when I press A my character changes into a different object which will kill the object on colliding.
It looks a bit weird but it works for now, I created a different object for left and right and its quite allot of work. I think their should be an way easier way though.
Anyways thanks, It works for now :p
-
idk if I explained it correct or not but...blah
haha, glad it's working I guess
-
Better idea: The character and the sword are separate sprites. When you swing, create an object using the sword sprite in line with the character sprite. That way, it will kill on collision with the blade, but not the character.
-
Hm, I happen to be a somewhat expirienced with GML, so I might be able to help if you have problems. Because Game Maker has a wide range of variety in the games it could make, (Heck, if I wanted to, I could make an RPG engine if I tried!) it's always a good idea to post screenshots and be really descriptive with your issue. Posting an example exe. also makes a world of good to the people helping you.
~Darkblast