With SSK, is there a way to move an object regardless of where it's facing at... (eg. just move the obj to a vector even if it isn't facing the vector)?
Jump to content
There are a number of ways to move objects with the ssk.actions.* lib.
ssk.actions.* Part 1 - https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/actions1/
ssk.actions.* Part 2 - https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/actions2/
If you simply want to move something by a fixed amount, again you don't need SSK2. Just use obj:translate(x,y).
Note that the actions library only adds complex and non-existent features to the mix. If pure Corona can do it already, I did not add it.
Sorry I didn't elaborate on my question. I agree I don't need SSK2 just to move objects around.
What I actually meant was: I already have existing code in my game using SSK2 where some objects follow (chase) another object(s), using actions.movep.forward() in conjunction with actions.face(). Trying not to change much on the code, I was wondering if I could make a variation where those objects still chase their "targets" without facing them.
But yes, I could switch to pure Corona way of doing it otherwise.
I came up with a couple of options. The aren't in the official action.* lib yet, but you can get the update for movep.* here:
Community Forum Software by IP.Board