-
No, its a mess, I was thinking about just having medium sized maps that only require slight canvas movement, do you know how I can tween the canvas, ill also tween the tool bar with it.
I think if this were possible itd be way more efficient and i'll still have button navigation
but I can have slightly larger rooms, you get me?
-
Nope, I have no idea as I don't know how SmartFoxServer functions :(
-
nooo, it has nothing to do with smart fox I even abandoned it though im using my own socket server I made using a tutorial, I just want to know lets say my character hit tests a certain object than the screen would move up acouple of pixels as in screen I mean the canvas or what ever you call it.
-
I dunno what you mean by the canvas, but just change the _y of the map :?
-
Forget it, If I change the _y and _x of the map the server will still see the character on the same x y position so itl look weird, I dont think you'd understand but w.e i'll figure something, thanks
-
Why not offset the character by how many pixels you've moved the map??
-
I already thought of that, the game would look for the person moving, but for another player on the game it will look odd because the maps moving for them not for you.
-
Well, I'm out of ideas...
-
Is the only way to move the canvas by using vcam?
-
vCam only uses _xscale, _yscale, _x and _y to reposition and rescale the current movieclip it's in, so you should be able to manually use those properties to do it..
-
-
oh, thanks angelhdz, I was a bit confused what he meant by Canvas XDXD
In that case, use _root, which is the "canvas", the stage itself:
_root._xscale
_root._yscale
_root._x
_root._y