noob question

  1. P

    SOLVED I need HELP with HITBOXES they won't work

    hey everyone I tried creating hitboxes for my character but they don't seem to be workink, help would be appreciated first I created an object called o_hitbox and added a collision to my enemy o_knight and then made the following code Create event creator = noone knockback = 1 damage =...
  2. A

    GML How do I customize a menu inserted into o_game?

    Hey everyone, I am trying to create a customized menu as a separate object, however, the code in the object is not working. It should show a list of text options as the you'll see in the code below, however, currently it shows a black screen. Previously, the menu was drawn as a non-interactive...
  3. A

    GMS 2.3+ One of my animations will not play but the code appears to be functional

    Hello everyone I'm having a bit of a hard time with my game. I recently began using states in the class I'm taking to help program my game. The idle animation appears to be working for my enemy object, however the jumping start state does not work at all. The instructor split the jump into...
  4. L

    For a visual novel-ish vibe

    How do i create the effect of the text box fading in and the text being typed and then it fading out when the player presses a letter/number to progress?
  5. kapaqw

    Instance Collision

    Is there anyway to find the specific instance that collided with a object and put it in a variable? Would you use instance_find?
  6. TreysterGames

    Graphics Sprite-Sheets

    this is just a question that I have. I've been trying to get into animating sprites, and seems the only way to do so is to upload a sprite sheet; is there a way for me to create one of those, because I don't have much experience with that process.
  7. TreysterGames

    Question - IDE Failed to Import Chosen Files Continuous Error

    Whenever I try to import a sprite into my resources panel, I keep getting the import failure response. It's been happening lately and has been inconsistent for when it occurs, I don't know why it happens, but I could really use some advice for how to fix these pop-ups, thank you! (I'm also...
  8. Matthew McIntosh

    *Solved* Noob Character Movement

    So, I am returning to game maker after well-over 5 years away and I'm finding that picking up at my previous skill level is clearly not an option (I've forgotten everything it feels like). Anyway. I was messing around with a super-simple character movement my mouse clicking I did it two ways...
  9. A

    Windows Help with fullscreen stuff!

    Hi! I'm making my first game ever and it will be shown at an art exhibition, here in Finland. Is there anyway to make sure, that player can't leave the game when it's in fullscreen (the game will be played on windows 10) I was wondering that can I disable windows own shortcuts, like alt + f4...
  10. J

    How do I add a loading screen to a game?

    Hi! I'm new to videogame development and I was wondering if it's possible to add a loading screen for my game. It's basically a loading screen between the main menu and the first level, because its kinda weird to just press the start game button and then instantly start the game; that would be...
  11. M

    what is the difference between using Place_meeting or the built in collision event?

    When I watch tutorials online, most of them uses the "Place_meeting" variable. but I saw a built in collision when creating events so I experimented with that. they both seem to do the same thing. I was wondering if there was a difference between the two and in what situation will one be better...
  12. M

    How to destrory old instance if a new instance is created?

    So basically I want to destroy the 1st instance if a 2nd one is created. here are the current codes I have: if (instance_number(obj_activetrail) > maxobject) { with (instance_find(obj_activetrail, maxobject)) { instance_destroy(); } } But instead of destroying the...
  13. Edwin

    GML Linear interpolation (lerp) analogues?

    I want to slowly "move" my value from, for example: 2 to 0 without "this": Sometimes, values that need to slowly decrease or increase are starting to "twitch", trying to get into a certain interval or position. How to fix it?
  14. G

    GML Need help making a tool bar for game. [Solved]

    So, i'm making a like game for educational purposes, i've came to need a tool bar to switch between tools and weapons, i've sketched some ideas, as the calculation for the drawing event and everything, i just have no idea where to start, like arrays and switch functions. Any link to a...
  15. D

    [solved] Help! Making Score Follow View Vertically

    Hi all, I have been searching for hours, tried 3 or 4 diff tutorials, scoured the forums/reddit/stack exchange, the GMS 2 manual and the GMS tutorials. I am trying to program the score object to remain on screen while the player object moves upwards on a level but it always remains static...
  16. B

    Enemy Spawner

    Hi everyone currently, I'm working on my first project with code. and now I'm at the point to add enemies. I would like to make a spawner where the enemies are created within a current amount of time. basically, there needs to be an object where my enemy's spawn after about ten seconds. I think...
  17. Q

    GMS 2 Choppy Parallax Scrolling

    I've searched high and low for a solution to this issue, and I'm not experienced enough to tinker with things like this myself. I am trying to make the background scroll by to give my game more of a 3D effect. But when my character moves, or stops moving, the elements of the background move...
  18. 2

    GMS 2 'Noob question' my variables are not tuning blue =(

    Hi total noob so please be gentle. I'm following a 'spelunky' style level gen tutorial and im currently making a script. my issue is when i try to set some variables in the IDE they do not turn blue, also some of the other parts of the code do not change to the colours of the tutorial. so my...
  19. H

    Moving object inside another Moving Object

    2D game. I have a player moving inside a moving ship. How do i get the player to stay on the ship when the ship is moving around, and be able to move around while the ship is moving. Also turn the player relative to how the ship is turning? Thanks!
  20. Remix The Idiot

    GML adding increasing value to a variable per instance created

    I need help, I wanna have an object get a variable that has increasing value for every object in the room. for example I want my object called obj_object with his variable called "id", so there is 3 of them in a room, the first obj_object will have 1 as its "id" variable and the 2nd will have 2...