![]() |
Minor Fix for Remote setting of x,y
PHP Code:
PHP Code:
... Without this, when setting item.x += dx, the item position doesn't update. It only does when you actually set it this.x = this.x; in it's own script. Awkward character of GS2! |
I guess you can also pass dx and dy as parameters, then for onMoved for the item do: this.x += dx and this.y += dy.
|
| All times are GMT +2. The time now is 09:05 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.