I have a 2D grid of squares. When I click the mouse I can easily determine which square the mouse was in with some division
Now I want to move to a 2D hexagon grid and be able to tell which hexagon the mouse pointer is in? How would I do this? Is there a formula for calculating this?
Search found 6 matches
- Sat Apr 01, 2006 9:33 pm
- Forum: Beginners Help
- Topic: hexagon grid?
- Replies: 3
- Views: 431
- Sat Mar 18, 2006 8:27 pm
- Forum: Beginners Help
- Topic: Program working only when run from IDE
- Replies: 4
- Views: 297
- Sat Mar 18, 2006 5:19 am
- Forum: Beginners Help
- Topic: Library Help
- Replies: 3
- Views: 323
- Sat Mar 18, 2006 4:31 am
- Forum: Beginners Help
- Topic: Program working only when run from IDE
- Replies: 4
- Views: 297
Program working only when run from IDE
I'm using Visual c++ 2005 Express and I've written a program using irrlicht. When I run the program from the IDE's debug menu (either with or without debugging) the program runs as expected but when I double click the exe the screen is black with the cursor but nothing else. currently I'm only using...
- Thu Mar 09, 2006 2:37 pm
- Forum: Beginners Help
- Topic: Creating GUI in irrlicht
- Replies: 10
- Views: 965
- Thu Mar 09, 2006 2:27 pm
- Forum: Beginners Help
- Topic: Creating GUI in irrlicht
- Replies: 10
- Views: 965
Creating GUI in irrlicht
I want to create my own GUI in Irrlicht for a project I'm working on. Do I need to disable the default GUIEnvironment? Are there any tutorials about this?