Dai Ichi 21 Posted October 13, 2015 (edited) Introduction This script recreates a world map system that uses an image file. Users can define locations(map points). This also features a 'fast travel' menu for those who feel that moving around with a cursor is dragging and boring. Updates 2015.11.28 - V1.1Added blending option for cursor Improved sprite handling 2015.10.13 - V1.0 2015.10.11 - Started Script Features Easy to configure Compatible with almost all other scripts Script calls to integrate map locations with the gameplay/story Download V1.1 Screenies Additional Credit (not needed for Script) donjon's Fantasy World Generator (awesome stuff xD this is where I made my map image) Edited November 28, 2015 by Dai Ichi 3 halrawk, magic2345 and Dymdez reacted to this Share this post Link to post Share on other sites
magic2345 252 Posted October 14, 2015 What a coincidence, I was literally just mucking around with donjon's generators a few seconds ago. XD This is pretty awesome, I'll have to tinker around with it. 1 Dai Ichi reacted to this Share this post Link to post Share on other sites
Dai Ichi 21 Posted October 14, 2015 What a coincidence, I was literally just mucking around with donjon's generators a few seconds ago. XD This is pretty awesome, I'll have to tinker around with it. Cool. xD Please do tell me if you have any suggestions, those are always welcome. Share this post Link to post Share on other sites
Dymdez 77 Posted October 14, 2015 (edited) Dai, downloading now, I can't wait to delve into this Maybe I'll make a demo when I get the hang of it, for ya. Unless you already have one in the works? Edit: oops Oh yes, this is very nice Edited October 14, 2015 by Dymdez 1 Dai Ichi reacted to this Share this post Link to post Share on other sites
Dymdez 77 Posted October 23, 2015 Hey DAI! Is this script only supported for the default resolution? I'm having the following issue As you can see, the cursor position, icon position and name position are all not coordinated. I'm sure I am using the correct coordinates (gimp gives exact coordinates). Here's the project file: https://www.dropbox.com/s/mhtusey9iih42k7/ImageWorldMap.exe?dl=0 Share this post Link to post Share on other sites
Sixth 113 Posted October 23, 2015 Have you edited the CURSOR_ORIGIN setting for your cursor? Btw, which one is your cursor on the screenshot? o.o @Dai Ichi You have several undisposed sprites, which create a memory leak. You can NOT create any local variables holding a sprite unless the sprite will be disposed at the end of the method containing the local variable. If you do the above, it will become a memory leak. Looking a bit more into the code, you did not dispose any sprites/viewports you created on the scene at all. You must dispose all bitmaps/sprites/planes/viewports you create in any scene to avoid memory leaks and random game crashes. These must be disposed in this order exactly too! So, first you dispose the sprite's/plane's bitmap (sprite.bitmap.dispose), than goes the sprite/plane itself (sprite.dispose) and finally the viewport (if any is made on the scene for your sprites/planes) (viewport.dispose). A viewport can only be disposed safely, when you disposed anything on it (meaning all sprites/planes using that viewport). If you leave even one sprite/plane on your viewport when you dispose it, the script can create random crashes. I suggest you get this script: http://forums.rpgmakerweb.com/index.php?/topic/17400-hidden-gameexe-crash-debugger-graphical-object-global-reference-ace/ And never code without it. If it reports any memory leak/possible crash issues, you know that you missed to dispose something. Other than the sprite issues, it's a cool script! 1 Dymdez reacted to this Share this post Link to post Share on other sites
Dymdez 77 Posted October 23, 2015 (edited) Sixth, I have not edited that, I just quickly grabbed the cursor graphic for triple triad ^^ You'll see it placed under "Stronde" Trying that now Edit: Sixth! What are you, my guardian angel? The problem was exactly that, the cursor origin was using coordinates that did not match my graphic, Thanks so much! Also nice catch on the memory leaks Does anyone know how to make it so the graphic is not altered with color inversion and opacity changes? nvmd got it, comment out this line # @cursor.blend_type = 1 Sixth, for what it's worth, this script conflicts with Falcao ABS Edited October 23, 2015 by Dymdez Share this post Link to post Share on other sites
Dai Ichi 21 Posted November 28, 2015 @SixthThanks for pointing that out. I got too used to coding in Java (and still am), so I was lazy in disposing objects thinking that they'll be automatically thrown away xDOn an unrelated note: Ooh, Mithran, he used to teach me a lot when I was still coding for VX~! He's still awesome as ever. Thanks for linking the script too!@DymdezGood thing you told me about the blend type of the cursor, that was supposed to be a configurable option :3Updated to 1.1 too~! Will update the post in a bit. If anyone else has any suggestion, please post~! 1 Dymdez reacted to this Share this post Link to post Share on other sites
Sixth 113 Posted November 28, 2015 I just downloaded the demo, and it still has v1.0 in it. Did you forget to change the link? 1 Dymdez reacted to this Share this post Link to post Share on other sites
+ Lanakainea 22 Posted November 29, 2015 Hey this is pretty sweet, the script and that map generator Share this post Link to post Share on other sites
kaarnij 0 Posted May 15, 2018 can i use for commercial use? Share this post Link to post Share on other sites