• 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!

change

  1. W

    GML Change sprite in movement situations

    Good night, i have a problem with a platform game, i can't find the solution. My player have different side, left and right, then the image_xcale don't work to me. How i change the sprite to stand to left, stand to right, run to left, run to right, jump to left and jump to right? the initial...
  2. S

    GameMaker object_set_sprite problem

    Hello everyone! I'm trying to achieve something very simple: changing the sprite of a created object. So I have my object obj_face for which I would like to change the sprite (originally, this object has NO sprite). I have a Parent object with the following code to create the object...
  3. Posho

    Legacy GM Toggling Multiple Included Files' Properties At Once [GM:S 1.4]

    Hey there, I have a project that has a folder in the Inclided Files that contains about 800 images. I want them to not be exported for the HTML5 version of the game, though I need them for the Windows version. I noticed you can right-click and change the properties of each file individually but...
  4. G

    Legacy GM [SOLVED] Help with Change Instance

    I need some help with my project. I have a sun and a moon. They will remain in the same place, and I want them to change every 30 seconds. But I do not know how to do that. Each of them has a sequence of 5 sprites. I am new to the programming codes, I tried to do it with DnD but I could not...
  5. S

    GameMaker changing room does not happen until after event?

    does anybody know how to get around my object being deleted after I change rooms? //Goto Room room = rm_menu; //Toolbar tools_menu = new_item(0, 2, 0, Item_Toolbar_Menu, new_exit(6,6,5,1)); //Menus menu_tiles = new_item(0, 16, 6, Item_Option_Tileset, new_exit(0,0,6,6)); /// @description...
  6. H

    I could use a hand changing my sprite

    I'm creating a top down dungeon crawler game. I have 4 way directional movement, with up, down, left, and right. Each direction has it's own animation for walking. In this game you shoot enemies. I am trying to set up a shoot animation so that if the sprite is the left sprite and space is...
  7. W

    Question - IDE [SOLVED] If I buy GMS2, will I still be able to use GMS1?

    Reason is cause I'm currently making a game in 1.4
  8. R

    GameMaker Changes to gp_face variables!

    gp_face1 used to be 'A' (Cross on DS4). Now it is 'X' (Square on DS4). Since the gp_face values are assigned counter-clockwise all of them are different. I tested this in a new project with a DS4 controller and have not tested it with the Xbox One controller. I did not use DS4Windows or any...
  9. P

    Sprite changing when movement problem

    Hi, I have a little problem with changing the sprite when the object moves and changes direction. the sprite changes to the walk sprite when moving and back to the static sprite when standing and also changes to the sprite for the right direction. But it sometimes slides a bit or switches to...
  10. M

    Setting a string into a hexidecimal value

    I am trying to change a number value into its corresponding character hexidecimal value for use as my own custom file encryption. I am trying to figure out if there is a possibility to assign a string to a hexidecimal like so: "00F8" into $00F8 These are NOT colours by the way. They are...
  11. S

    GameMaker how do I swap tilemap's tilesets?

    how do I swap tilemap's tilesets? when I say this I mean how do I change a tilemap so that it uses a different tileset during runtime?
  12. A

    GameMaker How to set tile depth and alpha in GMS2...?

    So I'm hoping to be able to set tile alpha dynamically in game. However in GMS2, functions like tile_set_alpha and tile_set_depth have been removed/changed, and I can't seem to find any info on how to do it now in the documentation. Anyone know? Either way, thanks for reading. P.S. My end goal...
  13. A

    GameMaker [SOLVED] Equivalent of view_xview in Studio 2?...

    I've been hoping to make it so that at the beginning of a room, my view location is rounded to the nearest multiple of 16, so that it aligns with the tiles. However, in GMS2, a lot of the view stuff has changed, and I was wondering if anyone knew how to do the above.
  14. J

    Score

    Ok so.. I made score and I put it to Persistent but its not the same when I change the room. So.. what to do?
  15. G

    Changing Font mid-string

    Greetings. First of all, I am fairly new at Gamemaker and I am not quite accustomed to it yet. I have looked over google, many websites, this forum and tutorials and I can't seem to find an answer to what I wish to accomplish with Gamemaker. First of all: My game will be text heavy, but it is...
  16. M

    How do I change animated player sprite for few seconds?

    Hello fellow programers. I'm a newbie, so this hopefully won't be a difficult one. Ok, so I'm going through Shawn Spaldings tutorial about ''powerups''. He uses a simple block which changes color and jumps higher for 5secs with this code in obj_powerup colision with the player event: jumpspeed...
  17. R

    Room switches?

    Hello i cant seem to find a code such as if player touches invisible obj/collisionbox then next room ect? or is there an easier way to change room or create certain events. links are appreciated :) beep-boop
  18. K

    Legacy GM [SOLVED] Changing Room's Tileset

    Is there a method that can be used to change the room's current tileset? I wish for when the player changes their element (from Grass to Fire for example) that the room changes from a grass theme to a fire theme via tileset and code. I wish not to create objects with a bunch of code in them...
  19. R

    Legacy GM [SOLVED] About Game Menu

    Hi all! So, I watched the tutorial of Shaun Spalding on how to make basic menus ( Here's his tutorial I watched ) for of course, make a start game menu for my game. (yes, I'm still a beginner) Let's first say, in my game, for now I have 2 rooms: The first room, which is the menu, let's call...
  20. A

    Any way to rewrite only changed files?

    So recently I've started saving my projects to Google Drive to keep them a bit safer and so I can access them on my laptop. However, I've noticed that Studio re-saves every single file in the project every time I save. For the sake of time and bandwidth, Is there any way to make it so that only...
Top