gamemaker studio 2

  1. O

    Enemies are not working

    I'm watching Heartbeast's tutorial on eme,y states and I type in the code he typed, but the game keeps crashing every time I get near an enemy Code for the enemy wander state ///scr_enemy_wander_state() scr_check_for_player(); phy_position_x += sign(targetx - x) * spd; phy_position_y +=...
  2. M

    Movement by video game control

    I want mine to be able to be played with a controller, but I can't change the sprites depending on the angle of the controller, can someone help me? Ps: When I made him change the sprites the sprites didn’t have the animation, they were still in the 1st frame of the animation
  3. Daniel Westberg

    Android SOLVED: How to get Google Analytics working with ANDROID APP

    I'm trying to integrate Google Analytics with my GameMaker Studio 2 (GMS2) ANDROID Game project. I have created a Google Analytics account. In Analytics admin, I created an account and property... in Property > Data Streams, I'm stuck at step 3 - SDK Setup instructions. "Switch to the Project...
  4. R

    Ideal Game Help

    Hi i am currently making a ideal game and I was wondee how I would go about making so it kept track of what you were earning when the game was closed. Many thanks In advance
  5. R

    Ideal Game Help

    Hi i am currently making a ideal game and I was how I would go about making so it kept track of what you were earning when the game was closed. Many thanks I'm advance
  6. Shavv

    GMS 2 Unlimited Alarms

    GM Version: Studio (all) Target Platform: all Download: n/a Links: n/a Summary: This guide will help you out with your projects running out of alarms to use on objects in a very neat way and will completely eliminate using alarms. Hence, provides you with a cleaner overview of your objects and...
  7. Slothagami

    GMS 2 Optimizing a trail effect

    I am making a space game and the planets (o_body) have a trail effect that fades with distance (and will eventually shrink with distance as well) I'm doing this with ds_lists at the moment, but I don't have many instances of o_body and my game has already dropped from 60 to 30 fps, is there a...
  8. Clinton Wheeler

    Mouse direction in 3D && camera direction

    Hi All, I am having an issue with the game I'm developing. I want the character to move towards the mouse pointer in 3D space, I am using the script I found on the GMC: var _x = tde_aspect_ratio * dtan( tde_cam_fov /2 ) * (2 * window_mouse_get_x() / window_get_width() - 1); var _y =...
  9. Dwighty4000

    GMS 2 Gamepad control - what do I wrong?

    If I try to run with the left knob, then only the up and down run works because nothing works with the gamepad on the left and right. And the directions that work are carried out endlessly after just a short movement! What's wrong here?: #region Laufeingabe var hoch = keyboard_check(vk_up) ||...
  10. shadowelite7

    Windows Tiles aren't going on the room editor correctly

    Today I got my tile sheet done correctly but whenever I drag a tile to the room editor. It tries to be placed outside of the room editor. Is there an easy fix to this or do I have to redo my tile sheet?
  11. Dwighty4000

    GMS 2 How to play video sequences in GMS2 ?

    I want to play a video in my game for a sequenz... Is this possible in GMS2 ? The video that I want to play has a resolution of 1920x1080p...
  12. Dwighty4000

    GMS 2 can I play .mp4 videos in GMS2 ?

    Can I play a video sequence in my game? something like an ".mp4" video file? The video that I want to play has a resolution of 1920x1080p...
  13. Dwighty4000

    GMS 2 why doesn't it work the way it should?

    why does it take twice as long for a settings sav until alarm [0] is triggered if the whole program has a "settings.sav" in "% appdata%" although this does not maintain any contact to this and yes the text message is triggered immediately right at the beginning which must mean that alarm [0] is...
  14. G

    Custom Cursor in Drag and Drop

    Hey, I'm developing a sort of five nights at freddy's style game for my girlfriends birthday coming up, and one of the things i wanted to include is a custom mouse cursor while within the game. However, i don't have any coding experience except for other types of games i've made in game maker...
  15. N

    Question - IDE Not able to get remote source control working...?

    Hi everyone, I've just started working with GameMaker Studio 2, and so far it's gone pretty well. :-) Though I've followed the help instructions to enable source control and have created a local repo OK, I haven't yet managed to set this up to push the local project repo out to a remote github...
  16. Dwighty4000

    Windows GMS2 Debugger / debug mode don't work on me???

    When I try to dive into a keyboard_Check, it always skips it and ignores every keystroke in the open game window. So what do I have to do with the debugger, if I press the right arrow key then does this variable work as well? in the game itself works the run with the arrow keys but I can not...
  17. I

    GML Im trying to make a server but the switch statement does not catch any of the 4 possible values.

    var type = ds_map_read(async_load, "type"); switch(type) { case network_type_connect: show_debug_message("Connected"); break; case network_type_disconnect: show_debug_message("Disconnected"); break; case...
  18. TheProgrammer163

    GMS 2 Can someone walk me through making an extension for GMS2 ?

    I'd like to make a few extensions, mostly for myself to keep my projects more organized/make it easier to import the scripts that I reuse all the time. With some cleanup some of them would even be worth and useful enough to make public. However every time I start reading about it I get lost in...
  19. Kiwi

    GMS 2 Game lags briefly while in full screen

    Don't know why, but this happens in every project I make. The game runs super smoothly in windowed mode, with no frame drops whatsoever. But then when I enter fullscreen, it *sometimes* drops from 60 to ~30 while the screen tears, then it goes back to normal after a few seconds. The problem...
  20. Gigicom

    GMS 2 [SOLVED] 2 Sprites not drawing properly

    Hello, I am currently working on an inventory and am trying to position the slots properly over the inventory sprite. I already did this once before, just with a smaller resolution and with a little different system. For some reason though, the slots (blue) now are always a little bit ("half a...