GameMaker: Studio

GameMaker: Studio

View Stats:
Oyakiiv Feb 13, 2016 @ 11:25pm
weird y cord bug... (still broken)
yeah... for some reason the object I'm using seems to have a broken y cordinate.

it is placed at y 24 in the room and for some reason it seems to be stuck at zero. (UPDATE: not stuck at zero, it is set to -24 for some reason)

I have no code that changes its initial y cord and it doesnt move without user input.

I had even made a duplicate (with some minor changes, that dont involve the y cordinate) but the duplicate doesnt have this problem...

so I tried duplicating it again and erasing the original...but it still has the same problem...

now that I have written this I will double check...but I would still like some suggestions and if you would like me to post the code, i can.
Last edited by Oyakiiv; Feb 17, 2016 @ 12:02pm
< >
Showing 1-5 of 5 comments
Sistermatic™ Feb 13, 2016 @ 11:55pm 
Have you centred the origin? The x and y is taken from that.
Oyakiiv Feb 14, 2016 @ 12:00am 
well the duplicate without the bug uses the same sprite, I checked it anyway, no change.
MaiKuro Feb 14, 2016 @ 12:49am 
Thats a weird one. Is there anything at all that changes its y position?
Oyakiiv Feb 14, 2016 @ 12:58am 
nope...in fact I just fixed it...

I deleted it entirely...and wrote a new one...there was alot of copy paste...

so apparently there was something wrong with the internal coding that was preconfigured in the object...

even saying that it doesnt explain the first duplicate working properly and every other one not...

though in the end I had deleted and remade them both by just copy-pasting the code from the old ones...
Last edited by Oyakiiv; Feb 14, 2016 @ 1:00am
Oyakiiv Feb 17, 2016 @ 11:59am 
ok nevermind I was wrong, it's not fixed anymore! it was fixed for a little bit, then it started doing it again!

the only thing I changed was the room, by removing the objects that it will be switching places with, but they dont even interact with each other until they switch...
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Feb 13, 2016 @ 11:25pm
Posts: 5