Jump to content
  • Advertisement
  • entries
    707
  • comments
    1173
  • views
    436773

Untitled

Sign in to follow this  
Programmer16

85 views

Well, I didn't end up going to bed at midnight last night like I planned. It was more like 3:30.

Anyway, it looks like I'm going to be doing more like a console RPG. I tried to add the hostile AI last night and it was horrible. If I turn it up passed a tenth of a second updates, it has major issues (because whenever MoveTo() is called, it's movement queue is cleared and it's last waypoint is pushed on, to make sure that it's on a tile. So, every .1 of a second it's moving back to line up with the grid and then coming after you. And then there is the issue that if you're moving, it can't find you and the game freezes (and it proceeds to searched 10,000 nodes.))

So, unless I can figure this out, I'm going to have random battles. I know I could do it, but I'd have to rewrite a large chunk of the code and I really don't want to do that. The problem is that I'm forcing it to line up with the tile-grid.

Anyway, work time. Gotta run.
Sign in to follow this  


2 Comments


Recommended Comments

LOL yeah thats my problem to, not going to bed! The GF hates me for that. I stay up and code she goes to bed without me! :) Hey this stuff is an addiction worse than crack! :) Anyway keep on coding if you ask me.

Share this comment


Link to comment
Quote:
Original post by MARS_999
LOL yeah thats my problem to, not going to bed! The GF hates me for that. I stay up and code she goes to bed without me! :) Hey this stuff is an addiction worse than crack! :) Anyway keep on coding if you ask me.


Yea, I'm all for staying up late and coding, but I've been getting up around 8:30 every morning lol. And yes, this stuff is worse than crack (in a good way I guess.)

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!