• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

object rotation

  1. Warspite2

    GML What function to have an object rotate/steer towards point?

    So i'm messing around with an RTS game concept. I order a unit to move to a location but want it to slowly rotate and steer to point in the direction of the destination it is moving to. I am fairly sure a function was added in an update to do this very thing but I just can't remember which one...
  2. E

    Objects in the draw gui layer are rotating with camera view.

    I have an object in my game room, which was created in the draw gui Layer. I also have a camera view. However, the object rotates with the camera, which to my understanding should not. I though the gui layer wasn't affected by the camera view. Text drawn on the gui layer (like my score ) does...
  3. G

    GML Rotate an Object to Value and Return to Normal Position Using Button

    Greetings everyone, So very new to GameMaker and GML, but so far I love it. Here's my question: I want to hide and unhide the main users' panel for the game I'm making by clicking a button. The button has four states (minus up and down, plus up and down -- like SimCity). When I click "minus,"...
  4. J

    Object rotation

    Hey, I have an object that is rotating to right with some speed. Now i want that object at specific time stops and start to rotating to another direction (to left). My code: if(global.score > 0) { image_angle += 1; } if(global.score > 10) { image_angle += 10; } if(global.score > 12) {...
Top