Jump to content
  • Advertisement
  • entries
  • comments
  • views

City Editor (Part 2) + Video

Sign in to follow this  


Hey guys, I was hoping to have my city editor finished up today, but as usual, it's proving to be a little more work than I had anticipated.

Still...once this is finished it will add a ton of replay value to the game...players will be able to fight for control of their own city against other players online. I can't wait to get all this into the hands of some testers.

Here is a video of the editor in action...it mostly showcases the realtime shadows on EVERY object in the city. The player has control of the time of day (via slider bar) when they are in the editor....so they can see how their city will look at every time of day.

CLICK HERE TO DOWNLOAD GangWar_Editor_Video_1.avi (10MB)

I think it looks awesome, I love watching the shadows move across the city. Also notice the subtle color and atmospheric changes at each time of day....I spent a lot of time tweaking these shadows and they're finally starting to look as I'd imagined them.

Here are some screenshots of the editor, after two days of work.

A blank map....I'm just about done designing the interface...

A screenshot lower to the ground...remember this editor is totally in-game and uses the same GUI that the in-game windows use.

Another screenshot pretty low to the ground, you can see the lines representing the currently selected piece of city, as well as the current mouse world position represented by the yellow lines.

A screenshot of a city after I butchered it up :-)

As usual I'd appreciate any feedback, especially on the video.

I had to do a lot of tweaking between the local and global shadow maps to make them blend more seamlessly and I'm pretty happy with the results. There is a weeee bit of z-fighting at extreme sun angles...I'm using a dynamic z-bias right now...I'm probably going to add some more code to that area as the game gets closer to release to make it perfect. There is still a little bit of a problem with the z-bias right now, when the camera is high in the air.

Let me know what you guys think.

- Dan
Sign in to follow this  


Recommended Comments

Guest Anonymous Poster


Love it! :D

Seriously, looks really nice! I will probably purchase it when it is released, just for the heck of it. And becuase it looks damn fun to play, of course. Keep working on it, the progress of this game has been nice to follow.


Share this comment

Link to comment
Thats awesome, I really like how the lighting looks more "yellow-y" around sunset, very cool!

Share this comment

Link to comment
Guest Anonymous Poster


Wow that lighting does really look great !!

This editor is a nice touch to the game.

Keep up the great work

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!