Skewer game problem help
ArcticSquire
Member Posts: 14
Im in the early stages of making a game in which you skewer 'meat', endless runner style.
Just trying to see if i can get the mechanics i want right before i design it (Designer > Developer).
the 'skewer' is at the bottom of the screen and moves along the X axis. i have an object ('tip') at the end that i want to skewer the meat when they collide. the easy way jumps the meat to the skewers X, but this looks bad. i want a little offset, say the meat isn't hit right in the middle.
maths equations isn't my strong suit. is there a way i can have the meat 'stacked' relative to how it was skewerd, is there an expression way of doing this?
sorry if its not a good description, relatively new to gamesalad & primarily a designer. Thanks.
Comments
Iv made an attribute in the meat object called 'meatoffset'. im thinking i need to subtract the skewers X from the meats or visa versa, then set that as 'meatoffset'. then set the meat to skewersX + meatoffset?
on the right track?
Here's a demo.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User