Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Can we ask questions about game maker here?

A topic by PPePP created Dec 21, 2020 Views: 196 Replies: 4
Viewing posts 1 to 2

i want to know something to make the game better, but i don't know where to ask

Submitted

that's what this is for i would think

ok, if you know, how can i check if the X of an object is increasing?

Submitted (1 edit)

you could try:

(object create event)

x_coordinate = x;

(object step event)

var object_x = x;

if(object_x > x_coordinate){

stuff

}

this will only check if the x coordinate is larger than it was when the object was created. I might be able to make it work every step, but it would depend on your code

ok, i think it will work, thanks!