![]() |
Algorithm for warping
On my custom map script, I need the player to be able to warp (like CTRL + click on classic map). I can't find the algorithm.
I'm using a GuiShowImgCtrl named Map_Window. The gmap is 32x32 levels wide. This is what I've got ... it's probably all wrong. PHP Code:
The map image is 538x538 pixels. Looks like this: PHP Code:
|
Check out my custom bigmap script:
http://forums.graalonline.com/forums...ad.php?t=68644 It has the exact thing you want. Look at the onMouseDown() event. |
Thank you so much! That worked perfectly. For those curious I did this.
PHP Code:
|
| All times are GMT +2. The time now is 10:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.