1. 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...
  2. Shadowblitz16

    GMS 2 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...
  3. 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...
  4. Wuzzems

    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
  5. R

    GMS 2 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...
  6. 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...
  7. Misu

    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...
  8. Shadowblitz16

    GMS 2 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?
  9. Ayziak

    GMS 2 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...
  10. Ayziak

    GMS 2 [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.
  11. J


    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?
  12. 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...
  13. 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...
  14. 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
  15. 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...
  16. 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...
  17. Ayziak

    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...
  18. T

    Room size

    I need really big game space, like 100K X 100K or even better, infinite, but I can't have room that big. Anyone knows some good workaround? It's a top down space game kind of similar to asteroids.
  19. S

    Fireballs changing direction with player

    The player creates a fireball and it moves away from the player but when the player changes direction the fireball changes direction with him. How do I fix this? I am using the physics system. this is the fireball creation code if (gamepad_button_check_pressed(0, gp_face3) && attacked ==...