Jump to content
Dai Ichi

Image World Map System

Recommended Posts

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.1
    • Added 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


USERBAR_DOWNLOAD.png V1.1


 


Screenies


 


IWMS01.png


 


IWMS02.png


 


IWMS03.png


 


 


Additional Credit (not needed for Script)


donjon's Fantasy World Generator (awesome stuff xD this is where I made my map image)


Edited by Dai Ichi

Share this post


Link to post
Share on other sites

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

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 by Dymdez

Share this post


Link to post
Share on other sites

Hey DAI!

 

Is this script only supported for the default resolution?

 

I'm having the following issue

 

hbnvShH.jpg

 

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

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!

Share this post


Link to post
Share on other sites

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 :P

 

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

 

 

 

 

IXYObNX.jpg

 

 

 

Edited by Dymdez

Share this post


Link to post
Share on other sites

@Sixth
Thanks 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 xD
On 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!

@Dymdez
Good thing you told me about the blend type of the cursor, that was supposed to be a configurable option :3

Updated to 1.1 too~! Will update the post in a bit. If anyone else has any suggestion, please post~! :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×