How to make dvd+r compatible with player?

How to make the Game maker Player look where the mouse is facing?

  • Ok, I made a gamemaker game took me 9 days to work on 20 minutes a day and 1hour a week end, so that means I put in about 4 hours in it because i had 4 week ends in it, so forget about what I just said that has nothing to do with my question. This has something to do with my question. I want the player to look where the mouse is facing ok so this is the player http://i.imgur.com/fPlKB.gif go to that link to see it. and if my mouse if behind the player (for the first image) then how do I make the player look where the mouse in that direction, this sentence will make it easier, if the mouse if behind my player then I want it to look like this http://i.imgur.com/UDuWw.gif (go to the link to see). so how do I make it look backwards if the mouse is back? lol I repeated the sentence about 3 times, but I'm really serious, how do I do it?

  • Answer:

    You can use code to check if the mouse is behind the player. for example put this is step if mouse_x<x {sprite_index=right} if mouse_x>x {sprite_index=left} (where left and right is the name of your sprites) Also I would love an example of the game when it's done ;) If you need more game maker help feel free to contact me on skype(dragoncoke1)

Mark at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.