Quote:
|
Originally Posted by Idrox0
If my character was in the middle row (not the left one) and hit the obstacle, all is well, but then, if I slowly edge to the left (while still going down) I will walk through the leftmost coloumn of blocking tiles. However, this only happens when going these directions: Down-left, Up-left, Right-up, Left-up. See my attached script for reference.
|
I'm gonna have to open photoshop for this..
First off, your node creation is rather odd. This little graphic will show you what you're script does to find the nodes, red being the x,y of player and the blues being the newx/newy then the testx/testy (what I'm refering to as nodes):

Just find the center of the player then add the vecx/vecy stuff to that. (center of feet is playerx+1.5 playery+2, center of player graphic is playerx+1.5,playery+1.5)
This will pretty much accomodate the corner-jumping problem you're having.
Quote:
|
Another thing... does offline mode emulate serverside and clientside scripting? I do not own or work for a server, and I probably won't any time in the near future, so I don't have any way of testing such things.
|
Offline has clientside only.
I don't work for any servers yet I have access to a couple of servers just to test stuff. Point being, you can get limited RC access to some servers to learn scripting. (there is a "Graal Test Server" that should work out for you, it's enabled for the new engine, but it's backwards combatible so you don't have to worry about that if you don't want to)