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

parent

  1. P

    About Parent and Child drawing

    Hi all, I'm just new on the GM and I'm just testing some stuff so I come up with a question that I still can't solve myself. Let's say I have a tank and a turret as objects with separate sprites offcurse. I want to consider them as child of a parent object invisible with all property needed for...
  2. N

    Adding Methods/script to an object

    [using Game Maker: Studio Professional, v.1.4.1757] Coming from a Java background, I am wondering if there is a way to have "methods" (private script) associated with an object in Game maker studio? This would be extremely useful when using parents/child objects. A basic example to better...
  3. N

    Legacy GM Question about child and parent in gms

    I have a problem with this twist of code ,in simple i want create code for every object with one ,the problem is the variables strongely he say they doesnt exist and its probaly because i create in the parent variables and in the children variables too i try to just combine two variables ,one in...
  4. W

    Accessing all child objects individually[re-posted]

    Just a re post of this issue I've been struggling with the past few days, only had one other brain helping me think of the solution so I thought I might need to bring in a fresh perspective as my original post is probably already lost in the shuffle of new ones lol So this started out as what...
  5. T

    Solid Parent Object Not Working?

    Heya! So I kinda need some help. I have a child object not gaining the solid properties of the parent object. Other child objects are working with their parent objects, but this child and parent are not cooperating... I've tried putting solid = true; in the create/step event of the parent object...
  6. W

    Parent problems

    No this isn't about MY parents lol Seriously though, I think I'm misunderstanding how parent code relates to it's children's code because when my player collides with enemies that are children f the enemy parent, he's taking way more damage than he should since the enemies in question have...
  7. K

    Do parent objects carry through child objects?

    Example: Parent of object1 == obj_solid Parent of object2 == object1 In this example, will object2 also be a child of obj_solid (which contains the collision code), or only inherit the code that is unique to object1?
  8. G

    Collision event (parent problem)

    Hi, I'm making a shoot em up for my first game to discover how game maker work. The problem is whenever two different children of the same parent are in the same room at the same time.Some of the values of the two differents children are going to mix up in the colision event that I made with...
Top