Jump to content
  • Advertisement
  • entries
  • comments
  • views

Still plugging along

Sign in to follow this  


Did a little more fiddling on the editor today. I redid the on-screen brush cursor display that shows what region of the map you are editing. IN the old version, I had a cursor that consisted of a single high-lighted tile that sorta followed the mouse cursor around, following the terrain surface. Now I've changed it to show a representation of the currently selected brush so that you have a better idea of what is going to happen when you start painting. Basically, I just construct a 49x49 mesh by copying terrain values from the heightmap, and copy colors from the selected brush, then draw the mesh over the top of the terrain using an additive blend. It works much nicer than the old way.

As soon as I figure out the Fox toolkit's file dialogs (should be easy, just haven't looked at the docs yet) I will get the Export Heightmap to TGA function working, then I will do the Windows build and upload for people to play with. Still have been procrastinating the blur tool and the erase terrain tool, but that's just how I am. Here are a couple shots of the cursor system in action.

Back to work...
Sign in to follow this  


Recommended Comments

Fox Toolkit.

It's pretty nifty, but one thing that might bother some folks is that it uses it's own widget drawing engine, rather than using the native OS widgets. This has the effect that all Fox apps will have a consistent look across platforms, but they won't, for example, have an appearance consistent with Windows themes and styles. I personally don't have a problem with it, but I've noticed that hardcore Windows freaks complain about it a lot.

Share this comment

Link to comment

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
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!