Search found 17 matches
- Mon Jun 11, 2007 3:58 pm
- Forum: Beginners Help
- Topic: Tiles clickable
- Replies: 2
- Views: 555
Tiles clickable
Consider this. I have a Map object composed out of Tile objects, each Tile holds some Tile specific data like id, texture and some other, for this topic irrelevant, properties. I also have a Main class, which holds the 'game' loop and in which the Map (and it's tiles) are drawn to the screen. Now I ...
- Fri Jun 08, 2007 2:32 pm
- Forum: Beginners Help
- Topic: Coordinate system/ dynamically placing objects on the map
- Replies: 3
- Views: 364
- Fri Jun 08, 2007 1:19 pm
- Forum: Beginners Help
- Topic: Coordinate system/ dynamically placing objects on the map
- Replies: 3
- Views: 364
Coordinate system/ dynamically placing objects on the map
Consider the following. I'm loading an XML file containing some (static) world data, for example trees and rocks on certain places. This produces tiles of which the world is composed (for ease think of a 2d map, so only x en y coordinates exist), so while running the application we see a world in wh...
- Fri May 18, 2007 4:00 pm
- Forum: Beginners Help
- Topic: GUI Problems
- Replies: 2
- Views: 296
- Fri May 18, 2007 1:32 pm
- Forum: Code Snippets
- Topic: (C++) RTSCamera
- Replies: 39
- Views: 32531
- Fri May 18, 2007 12:52 pm
- Forum: Beginners Help
- Topic: GUI Problems
- Replies: 2
- Views: 296
GUI Problems
Hi, I have a map loaded from an XML file rendered to my screen, but now I want to add GUI components, which works, but when I scroll my map the map seems to be OVER the (2D) GUI controls, not underneath it. Is it possible to make, for example, a top layer in my application which is always on top of ...
- Fri May 18, 2007 12:47 pm
- Forum: Code Snippets
- Topic: (C++) RTSCamera
- Replies: 39
- Views: 32531
- Fri May 18, 2007 12:27 pm
- Forum: Irrlicht.NET
- Topic: GUI Handling
- Replies: 0
- Views: 1443
GUI Handling
I've been playing around with 2D-GUI elements for some time to get used to their look and feel, but now I would like to apply them over my 3D render, now the 3D render is ontop of the GUI, is it possible to work with, for example, 2 layers? 1 for the GUI one for the 3D render of my map?
- Tue May 15, 2007 6:51 pm
- Forum: Beginners Help
- Topic: Not able to click a button
- Replies: 8
- Views: 564
- Tue May 15, 2007 6:34 pm
- Forum: Beginners Help
- Topic: Not able to click a button
- Replies: 8
- Views: 564
- Tue May 15, 2007 6:07 pm
- Forum: Beginners Help
- Topic: Not able to click a button
- Replies: 8
- Views: 564
- Tue May 15, 2007 6:00 pm
- Forum: Beginners Help
- Topic: Not able to click a button
- Replies: 8
- Views: 564
Yes, I have done both, Code for my event delegate (in short ofc.): public bool OnEvent(Event p_e) { int eventID = p_e.Caller.ID; if (p_e.Type == EventType.GUIEvent) { switch (p_e.GUIEvent) { case(GUIEventType.ButtonClicked) : { if (eventID == 101) { // perform_magic(); return true; } break; // snip ...
- Tue May 15, 2007 5:43 pm
- Forum: Beginners Help
- Topic: Not able to click a button
- Replies: 8
- Views: 564
Not able to click a button
Though I've written the code in a .NET wrapper for Irrlicht (CP) I won't have any trouble converting code from c++ to C#, that being said, the following problem occurs when I try to add a Button to my project. First I make a pointer to the GUIEnvironment using: GUIEnvironment guienv = device.GUIEnvi...
- Mon May 14, 2007 12:31 pm
- Forum: Beginners Help
- Topic: intellscene [visual studio 2005 ][Irrlicht 1.3] (SOLVED)
- Replies: 3
- Views: 463
- Mon May 14, 2007 12:07 pm
- Forum: Irrlicht.NET
- Topic: C# HelloWorld example compiles; but runtime error :(
- Replies: 4
- Views: 2840