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!
Greetings,
The following code is called from say, "object A". There are other objects, and they are children of the object, "obj_parent".
Does the code below create a ds_list inside each child object? Or, as I would like to have happen, is only ONE ds_list created inside the calling instance...
So my game was created before parenting with rooms was an option. Is it possible to take a pre-existing room and parent it (make it a child) to a newly created Parent Room? Or do I need to rebuild all previously created rooms(stages) in order to make use of Room Parenting now?
I have a variable called hp. It's on the obj_slime create event. The slime is also parented to par_enemy.
The problem is that, I have an attacker, and I don't wanna copy huge chunks of code for every single enemy in the game. So I created a parent for all enemies, and the when the attacker...
Hello!
In my game, there are 8 different objects with the same parent.
I want to know, how to check during collision if the child objects are the same objects.
If for example an apple, tomato and pear are par_fruit's children, how to check if apple collides with another apple?
I tried this...
Hello. So, in the game I'm working on, multiple characters can occupy the same space at once and when this happens, I place all of them in the corners of the space (Think: Sudoku hints). In order to keep this in a set fashion, I intend to number each instance. However, they are all different...
Hello. So let me start by saying I am slowly learning more and more.
One of the things I have learned is the potential disaster that is Global Variables. I have been following a tutorial on RTS Turn based games. However this tutorial, while teaching me a lot, left me in a hole I can't dig...
I'm working on a new project idea with a limited number of instances off an object at any given time (3).
Each of those have 1 separate object instance that they create.
All these pairs are the same.
So there's 3 pairs of object instances "allowed"
No more than 3 pairs can be existing.
Some...
Hi All,
I have an issue checking for object parents. Say I have a sports team, all players have the same parent, oPar_BlueTeam. I'm using point_in_triangle to check for an instance of oPar_BlueTeam to kick the ball to, it only works when one blue team player doesn't have the same parent as the...
I'm trying to set up a text system for my game which allows the player to be within range of an instance, click on them and then the text box pops up.
I have that working but I need some advice/info on the parent/child subject.
I understand that a child object inherits all data from the parent...
Hello, I've seen that importing rooms with parenting options to a project still have some issues and don't know if there's a threat about this. If it is the case, please link me to there.
Is there a way to import parent and chindren rooms to a project's resource tree correctly? I've tried...
[SOLVED]
Good day, comrades! In this Video only one plane has the shadow.
I want every plane has its own shadow (obj_shadow).
1) How can i determine that Certain Shadow is a child of a Certain Plane ?
2) How can i check Child's variable from Parent object and Parents variable from Child...
Hi all, I have a parent object (magic projectile thing that the player can shoot) with some children objects of it and its all working fine, except that I want to make all the children objects have a specific depth that I assumed could be set in the parent object's depth.
But when I change the...
I know it's a brief title but it's pretty much the problem I have. I read this article which says about nothing about how it works bisides the fact that it's a good idea: https://docs.yoyogames.com/source/dadiospice/001_advanced%20use/more%20about%20objects/parents.html
So, being convinced in...
Hey guys! I'm back with another issue. I hope this post is articulate enough and easy to understand. hehe
Some context:
I'm creating a simple tower defense game, programming for level one is complete, save for a little bit of polishing.
Level 1 has three waves of 10 enemies of 3 different...
I have an object that is used to decide if an object is solid or not (I don't use the build in solid option) One of my objects is parented to this solid object, but after an animation reached a certain image (image_index = 7) I want my object to unparent, so it isn't solid anymore because the...
Hi everyone ! I'm french sorry for my bad english.
I just discover this incredible studio, and I'm found of RPG so I try to make one. I know some programming but I don't understand some things in GM mechanics.
I made two parents objects, one for ennemies, the other for characters. I made two...
It used to be in Studio that the parent structure for objects showed beyond the first parent, in Show Information, so you could easily figure out why objects might be acting in unexpected ways, if it was an inheritance thing. Now it shows children (which is fine), but only one parent worth of...
does anybody know what could be causing GMS 1.4 to be spawning the top level parent instead of the bottom level child?
I actually have the obj parameter as "obj_buster_0" but it spawns a "Entity" object instead
here is my code
the obj_buster is a child of the Weapon object which is...
Is there a built-in variable or function you can use to determine an object's parent?
For example, if I have an object that generates other objects into the room, and I have a number of different enemies (Black dragons, red dragons, shoe salesmen, existential guilt, etc...). If I had those...
I have an enemy that will attack if it detects the player through a collision line. If there is a wall in the way it can not detect the player. I would like to add a block that functions like the walls but the enemy can see through it. Is there a way to make this the child of the wall?