Search found 17 matches

by Worteltaart
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 ...
by Worteltaart
Fri Jun 08, 2007 2:32 pm
Forum: Beginners Help
Topic: Coordinate system/ dynamically placing objects on the map
Replies: 3
Views: 364

Hmm ok, I have to look into that, not very familiar with collision yet.

And just 'asking' the current cursor location in the worldspace?
by Worteltaart
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...
by Worteltaart
Fri May 18, 2007 4:00 pm
Forum: Beginners Help
Topic: GUI Problems
Replies: 2
Views: 296

Lol, why didn't I think of that before :shock:
by Worteltaart
Fri May 18, 2007 1:32 pm
Forum: Code Snippets
Topic: (C++) RTSCamera
Replies: 39
Views: 32531

So I will, so I will ;)
by Worteltaart
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 ...
by Worteltaart
Fri May 18, 2007 12:47 pm
Forum: Code Snippets
Topic: (C++) RTSCamera
Replies: 39
Views: 32531

Does anyone have a .NET port for this piece of work (C#)?
by Worteltaart
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?
by Worteltaart
Tue May 15, 2007 6:51 pm
Forum: Beginners Help
Topic: Not able to click a button
Replies: 8
Views: 564

Ah I see, thanks a bunch, works perfectly!
by Worteltaart
Tue May 15, 2007 6:34 pm
Forum: Beginners Help
Topic: Not able to click a button
Replies: 8
Views: 564

That's exactly what went wrong indeed.

I commented out the mouse handlers, but what now?
I need the mouse handler for scrolling the map!
by Worteltaart
Tue May 15, 2007 6:07 pm
Forum: Beginners Help
Topic: Not able to click a button
Replies: 8
Views: 564

The return true at the bottom was a typo. I have loaded a "world" from textures and a heightmap, and I try to draw the GUI over it, maybe this causes the error, any clues? In other words, I render both a scene and a guienv in my device.run() loop, is this the problem, and if so, how to fix...
by Worteltaart
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 ...
by Worteltaart
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...
by Worteltaart
Mon May 14, 2007 12:31 pm
Forum: Beginners Help
Topic: intellscene [visual studio 2005 ][Irrlicht 1.3] (SOLVED)
Replies: 3
Views: 463

Do you have a correct reference to the .NET dll and are you making VS aware of the namespaces? e.g. using Irrlicht; using Irrlicht.Core; using Irrlicht.GUI; using Irrlicht.IO; using Irrlicht.Scene; using Irrlicht.Video; If you dont, IntelliSense is unable to figure out what you're talking about :)
by Worteltaart
Mon May 14, 2007 12:07 pm
Forum: Irrlicht.NET
Topic: C# HelloWorld example compiles; but runtime error :(
Replies: 4
Views: 2840

Same applies to me, what I've done:

- Copied the DLL files to my Debug directory
- Added a reference in VS2005

What steps am I missing, this isn't really getting us anywhere hehe