Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Making a tactical 8 directional game. Grids?

Author
Message
Yoshiman1
21
Years of Service
User Offline
Joined: 12th May 2004
Location:
Posted: 17th Apr 2005 11:57
In order to program my AI, I need a grid so that it can check if there's someone in the next grid tile.


How do you create a grid in DBC that objects can interact with?
Knartz
20
Years of Service
User Offline
Joined: 12th Apr 2005
Location:
Posted: 18th Apr 2005 04:02
hi,
8-sided grids are complicated.

maybe you'll first start of with a square grid and play around with that and then you go over to hex-grids.

i found an good article at www.gamedev.net in the articles section that exactly explains how to code a hexgrid.

print " "
print " i like smileys !"
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 18th Apr 2005 05:18
you mean asin AI grid? you can't

Login to post a reply

Server time is: 2025-05-23 11:35:25
Your offset time is: 2025-05-23 11:35:25