Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    109
  • comments
    378
  • views
    128169

Entering buildings works!

Sign in to follow this  
Raduprv

109 views

In the last 2 or 3 days, in betwen wasting my time on the Lounge :D, I wrote the code that allows you to enter (and exit) the buildings that are dynamically added. Since the buildings are actually different independent modules that might or might not reside on the same map, this wasn't really easy. Not very complicated either, but took some planing.
Anyway, the code is ALMOST done (it doesn't take into account the rotation of the buildings), and, amazingly, even though it was abut 50 lines long, it worked in the first try! No cursings, no debugging! I think it's the first time in my life when something like that happens. of course, there might be some sort of latent bug that I won't discover until the game is full of users, and it will manifest tiself into existence at the worst possible time :D
Until then, there are some bugs with the client not saving/loading the map properly, so sometimes it crashes when started (a solution is to delete the map, so it will get it new from the server). I will wait for Wytter or Sadez to fix this problem, when they will have some time.
Sign in to follow this  


4 Comments


Recommended Comments

Quote:
This god damn Internet is a huge distraction

Quote:
wasting my time on the Lounge

YOU LACK DISCIPLINE!

Share this comment


Link to comment
=(

I've been lacking discipline a lot lately as well...

Must be an epidemic.

I say we quarantine everybody.

Share this comment


Link to comment
Somehow, discipline always disappears when faced with an annoying task like writing 5k lines in XML. Then, if I'm quarantined, what will I do... rewrite bash in python? Scary thought.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!