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,
Is it possible to draw multiple textures along a single path?
The most excellent "Ribbon Project" shows how to draw a single texture along a path and even alternate between this single texture--however, I would like to able to draw a mix of textures in a random pattern, say, like...
Hi guys!
I need some help with my game, hope someone can help me out. I try to make a player-guided platform, which can move along a pre-determined path indefinetly. I think maybe it works with paths, but I can’t figure it out, how.
My goals are:
the player have two inputs (like GO LEFT/GO...
I would like to make my own pathing algorithm as I find the current options pretty limited because as far as I know there is no option to
A) stop moving as soon as you hit solid object
B) no option to only move a number of iterations between the path before stopping. Example lets say your...
Is there a way to take a 2D outline and extrude it from the Z axis to make it have height? Say I make a 2D Path. Now can I take that path (or maybe just its points) and create a "3D wall?" This wall would have width and height. The goal of this is to create a 3D border with a unique shape. What...
Hi All,
Is it possible to have an object follow the Y axis of a path only while following the x axis of another?
say I have a half circle and the path follows the curve of the circle. I want the object to move along the x axis of the straight line but its Y axis to follow the curve of the...
pathtwo = path_add();
mp_potential_path(pathtwo, xxx, yyy, 1, 32, 1);
myPath=pathtwo;
path_start(myPath, 16, path_action_stop, 0);
Here is my code. I am trying to make it so that this object won't collide with objects including same objects.
If this is right maybe I didn't set up physics...
How do you make an object start a path once it is in view? I've got a boss that I want to follow a path once the player reaches it but it's not working right.
I've got the path code in "intersect view 0 boundary" but it's not following the path when the player gets there but since the start...
Is there a way to make an object rotate as it goes along the path's curvature? For instance, if a path curves up, then the object will curve up as it hits that part of the path. Also, my objects have 0 speed, so can this be done without using the direction from speed relationship?
Edit: by...
Hello guys,
My top-down RPG is going pretty well,
I want to make a passive tree similar to Path of Exile,
- with levelup you gain passive points allowing you to spend in the tree (which is a room menu)
- BUT you have to start from the center and choose points connected to each other ! ie. make...
Hej everyone. As the title already states, i would like to assign several instances of an object to different paths i set.
Lets say i have an "enemy" object which has a specific behaviour:
It follows a defined patrol path. If the player comes near the enemy, the enemy starts chasing the player...
Greetings,
I just reinstalled Game Maker Stduio 2 and I got this error:Could not find a part of the path:Z:\GMS2\....
If anyone knows a way to fix this,the help would be very much appreciated.
I've been having some problems with the path_add() function, i'm getting very irritated because every time the path is finished, it reverses back to the first point, how do i stop it from doing so?
k = path_add();
path_add_point(k,x,y,100);
path_add_point(k,0,0,100)...
You can change the sub-image of an object that's on a path, can't you? My code doesn't seem to be working.
I want to change the sub-image based on which direction the object is moving in the path --- up, down, left, right.
This is in the create event:
image_index = 1;
image_speed = 0;
This is...
I'm making a tower defense game. But I have a problem. When my enemy get to the end of the path I want to know how to switch the room to a death or title screen. I tried doing
if(o_enemy end_path(room_goto_previous))
but it gave me errors. If someone could reply to this with the code for game...
I'm new to paths, b/c I just started on level design and story of my game (before I was working on mechanics) and I have a non-curving path that goes straight right, then straight up. However, my layer decides to go right forever, and not stop to go up. I tried setting a friction and changing...
An object is moving on a path0. There is another path 'path1' close to path0 at x=a; y=b. How to change the path of the object from path0 to path1 at (a,b) ?
An object is moving on a path0. There is another path 'path1' close to path0 at x=a; y=b. How to change the path of the object from path0 to path1 at (a,b) ?
Hello everyone,
I have one problem with my paths, this is my code :
if distance_to_object (o_player) <=100
{
path_start(P_up_when_near, 12, path_action_stop, false);
}
Actually when i'm near to this object it moves and stop following the path. However if i move a second time near of this...