Jump to content

MapIt , Tile World from Image


Xandy
 Share

Recommended Posts

Brilliant Xandy, just brilliant. :D

@TheDcoder and I, have had the privilege to share part of the journey with you as you have been developing this (discussions in HexChat and many youtube clips and code examples), and to say we are impressed, as I am sure Dcoder will agree with me, would be a huge understatement. :gathering:

We haven't been able to contribute much, other than enthusiasm and encouragement, but it has been a joy to see you conquer things etc and progress.

You are one very dedicated and talented man/coder. :thumbsup:

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

Great program @Xandy, would certainly be useful for those who want to do some tile extraction from games :)

@TheSaint has stolen words out of my mouth :D

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

7 minutes ago, TheDcoder said:

@TheSaint has stolen words out of my mouth :D

Actually, it was out of the upper left quadrant of your brain.

Spoiler

But don't tell anyone about my MapIt mind reading powers ... that Xandy taught me ,,, over Burritos and Donuts. o:)

 

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

Updated first post.

Draw world to pre-rendered layers.  (For providing quick blit operations with separate layers)

Map with auto-color detection.

Delete tiles using lasers.  /\

Xandy_World_Lasers2.gif

Map_It_Create_Destroy.gif

Some new hotkeys:

  1. Plus and minus (not on numpad): to change target layer.
  2. CTRL+M: to open map.
  3. Plus and minus (numpad): to change map scale.
  4. ESC: to exit map.
  5. Delete: destroy a tile on select layer.
Aug 19 2018 11:20 EST: Added hot fix:

If $tile > Ubound($aTile) - 1 Then $tile = 0
This fixes a crash that appeared inserting the default tile when 0 tiles were loaded.

 

Edited by Xandy
Link to comment
Share on other sites

Added animated water background layer.

Map_It_Water.gif

Added effect layer drawn after all board layers
    - This removes all screen tear flickering destroying tiles with lasers

Fixed Tile Menu\Edit\Replace Colors - To update color with changes and use the updated colors.

Fixed unremoved menu from Tile\Edit\Replace Color: GUICtrlDelete($menuHelp)

Added Change_Window_Size(): 

  1. Assigns new size to window / screen
  2. Remakes apBG to win_size + 1 tile w, h for animated background layer scrolling
  3. Redraws tile file to apBG[0] (water)
  4. Remakes surfEffect to new size of screen

Added toggle to Window Menu\Show to disable BG display layer: **Now in the Background Menu

 

Video removing transparent colorkey from background tiles b/c I don't want the water bleeding through.

Spoiler

 

 

A new download is available from the MapIt website.

While it is true that many of these new features were already part of the Dragon Warrior 3 Remake.  MapIt has overcome some of the problems that were holding the Remake back.  IE: I can always determine correct tile under mouse now.  A critical bug holding the Remake back before.

So every system brought over is a big success again.

Edited by Xandy
Link to comment
Share on other sites

 

  1. Properties dialog for World: Layers, Width, Height.
  2. Properties dialog for Tile: Width, Height.
  3. Fixed a crash occurring on World_Save() - Cancel
  4. Changed World_Save() process to create folder of filename entered in dialog and place filename inside folder as well as Tiles folder
  5. Toggle display scrolling background layer: On / OFF
  6. Converted aWorld from struct to array aWorld[layer][x][y][data] this removes the need to recreate structs on ReDim greater size.
  7. Much faster to shift in size.

    

  1. Hotkey_Dialog() Now has pages and saves hotkeys.
  2. If hotkeys stop working, sometimes I forget to restore them after another window has been activated.  Use F1 to restore the hotkeys.
  3. If somehow you have tried F1 and they're are still totally fucked, delete the file at User Documents\Songersoft\MapIt\Hotkeys.txt
  4. If the world map fails to repaint to aBoard[] F2 will update the world to aBoard and then to screen.  Use F2 to fix if map doesn't update.
  5. Moving to board boundaries now redraws world to board.

Behold!  Dynamic water tile file and dynamic tile frame.

  1. Added Background Menu: Custom scrolling background tile layer can be selected
  2. Added rando trees, low hanging fruit never looked so good.

Map_It_Font_Water_Rando_Trees.gif

 

A new download is available from the MapIt website.

Edited by Xandy
Link to comment
Share on other sites

Also a new Overworld file: http://songersoft.com/programming/mapit/worlds/Overworld_Tile_Changes.zip

(It's the world map in the post above)

To use.  Run MapIt.  World Menu \ File \ Load  - Navigate to the Overworld_Tile_Changes.txt.  Located in the Extracted: Overworld_Tile_Changes.zip

[ _IsPressed( 'x' ) deletes tiles. ]  The Accelerator keys seem to get bogged down.  So now you can set an Accelerator delete key or use the _IsPressed( 'x') to fire lasers.

Edited by Xandy
Link to comment
Share on other sites

  1. Fixed Redim_To_Settings issue causing crash for new users.
  2. Changed World Save, Load to use User Documents\MapIt\Worlds
  3. Fixed World_Create_Dialog() wasn't updating tile palette when tiles were loaded.
  4. Changed lasers to damage the side of tile hit.  Very cool forests now :/

 

A closer look at the new forest lasers:

Spoiler

 

A new download is available from the MapIt website.

Edited by Xandy
Link to comment
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
 Share

×
×
  • Create New...