Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

DAX Engine v1.0.0.7


Guest
 Share

Recommended Posts

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

The Map Editor now has working tileset loading/displaying and tile selection from a tileset. As you move your mouse in the tileset window your cursor will be hidden and replaced with a gold box  on the tile your mouse is over, when you click down it will put a bold gold box around that tile to indicate it being selected. That selected tile will then be the tile placed on the map. To deselect a tile either select a new one or right click to clear your selection (changing tilesets will also clear it). When your mouse leaves this area the original unbold gold box will disappear and your cursor will be visible again. (The bolded box showing your selected tile will still appear)

I finally got my SnapTo thing working to make sure it selected tiles at their proper positions within the tileset based on a TileWidth and TileHeight variable in the globals.

Preview:

>! ![](http://eclipseorigins.com/community/filehost/a9a3a6687a22215848d7a4616f2af709.png)

Now I have to start working on the actual mapping system….
Link to comment
Share on other sites

**Map Editor Update**

Today I fixed two problems in the map editor to do with rendering. I had a small problem with the tile placing that involved my calculating the X/Y cords the tile was at incorrectly. This is no longer an issue.
I also had a really dumb coding mistake in rendering the map that had me exiting out of the loop where I should of been skipping to the next part. This was a simple fix replacing Exit Sub with Continue For in two places.

Preview:
![](http://eclipseorigins.com/community/filehost/21e514b9e31f72ee46fc45e89341e461.png)

![](http://eclipseorigins.com/community/filehost/52f170a1be089eb69e34f0d79dc43aa7.png)
Link to comment
Share on other sites

**Development Update**

Today I fixed the loading/saving of maps and also changed the way loading/saving of accounts is handled to match this new way. This was needed to get layer/tile data to save and load correctly and will be needed for accounts once we get things like inventories in, so I changed it right now so its ready for later.

I also fixed a problem I was having with tile placement/removing once you scrolled the map. Before it was always 1 tile off but now its the correct tile. 

Map drawing has also been improved to only display the visible portion of the map. Before it was drawing the whole map even parts not visible on screen. This was causing some massive performance problems with bigger maps.

I just fixed a problem with the scrollbar sizes based on the map size, it wasn't the correct size before.

Preview:
![](http://eclipseorigins.com/community/filehost/4cf588ec477c07f6a60d3e3a1e4522fb.png)
Link to comment
Share on other sites

  • 4 months later...
> I believe they may have stopped working on this. do not worry however, i am working on a vb.net engine as well. look for it in the future.

![](http://www.quickmeme.com/img/c8/c849971aa7e8d7ec41f817da91f0050621c5c6d5ff8ed71df3bfaaf01d15c926.jpg)  You have my support, Growly.
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...