S
sheixi
Guest
Hello!
I've been trying to get into gamemaker studio by making a simple character that will point towards my mouse and hit on click.
everything worked out fine except that i seem to have chosen an inefficient way of doing that:
i created 2 objects:
1. char
2. hit
i programmed it so that when i click, my character would spawn the object hit on his position which then would follow my char and turn in an arch around him (was supposed to be a sword).
so my problem is, while moving the sword would slightly lagg behind, which led me to believe that this is not the way to do it.
so my question is:
how would this "usually" be done? do i just add frames with the sword to my char and use them when i hit or do i replace the sprite and if so, is there a way to differenciate between collision in different areas of the collision box
I hope this post is in the right forum. this is my first post.
thank you in advace
I've been trying to get into gamemaker studio by making a simple character that will point towards my mouse and hit on click.
everything worked out fine except that i seem to have chosen an inefficient way of doing that:
i created 2 objects:
1. char
2. hit
i programmed it so that when i click, my character would spawn the object hit on his position which then would follow my char and turn in an arch around him (was supposed to be a sword).
so my problem is, while moving the sword would slightly lagg behind, which led me to believe that this is not the way to do it.
so my question is:
how would this "usually" be done? do i just add frames with the sword to my char and use them when i hit or do i replace the sprite and if so, is there a way to differenciate between collision in different areas of the collision box
I hope this post is in the right forum. this is my first post.
thank you in advace