• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

solved

  1. F

    Android [SOLVED] Asking for help to get app working on Google Store

    Hi Gamemakers! I am a novice when it comes to game making. I was soo happy when I completed my first game, but now I am in the dark. I can't get my app to work on Google play store. I am doing internal testing on Google play console and when I install it to test it on my device, my app is...
  2. D

    SOLVED what is the purpose of fraction dumping?

    i am totally new to programming let alone gamemaker studio 2 i am learning from shaun spalding's videos too. and i came across this code in his video. i think i know what the code does (it is to subtract decimal part of the number??). but i dunno why it is necessary. hsp += hsp_frac; //why...
  3. G

    Parent error, Space Mods tutorial

    Hello everyone, I am currently following the "space mods" tutorial series. At the moment i'm at the "Space Mods - GML - Enemy Factions (2/3) - GameMaker Studio 2" section. Here exactly : I have a little problem, when I try to shot, my ship freezes and what I shot stays in place. The...
  4. G

    Windows Can't save files?

    Hi! I've been forced to move my files to another PC (because Windows 7 is no longer supported). But i'm running into a very weird problem that I don't understand or konw how to fix. I have a screenshot of the problem that i'd like to add here. Is it using the wrong path? And if so, how do I...
  5. ricardo1996

    Need help with Android os_is_paused()

    Im trying to send a network packet. Just before the onPause() is called. Ive tried using the os_is_paused(), but it only executes the code upon regaining focus. Is there any function, or third party extension that can achieve such a task, is the task even achievable? or i must try to create my own?
  6. B

    SOLVED Is there a operation that checks multiple variables for an output?

    To further explain, I want to create a tree of options that checks multiple variables. For example, it checks 3 boolean variables named, a, b, and c. (true, true, true) would output a number (true, true, false) would output another number (true, false, true) would output another different...
  7. Tzunami

    GML [SOLVED] Trouble writing .wav file into buffer and playing it back

    [SOLVED]: buffer_write needed to use buffer_u8 instead of buffer_s16. Hi all, I'm having some trouble in a project I'm working on when it comes to opening a .wav file, writing it to a buffer and using 'audio_create_buffer_sound' to play the sound from it. My code successfully opens the .wav...
  8. B

    How can you make an object with independent variables?

    The title is confusing but I don't know how else to describe it. I will try my best to simplify with this analogy For example, I have a bullet. I want to make it go a range of different speeds without having to make each speed its own object. My plan is to find a way to change the variable...
  9. G

    Keeping drawn weapon object in same relative position to airborne character?

    For my weapon code system, I'm using the following style of code to draw the melee weapon (based on the weapon sprite), continue drawing it in a brief swinging sequence, and then it is destroyed: draw_sprite_pos(sprite, subimg, x1, y1, x2, y2, x3, y3, x4, y4, alpha) It looks clean when the...
  10. carlosagh

    Previus room stays drawn in new room

    In my project i have an object that serves as a persistent manager object created in the game's intro, this object has some enums and macros inside its create event and has step event code and draw gui code dependant on the room. My problem is that when i change to the game room, the previus...
  11. L

    GMS 2 Turret rotation not centered(even with correct origin)

    Hello everyone! I am making a pixelated space game(my first game, if we are not including games following tutorials :D), and on top of the ship there is a turret mounted to it. I have set the turret to rotate towards the mouse using point_direction(mouse_x,mouse_y), and to follow the ship using...
  12. G

    Lacking follow through! (2-D SS attack animation woes)

    Hello again! So with some references on where to look to find stuff (Thanks, Felbar!) I've come a long way in the past couple weeks. I've integrated state scripts and my character's animations are where I want them except for ONE issue: Upon pressing the attack button, my character *still*...
  13. G

    GMS 2 Asymmetrical Sprite Jumping animation

    Hello! I'm learning 2-D platformer basics from Spaulding's recent GMS2 YouTube tutorial and it's been going well but I ran into a hiccup. My sprite carries a shield in his left hand so he looks different when traveling LT and RT. How could I modify this code to have the character face left...
  14. Kugua

    SOLVED Trouble with importing text from JSON file (returns "undefined")

    Hello! I'm new to gamemaker and still learning the ropes. I've been playing around with managing large amounts of text by saving the text in a csv file, converting to JSON, and then loading the JSON file in the game. Using v2.2.5.378. The problem I'm running into is that when I load the text...
  15. kpenrose92

    SOLVED keyboard_check_pressed(ord("K")) will not return 1 while keyboard_check(ord("S")) returns 1

    Is this an issue that has come up for anyone else? I'm on Windows 10 using GMS version 2.2.5.378 I'm guessing it is Windows-related, because I've tried many other combinations of keyboard_check and they all work fine. For some reason while the 'S' key is down, gamemaker doesn't recognize the...
  16. VentKazemaru

    GMS 2 Trying to figure out pikmin style unit selection

    In pikmin, You can either throw the next pikmin you have in line. Or you can press a button to only throw a specific type. I've been having a hell of a time how to implement this. In it's basic form. I need to figure out how to select specific and any unit in a group. ds_queue does work...
  17. G

    Android [SOLVED] Problems with android build - help!

    Hi, I've been trying to compile my game to android and it keeps giving me this error log What went wrong: Execution failed for task ':com.gumbosoup.colorsnakesmash:processDebugResources'. Android resource linking failed W:\com.gumbosoup.colorsnakesmash\src\main\res\layout\download.xml:13...
  18. monsieurGrignoux

    [Solved] With working In the create event ?

    HI, I was wondering if the with statement is working in the create event. Seems Like not ... but not sure of my code...
  19. Chris Smith

    GMS 2 Game Sometimes Runs/Doesn't Run/Only Runs Audio

    Greetings friends, Out of nowhere my game started to fail to run, even though the output window doesn't show a failure. It sometimes doesn't reach the main loop. But sometimes it does reach the main loop, but only plays the audio. Sometimes it runs fine. Everything was running fine, until I...
  20. Chris Smith

    GMS 2 No Error, No Memory Leak, But Getting Visual Issues (video included)

    Hey all, I have a room set up, to randomly generate blocks, then when you exit out the left of the room, the blocks delete, and fill the room again, and you get teleported to the other side of the room so simulate entry into another room. However, this works up to the point of loading the...
Top