pickup

  1. Wicked

    GML Help with changing weapons

    So basically, the code at the top of both spoilers is supposed to have it so when I pick up one weapon, the other is dropped to the floor. However, it only works if I have the gun and try to pick up the axe, if I have the axe and try to pick up the gun it just moves the gun. Axe Code Gun code...
  2. PlayerOne

    GMS 2 When a item slot is at max?

    If I can get this last problem solved I can finally finish this inventory system. I have an inventory system with an item max of 90. Once a certain item hits 90 the next time you pick up an item it should go into the next empty inventory slot or point to where in the inventory it hasn't hit the...
  3. Gillen82

    Legacy GM Opinions...

    Hello, GMC I'm not looking code from anyone, but instead, something more valuable......your wise words and opinions. Within my TDS I am looking a specific enemy to drop a specific item (keycard). I was thinking of making a duplicate object of the enemy and placing that in the room so I could...
  4. C

    Pick a item and be able to go through items that were collisions before

    I want to design a game where if you pick up a magic mushroom you can go through walls that you weren't able to before. Pretty much remove their collision event. I need help on what to do. Thanks,
  5. S

    Legacy GM Need help figuring out how to make something work.

    At the moment, I'm making a little test game--a super basic side scroller-- just to learn the basics of coding. I have a room, a player character (obj_player) that can walk left and right, a chest that I can "open" (really just made it so that when I press a button the animation changes makes it...
  6. LucasTheNewbie

    [SOLVED] Collect items only once

    [Game Maker 8] Hey guys! I'm making a platformer-adventure thingy game and I have a room with a lot of coins. Now If I would like the player to be able to collect them only once, what would be the best way to do this? They respawn everytime I come back into this room. Thing is: first I tried...
  7. W

    Windows Pondering about Pickups

    Hi GM users! I have been wrestling with how to do this in code... I have conditions in my game that when a certain enemy is killed, it drops a pickup. This is all working fine as far as the functions and scoring etc, but I am a bit stuck with another game function relating to pickups. When a...
Top