help a noob

  1. Z

    GML Elliptic Direction

    Hello there! how was your day? Ok so, I am having problems with the GREEN CIRCLE following the direction of the BLUE LINE The BLUE LINE point to the direction of the mouse and have manage to make the GREEN CIRCLE follow Elliptical trail of WHITE CIRCLES The WHITE ELLIPSE mimics the direction...
  2. GONE

    SOLVED colliding teleport glitch

    I just finished making my enemies walk and I realized that every time they collided with a wall they teleport ahead. vsp = vsp + grv; // horizontal collision if (place_meeting(x+hsp,y,Owall)) { while (!place_meeting(x+sign(hsp),y,Owall)) { x = x + sign(hsp); } hsp = -hsp; } x = x +...
  3. O

    How To Unblur A Sprite

    I'm currently in the making of a GameMaker Studio 2 game and let's just say I accidentally when to the "Effects" tab and made my sprite blurry. I just can't seem to be able to unblur the sprite as the is no "0" value for the blurring as the bare minimum is "1". The sprite is kinda big and...
  4. Mr. SadGhost

    GML want to get Instance's coordination

    Hey peepz i'm back again! I have a map that is draggable with the mouse. Now i have some icons that are on the map itself, and i want to keep those icons "attached" to the map when dragged. I came up with this code which will put the object on the map, but takes a lot of time to get it in the...
  5. Mr. SadGhost

    GML can't figure out this if statement

    Hey guys I'm a real beginner when it goes to coding, so this is pretty difficult for me, and I do need some help. SO the idea is: that I want to make a panel that when it's clicked that it pops open(goes to the other sprite) and when clicked again that it becomes small again(goes back to the...
  6. S

    Auto Calculated Combat how to?

    Hi dear community, I'm trying to find or create my self but without success a Auto Battle System. where player have 1320 Unity's and enemy 1180. To calculate who is winner in this battle? Or trying to make Battle in 3 waves lets say, with 900 Unity's, but slashed on 3 Army's every wave...
  7. C

    Programming noob needs small help

    I am currently going through the Yoyo Games Little Town tutorial and I'm stuck on a video of Little Town Session 02 on the fifth episode (Keeping the Player in Bounds) I follow the directions exactly but the magenta barrier isn't transparent when I launch the game. I can clearly see them. Can...
  8. A

    How do I change sprite animations after picking up a weapon?

    Hello everyone, I have imported a sprite sheet featuring my character running with a weapon. I was hoping to use this animation after the player picks up the weapon object. However, I'm unsure about how to insert the animation into the code. I know it has to take the form of an if statement...
  9. UEG_Productions

    Help with parallax clouds

    I have set up a simple parallax system with the following: if (layer_exists("Mountains_BG_1")) { layer_x("Mountains_BG_1",cam_x * 0.8); } I do this for multiple layers. I have clouds that are a background layer that uses horizontal speed (in the room editor) to move. I wanted to have the...
  10. R

    Help plz

    hello, I want to make a code that makes the system automatically decide one of those objects that I put in the parentheses of choose when the animation ends, but the system always chooses the same sequence of numbers. if I close and open the game, it gives 5, if I just reset the room it gives...
  11. André Luiz

    GML i Need help with menu

    Okay..., I’m Brazilian and I’m just typing in English thanks to the Google translator, so don’t be surprised if there’s something weird written, continuing, I was following a tutorial to make a menu, it seemed very simple and functional, (I'll leave the link at the end), but when I finally...
  12. R

    Help plz!!!

    i want to make a game that restarts the pc, there is any code that can do it?
  13. A

    SOLVED I need assistance with Save File Directory

    I want to be able to save my game's files in a custom location instead of placing it in the default: Local App Data So far, I learned to create a directory using this code, though I have not tested it yet. I assume this would create a folder in the same location where the executable file is...
  14. R

    HELP ME PLZ

    I want to make a system for buttons that when you press them you have 5 seconds until it returns to normal //create event timerpressed = false //alarm0 event timerpressed = false //step event if place_meeting (x,y,obj_player){ timerpressed = true alarm[0] = 300; } if timerpressed =...
  15. R

    help plz

    I want to make a system for buttons that when you press them you have 5 seconds until it returns to normal //create event timerpressed = false //alarm0 event timerpressed = false //step event if place_meeting (x,y,obj_player){ timerpressed = true } if timerpressed = false{...
  16. R

    please help

    well, I was trying to make a system that when you're colliding with the obj_mosca{ eat = true } ,and when it's not{ eat = false } and when eat = true and the keyboard_check (vk_space) { instance_destroy (); } but even if the player is not colliding, when pressing space the obj_mosca is...
  17. C

    Help with collision system

    Ok, so this is a bit of an advanced request for me, but I feel like I'm on the verge of a solution. I'm trying to make a collision system for my game, but I don't want a basic "if player were to move into collision, don't" type system because it doesn't fully work with what I'm trying to do. At...
  18. itarkytec

    Windows Need help making a string

    Hola comunidad, estoy necesitando un poco de ayuda, agradecería que las respuestas a este post estén preferiblemente en español, aunque si es de ayuda no me molestaría en recibirla de todas maneras. Contexto: estoy intentando hacer un cuadro de texto que solo acepte números como entrada...
  19. P

    GMS 2.3+ [SOLVED] Audio not playing in Breakthrough tutorial Game (please help)

    Hello, I'm relatively new to game development and Game maker studio 2. I was recently following the tutorial of FriendlyCosmonaut for the game called "Breakthrough" in GML. I got my sound assets from downloading it from the tutorial. The game should play a sound when a collision is detected or...
  20. T

    Giving a colliding object your variable value.

    I have a game which has the main character (a light bulb boy) interacting with several intractable electric objects. The electric objects have two main "states" (though no real state system has been implemented yet), where they are either turned on or off as indicated by sprites. I have a system...
Top