• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

gml 1.4

  1. zingot

    Design GMXedit - Shift tiles and instances in GMS 1.4 rooms

    GMXedit is a tool I created to allow shifting of instances and tiles from a room xml file created with GMS 1.4. It's fairly crude as it was written in a day :-) however it seems to do the job and you may find it useful. Also attached is the zipped project file for anybody who wishes to modify...
  2. P

    [SOLVED] Time Away

    Hi! I am doing a tamagotchi game and I would like to calculate the seconds away: last time I used the game - current time (in seconds.) I'm new to coding and also I'm new to GML, so looking at the documentation I tried to do it by myself using date_current_datetime() and date_second_span(...
  3. A

    Legacy GM Very weird bug with attack state!!

    First off, I have a bug with my attack state. So, if I run and press the attack key, sometimes (often) it will repeat the attack animation and state until my stamina runs out. I can't figure it out on my own, so help would be appreciated. Sorry if my code looks like 💩💩💩💩, but this is my first...
  4. Y

    GML My ball keeps getting stuck to the wall and paddles[GM:S]

    I'm making a pong like game for android and I've got some issues with collisions between the ball and walls and between the ball and paddles. The ball keeps getting stuck at corners and also in between the paddle and the wall... Here's what it looks like getting stuck at a corner ...
  5. G

    Trying to make Final Fantasy style mob selection system

    I already have the combat entry setup. It's more similar to FFXII because it doesn't create a separate room and there are no random encounters. Mobs exist on the map. When player gets within a certain range of the mobs on the map (radius 100). It sets the player in combat and mobs start to...
  6. Weastøne Entertainment

    Make a colour-solid copy of a sprite

    Hello there!, Imagine we have this sprite: . I would like to make a green "colour-solid" (the same shape, but in just one colour) version of it. Right now, I can draw black "copies" with draw_sprite_ext(sprite, sub_img, x, y, scale_x, scale_y, rotation, c_black, alpha);. It creates this: . Is...
  7. B

    Help me Fix my Compile Error Plz [platformer doors]

    I know my 'if statement' below is wrong and causing my compiler to fail, but I don't know how to structure this properly so that it works. This is what I want to happen: When the player collides with the door, and if they press the up key, then the player will go to the other new room. Here's...
  8. M

    GML Creating Object Based on String

    I am trying to make it so the game makes objects based on the string. I want to have the object load like: obj_(string) where I have obj_00, obj_01, etc. I am using Game Maker Studio 1.4
  9. S

    Legacy GM [solved] controlling object crashing (unintentional)

    Hey everyone, Long time no see.... The project I am working on has zillions of assets that are being generated and then destroyed by a controlling object. The controlling object checks the distance between the player object and the assets. If the distance is less than 400 and the object...
  10. R

    Legacy GM Make Player Stick to Surfaces

    Hi, I'm new to gml and programming in general. I'm making a 2D platformer in which the player is able to stick to any surface(it's all going to be right angles), whether it be walls or a ceiling. when they are stuck to a surface, they treat that surface as if it where the ground, i.e. when on...
  11. V

    GML How to check for a collision with one specific instance just created?

    After reading the documentation on collision methods I couldn't find a complete solution for this situation: I have an object 1 with a create instance action at its create event. That action creates an instance of an object 2. Then I need to make a collision event (or check for collisions in...
  12. F

    GML How to move two objects at the same time using multi touch?

    Hi! I'm creating my first game on Android where you have two rectangles placed on both different sites of a phones screen, and they're controlled by two different players (something like Ping-Pong). I wrote a code which tells them to move only when they're being touched. Unfortunately only one...
  13. Y

    doesn't detect place_meeting

    so i'm using this script to check for the Obj_Stone. if (keyboard_check_pressed(vk_up) && Jumping == false){ physics_apply_impulse(x, y, 0, -500) Jumping = true show_debug_message("true") } if (place_meeting(x,y+1, Obj_Stone) && !place_meeting(x+1,y, Obj_Stone)){ Jumping =...
  14. N

    Legacy GM Sprite Face The Mouse

    I got 4 sprites one for up on for down one for left and one for right i wanna the sprite to face the mouse
  15. W

    Legacy GM Enemy animation in four directions

    I am trying to make my enemy animate in all four directions. But it only goes left and right. I know its because of the right and left code on the bottom but I cant think of how to make it animate in all four directions Here's my code: if (x != xprevious || y != yprevious) { image_speed =...
  16. Paul Green

    Windows Video Meanies - First completed game on my own

    Background So, winding the timeclock back 30 years, my first computer at 14 years of age was a commodore c16, it was the machine that gave me the taste of programming (I went on to the C64, tried Amiga, now on PC) it will always hold dear in my heart, so I decided to do a remake on one of the...
  17. N

    ds grid Collision Check Not Working

    So I tried this gridplacemeeting function ///scr_GridPlaceMeeting(x, y) var xx = argument[0]; var yy = argument[1]; var xp = x; var yp = y; x = xx; y = yy; // Check for x Meeting var x_meeting = (Level.grid[# bbox_right div CELL_WIDTH, bbox_top div CELL_HEIGHT] != FLOOR) || (Level.grid[#...
  18. N

    Legacy GM Cant Find The Infinite Loop In this code

    I got this code ///Setting up the level // Set the grid width and height var width = room_width div CELL_WIDTH; var height = room_height div CELL_HEIGHT; // Create the grid grid = ds_grid_create(width, height); // Fill the grid with the void ds_grid_set_region(grid, 0, 0, width, height...
  19. C

    GML [Solved] Enemy sprites won't animate right

    I set something up for enemy animations, but it isn't working quite right. The up and down animations work fine (usually), but the left and right animations don't work at all. This code is run in the step event for the enemy, after the movement code. I've tried using this code in the draw event...
  20. S

    Edit the room gmx file in notepad

    The original 1.4 room editor is difficult to use sometimes(Have bought 2.0 but not try it yet), for example you need to add instances and edit their scale and position one by one. So I'm trying to edit the room gmx file by notepad. <instances> <instance objName="obj_swordEnemy" x="448"...
Top