gm2

  1. Carloskhard

    Discussion [Feature Request]

    I will add here the features I think GM2 needs and you can also comment and like the request you think are necessary or would be good: -When adding a description for an event delete the need of adding @description, since GM1 didn't need it and it was better. -Add tabs for step event for people...
  2. S

    HTML5 SOLVED: HTML5 room not switching?

    Hey guys, windows testing is fine with my game, room switches from game room to menu room just fine if you press esc, or click on a button. Some odd reason it doesn't allow it to switch to my menu room in HTML5... Instead of switching rooms, it just restarts that game room... I have no...
  3. JayR

    GMS 2 Porting Background Issues

    I'm trying to port an old GM1.x project over to GM2. The auto-porting works fine but a lot of compatibility scripts are being created which I have no idea how it works. So, I'm trying to manually bring it over. Which is good as I can optimise some of the old codes plus learn what new things...
  4. A

    Windows Moving to GM2

    Hi guys! I have been working on a big project I started back in the days of GM 8. With each new version of Game Maker I have put in the work to update the game and keep it current with the software, but I was hesitant to make the jump to GM 2 from GM 1.4 knowing a lot had changed, and the game...
  5. Gun_Goose

    Destroying a specific instance of a child object

    Hi, I am making a game where you move a character to avoid bullet like projectiles. I have a lot of different projectiles, so I made a parent class that all the bullet object would fall under. When the player collides with a bullet, a would like to destroy that specific instance. However, I...
  6. S

    GMS 2 Spine export, accessing scaled suffixes

    Spine 2D has the ability to export to different scales under the “output” section at the bottom left. So you can have smaller and bigger sizes for HD vs Low Res etc. you can also define a suffix under each scale to access it in your game. However I can’t figure out how to access the different...
  7. S

    Loop through object list

    Hey all, I'm trying to loop through a list of 'some' objects in the resource tree, but the Objects were not recognised. Should i be using something other than 'asset_get_index' or is this the wrong approach ? I tried using 'object_get_name'? too i think but no luck. for (j=0; j<3; j++){...
  8. Gun_Goose

    Advice about changing object's location over time

    Hello, I am making a game that involves the player being in a small town (made of a collection of rooms). Each day, the npcs are supposed to be in different places of the map, say different things and trigger various cutscene like events. I was wondering if anyone had any advice about the best...
  9. E

    GML OK guys i'm new and i'm having issues this might be simple

    I'm playing around trying to learn I've searched and read around, but i'm not saying i didn't miss something super simple that would fix this so first things first thank you for your time!! So i have a player object and 2 enemy objects(same object just drug into room twice). What i want to...
  10. R

    When something works and you don't know why GM2

    Hi team, well I have this object that is a enemy, for now I just want it to move left and right , each time its one pixel away from a wall it will invert it's velocity to have a negative value and viceversa On the Create event I have: objXVelocity = 5; On the Step event I have : /*When...
  11. Gun_Goose

    GMS 2 Question about changing tiles overtime

    Hello, I am working on an RPG and I am using a tile system from collisions. I was planning on placing my collision tiles under the NPCs, so that I would not be able to walk through them. The problem is that I have several NPCs change location through the course of the game. Once my NPCs...
  12. ChrisD

    Windows Space Drop

    Hi all, made with GM2 ; one of my first - onwards and upwards ;) This is a casual, fast thinking game where Planets and Objects fall from space (with a preview of what's coming next) and require matching in 3, 4 or 5's. Game is controlled by Keyboard Left, Right, Up (Rotate) and Down (Drop)...
  13. MarceloP

     Set object's draw order on "instance_create_layer"

    Hello guys! I'm working on a prototype and I've reached a moment where I'd like to create some objects on a Instance Layer. I called "instance_create_layer" and got what I wanted. But since I have more than one thing that will be "dynamically instantiated" I ran into a problem. When calling...
  14. M

    Shaders Shader programming: Gamemaker and Unity

    Hi! I was just wondering how indepth the shading programming in Gamemaker is compared to Unity's. I am fairly certain that they both use the GLSL ES language but I wanted to see if anyone had experience before I dive in! This is of course guided towards the 2D aspects since Unity has more...
  15. T

    GML How To Make Camera Not Reset It Position Upon Entering Another Room

    Hi there. So, i have problem with my camera movement. I want my camera to not reset it position when i re-entering a room. As you can see it below When i enter the second room and go back to the first room, you can see that my camera reset it position for a second. I want my camera to stay in...
  16. S

    Issues with GM2 D & D Tutorial chapter 5 (Score)

    Hi, I'm fairly new to this program and using the built in tutorials to learn the software, I'm currently at chapter 5 (applying a score to the game) and I'm following the tutorial exactly as shown but the score doesn't increase when an enemy is killed, also the enemies seems to die instantly...
  17. Tadas

    GMS 2 [SOLVED] Can't pick a font

    So I get this error that basically means I cannot finish a project. I try to pick a font for text with draw_set_font() function, I type in font name and the variable turns red indicating GM found this font. But when I try to run the game I get the good ol' FATAL ERROR that states: "Variable...
  18. M

    Question - IDE Advice Needed - License Type?

    Hi all, Advice needed. I recently started building games with GM2 using the trial version. I am now ready to make the purchase. In a perfect world, I would love to be able to export to any platform, however this is obviously cost prohibitive. As a result, I need some guidance on the "right"...
  19. Remix The Idiot

    Shaders other magnify shader?

    I am currently using the magnify shader from this pack: https://marketplace.yoyogames.com/assets/261/free-shaders I have looked everywhere and this seems to be the only magnify shader out there, but this magnify shader doesn't seem to like being in anything other than a Draw GUI event. You see...
  20. J

    Question - IDE Creating APK

    Hi, I have created a game and I am trying to create an APK to play it on android. How do I do this. I have configured SDK , NSK , JDK files all that has been found and done correctly. However when I go to create APK via Build > Create executable. But I keep getting this error. Any idea? UILD...
Top