• 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!

help

  1. C

    How to scroll a long list iterating 10 elements by step, starting from the end?

    I would need to iterate a part of the list at a time so as to always have the same workload despite the length of the list. I don't have to delete items from the list, but just read it completely in several steps. I've tried this for now but the list seems to be read incorrectly or not entirely...
  2. Ominous Player

    GameMaker @@This@@

    my project is not running because gamemaker is finding "@@This@@" in my project somewhere, and it is stopping it from running. i have never typed or seen "@@This@@" anywhere in my game
  3. ThisThing

    Do damage, then tag damaged enemy, then delete stored tag list?

    Okay, so I use this code to do damage: // damage enemy_________________________________ var list = ds_list_create(); collision_circle_list(x, y, damage_radius, p_enemy, 1, 0, list, 0); while !ds_list_empty(list) { var o = list[| 0]; ds_list_delete(list,0)...
  4. C

    How to add a jump and gravity combined with tiles with game maker visual (DnD)??

    Here is a issue I have for all the DnD pros, I am new to this so please talk like you are talking to a child Here is how I have my movement and collisions so far for example here is my "Right key" and "UP" movement right movement UP MY PROBLEM: I have added gravity after the up button is...
  5. MrPugMC

    Equipment System

    Hello once again, I am complete with my inventory system and right now I am working on an equipment system. I have made it so when I right click an equipment item (in this case a sword), it will go into the ds grid named "myEquipments", the big problem I have though is I can't for the life of me...
  6. L

    GML Visual make an instance jump back to its previous postition?

    How would I go about making my player ( red/white box ) jump to its previous position when colliding with the brown box? circled here is the controllable area for a ttrpg thing I'm making for my friends to play. since this is just for me and my friends im trying to keep this as simple as...
  7. C

    Can you create tile collisions using GML Visual (DnD)?

    I have been wanting to create collision with tiles and every tutorial is using code. This gets to confusing for me and was wondering if anyone knows how to do it with DnD or has seen a tutorial showing how to do it?. Also how many objects can game maker hold until we see problems. If I cant...
  8. M

    Creating instances apart from each other

    Sorry if this is a really basic question, but I have an object that creates a random number of blocks in a grid with the following code: randomize(); blockcount = round(random_range(5, 8)); blocks = 0; grid = mp_grid_create(0,0, room_width/32, room_height/32, 32, 32); while (blocks <...
  9. M

    Smoother Pathfinding?

    I have this code for pathfinding: enemy: path_delete(path) path = path_add(); targetx = obj_jugador.x; targety = obj_jugador.y; mp_grid_path(obj_pathfinding.grid, path, x, y, targetx, targety, true); path_start(path, spd, path_action_stop, true); alarm_set(0, random_range(30, 120))...
  10. M

    Center problem

    I have a gun object, and I want it to always point at the mouse, that’s why I have it’s origin in 11x8, and I want for it to spawn an explosion effect every time it shoots (left click). I want the explosion to spawn at 27x4, but I don’t know if I can have a second origin. If I just spawn it on...
  11. MrPugMC

    Help with ds grid deletion and player healing

    Hello, I have made it so when the player right clicks on a health potion, the health potion will be deleted from the ds grid and the player will be healed by .25 HP (one quarter of a heart). The weird thing is, this all works extremely well until the player is almost at max health. So for...
  12. MrPugMC

    GameMaker Picking up more than one type of item will turn some items into another one

    Hello, I am having another weird bug that I quite don't understand why it's happening. I know where it exists but I don't know why it exists. So I have a system where I can drop items and then pick them up with the middle mouse button. It all works well, picking up an item that already exists...
  13. MrPugMC

    GameMaker Need help with ds_grid problem

    I am currently making an inventory and have come across a weird little problem. In the game you are able to pick up items from the inventory and move them around, everything works fine until you try to click outside the ds_grid while having an item picked up. Basically the problem occurs when...
  14. C

    SOLVED How to destroy certain instance clicked by mouse

    So im making a mining game. So i need a mining mechanic. My idea was that if i clicked a rock object, it would get the ID of that instance and then destroy the instance with that ID (so it cant destroy all rocks in the room) I have some code on the rock but i dont really know what im doing. and...
  15. J

    SOLVED The application to execute does not exist

    "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.8.1.148/bin/igor/windows/x64/Igor.exe" -j=8 -options="C:\Users\jonas\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run The application to execute does not exist...
  16. M

    GameMaker how do I make my character jump with velocity

    this is my code for my movement how do i make player jump with or more of my ''walksp'' and ''runsp'' i want my player to jump faster when it is running i want to protect the velocity //calculate movement var move = key_right - key_left; hsp = move * walksp; vsp = vsp + grv; if...
  17. M

    Pathfinding problem

    I have the following pathfinding system: In the pathfinding object create event: // Crear grid grid = mp_grid_create(0,0, room_width/32, room_height/32, 32, 32); // Añadir paredes a la grid mp_grid_add_instances(grid, obj_colision, 0); In the enemy object create event: //Variables spd = 2...
  18. Spartan

    GameMaker random values not working?

    In this script i wanted to make it so that a random type of enemy spawns anywhere on the screen every 2 seconds. so far i have two, and thus the two if functions what happens instead is whatever enemy is set originally as the "enemy" variable spawns all the time. the problem seems to be that...
  19. Izac

    GML Help! - Camera

    How can i do a camera that locks in the player's postion? How can i do a camera window? If you don't understand what i'm talking about, Please check this website: https://www.gamedeveloper.com/design/scroll-back-the-theory-and-practice-of-cameras-in-side-scrollers Go on the "Terraria" and...
  20. LellyLL

    SOLVED Player stops moving when performing melee attack

    Okay so as a personal fun project I am making a Castlevania engine. I'm currently working on the Vampire Killer, which I got assistance from Shaun Spalding's melee attack tutorial. There's one problem though; my player character stops moving midair when performing the attack. If you've played...
Top