Pages: 1
Topic closed
Im trying to make a game where a chainguns TIP has to point at the mouse but instead of coming from the tip it the line that shows the front tip of is coming out of the handle and pointing in the wrong direction. I know my coding is fine [blocks] <when green flag clicked><point in direction (mouse)( <forever> [blocks]. If you still don't get what I'm trying to say then i'll give you an example: my gun is a somewhere around x: 175 y:0, If I put my mouse at x:0 y:0 instead of the tip of the barrel of the gun pointing at x:0 y:0, it points upwards. Can anyone tell me how I can change which was the guns supposed to be faced? Any help would be appreciated. Thank You.
Offline
Are you sure the sprite's facing the right way (i.e. is the sprite pointing to the right when the direction is 90 degrees)? If not, you can use the rotation tools in the paint editor to make it face the right way.
If that's not it, I really don't know why that wouldn't work. Can you be more descriptive, or maybe upload the glitched gun sprite in a project? It would be a lot easier to help.
Offline
Thank you so much I went to the paint editor and flipped it around a little bit and now its pointing in the right direction
Offline
Topic closed
Pages: 1