#1, by DilatedMonday, 23. March 2015, 09:06 6 years ago
Hey dudes!
I feel like I'm that guy, but here is another weird issue. Not sure exactly whats the problem, and I've noticed its happened in varying degrees to to other parts of the game which employed Move Object.
Alright so when I set up a move object action to bring and object onto the screen, after doing it a couple of times it will not go to consistent position. (I've also noticed it happens when the game lags slightly)
And here is the video of what happens
Initially I thought it was that when I activated one move action, it activated the other action before it finished, thus making it move to a different position. I tried it with giving 2 seconds between both actions, still has the same issue.
POSSIBLE THEORY WHY ITS NOT WORKING My only thought now its got something to do with the pause actions I've set up (I thought it might be an issue with the pause 0 ms, but changed that to longer, no difference though). I found that the object won't move unless I put that action there, is there something else I can do?
#2, by afrlmeMonday, 23. March 2015, 11:51 6 years ago
I will read this thread properly a bit later on. Bit busy at the minute. I'd just like to point out 1 slight issue I spotted in attachment 2. You didn't close off your if query. You should always close them off with the end if action part. There should be the same amount of end if as if's...
#3, by DilatedMonday, 23. March 2015, 12:07 6 years ago
Thanks dude! I'll try that out. Probably the most customised gameplay in Paradigm I've made so far, so I'm pretty nooby at it still, appreciate the help!
#5, by DilatedMonday, 23. March 2015, 12:15 6 years ago
Yeah, I actually thought I fixed it, but after a few more activations of the sliding action, it moved in the wrong position still even with longer pauses. Thanks though.
#6, by afrlmeMonday, 23. March 2015, 14:27 6 years ago
Hmm not really seeing anything at a glance at the screenshots. To be honest I'm not keen on the move object action part as it uses offset instead of coordinates. It's far easier to move animations instead.
By the way, in the next version of Visionaire Studio, there is a new move object action part which allows you to move an object to specified coordinates instead of using offset. Much simpler.
You could try using Lua script to move the object instead of the action part?
Objects["object_name"]:to(150, {ObjectOffset = {x = 1920, y = 0}, easeQuintOut) -- easing parameter is optional & can be changed.
#7, by DilatedMonday, 23. March 2015, 15:12 6 years ago
Thanks dude.
Ah yes, coordinates would be so much more useful! l look forward to the update.
I tried the script, doesn't seem to make the object budge for some reason, tried to call it at beginning of screen, and via a key binding, no dice?
Objects["Dialogue_Options"]:to(150, {ObjectOffset = {x = 1920, y =0}, easeQuintOut)
Copied it exactly and inputed "dialogue_options" which is the name of the object. Even tried SetPosition as well instead of to, still no dice. Is there something I'm missing?