Welcome Guest [Log In] [Register]
Hey there, guest! Either you forgot to log in or you're new here. If you're new, why don't you stop by and read the Lemon's Laws, maybe even join our fine forum?

Username:   Password:
Add Reply
Game Maker hates me
Topic Started: Aug 19 2011, 10:27 PM (311 Views)
Solid Snake
Member Avatar
Makes Games
 *  *  *  *  *  *
http://www.youtube.com/watch?v=XNAwyh_zaZw

The old x = object.x hasn't worked in forever...
But WHY THE FARKSNARKLE DID THE SPRITE CHANGE

Posted Image
fml
Posted Image
Offline Profile Quote Post Goto Top
 
Mewizkuit
Member Avatar
[this member title has been intentionally left blank]
 *  *  *  *
well for the x = object.x, it should work if you put it in the end step event...

as for the sprite changing, i have no idea
Posted Image
~A REF WILL MAGICALLY APPEAR IF YOU CLICK THESE WORDS~
Offline Profile Quote Post Goto Top
 
Solid Snake
Member Avatar
Makes Games
 *  *  *  *  *  *
Well changing the event to the end step fixed the following issue (a bit, it still does it randomly)
I wonder if the problems are connected though
Posted Image
Offline Profile Quote Post Goto Top
 
Mewizkuit
Member Avatar
[this member title has been intentionally left blank]
 *  *  *  *
what exactly is changing about the sprite? i cant really tell from the video

also, are either of the objects solid? that might be causing some collision problems
Posted Image
~A REF WILL MAGICALLY APPEAR IF YOU CLICK THESE WORDS~
Offline Profile Quote Post Goto Top
 
Solid Snake
Member Avatar
Makes Games
 *  *  *  *  *  *
Posted Image
Also, none of the objects are solid
Posted Image
Offline Profile Quote Post Goto Top
 
Mewizkuit
Member Avatar
[this member title has been intentionally left blank]
 *  *  *  *
hm, not totally sure if it will help, but one thing you might try is to set the object to always appear at an integer position (sometimes objects can move to half-pixel spaces which cause the sprites to distort)
you can do this by setting in the end step event (after all the other commands) to set x to round(x) and set y to round(y)
Posted Image
~A REF WILL MAGICALLY APPEAR IF YOU CLICK THESE WORDS~
Offline Profile Quote Post Goto Top
 
Solid Snake
Member Avatar
Makes Games
 *  *  *  *  *  *
Hey it works! :D
Thanks Mew!
Posted Image
Offline Profile Quote Post Goto Top
 
Mewizkuit
Member Avatar
[this member title has been intentionally left blank]
 *  *  *  *
oh yay im useful c:
Posted Image
~A REF WILL MAGICALLY APPEAR IF YOU CLICK THESE WORDS~
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Games and Development Forum · Next Topic »
Add Reply

hey there. i'm surprised you're reading this. but you should get back to the forum. have fun :] youmu > meiling Beep beep boop