Search found 17 matches

by khamill
Sat May 19, 2007 1:30 am
Forum: Open Discussion and Dev Announcements
Topic: Started in Irrlicht, tried Ogre and came back to Irrlicht
Replies: 8
Views: 3000

Started in Irrlicht, tried Ogre and came back to Irrlicht

Hi Guys, Well, I started in Irrlicht about 4 months ago and wrote a couple 2D kids games without much trouble. I decided about 1 montn ago, I would try Ogre. Well, it took me a week to get a 2D pic displayed and I blew two more weeks or so trying to get OpenGUI to work, which I never did. Ogre is a ...
by khamill
Tue Apr 17, 2007 12:44 am
Forum: Beginners Help
Topic: draw2DImage update rate varies with window size?
Replies: 6
Views: 495

Fixed. I should of clued into the fact that 800 X 600 is 480 thousand pixels and 1200 X 1000 is 1200 thousand pixels. Of course the while loops will run at different rates. I used bitplane's example Here is my code: #define SPEED 0.3 int last_time = timer->getRealTime(); while loop { int current_tim...
by khamill
Mon Apr 16, 2007 3:00 am
Forum: Beginners Help
Topic: draw2DImage update rate varies with window size?
Replies: 6
Views: 495

No, that's not stupid. :D

However, it's also not the solution. I thought of that too. It's real obvious that its slower, but its not an illusion. I don't mean that as a smart remark.

thanks anyways.
by khamill
Mon Apr 16, 2007 2:34 am
Forum: Beginners Help
Topic: draw2DImage update rate varies with window size?
Replies: 6
Views: 495

draw2DImage update rate varies with window size?

Hi Guys, I have a rectangle moving across the screen, left to right. Nothing fancy. When I create my device with a size of 800 X 600 for the window, my rectangle moves across the screen at a reasonable rate. When I create the device with a size of 1200 X 1000, the rectangle moves across the screen a...
by khamill
Sun Apr 01, 2007 2:45 am
Forum: Beginners Help
Topic: Redirect: C++ Question [Delete me!]
Replies: 3
Views: 311

v.Y (probably a y-axis cordinate) is getting incremented by the result of:

event.KeyInput.Key == KEY_KEY_W ? 2.0f : -2.0f;

This says, if InputKey equals W, increment by 2.0, if not increment by
-2.0. The f on the 2.0 just stands for a floating point number.

Hope this helps.

Kevin
by khamill
Thu Mar 22, 2007 1:28 am
Forum: Beginners Help
Topic: 2D Image rendering problem (addImage)
Replies: 4
Views: 394

Yep, it was a dimemsion problem.

When I resized the image to 512 X 128 and displayed it again, it looks perfect.

thanks for the quick response.

I think that one took 5 minutes to get an answer. Wow!

thanks again

Kevin
by khamill
Thu Mar 22, 2007 1:06 am
Forum: Beginners Help
Topic: 2D Image rendering problem (addImage)
Replies: 4
Views: 394

2D Image rendering problem (addImage)

Hi Guys, I'm putting an image in 2d at the top of a Irrlicht device window. Here is where I create the device: video::E_DRIVER_TYPE driverType = video::EDT_DIRECT3D9; device = createDevice(driverType, core::dimension2d<s32>(800, 600)); I'm using virtual IGUIImage* irr::gui::IGUIEnvironment::addImage...
by khamill
Sat Mar 17, 2007 5:11 pm
Forum: Beginners Help
Topic: Listbox event question
Replies: 3
Views: 522

Thanks

getSelected() did the trick!!

Kevin
by khamill
Sat Mar 17, 2007 4:39 am
Forum: Beginners Help
Topic: Listbox event question
Replies: 3
Views: 522

Listbox event question

Hi Guys, I have a listbox event coming in. I'm getting separate events for separate listboxes. All is good. Question: How do I tell which item in the listbox has been selected? For example, If I have a listbox with "Yes" and "No" items and I select "Yes" to get the even...
by khamill
Fri Mar 16, 2007 2:31 pm
Forum: Game Programming
Topic: Unknown wave header in file
Replies: 2
Views: 1983

Thanks niko,

That's exactly what the problem was. It's working fine now.

thanks again

Kevin
by khamill
Fri Mar 16, 2007 12:41 am
Forum: Game Programming
Topic: Unknown wave header in file
Replies: 2
Views: 1983

Unknown wave header in file

Here is my error in Visual Studio 2005 Unknown wave header in file Could not open audio stream for sound file: ../sounds/ophelia.mp3 When I run the 3dsound tutorial, the ophelia.mp3 file plays fine. However, when I put it into my code, I get the above error. BTW, my code plays back a .wav file fine,...
by khamill
Mon Mar 12, 2007 8:46 pm
Forum: Beginners Help
Topic: Minimizing windows
Replies: 3
Views: 324

Thanks Travis,

I added a line to the device code as you said and now I have minimizing windows.

thanks

Kevin
by khamill
Mon Mar 12, 2007 3:35 pm
Forum: Beginners Help
Topic: Minimizing windows
Replies: 3
Views: 324

This seems like a bit of a stretch for something so basic, but I will give it a try...

Call me crazy, bit I didn't think I was going to have to change the baseline to minimize a window...

thanks

Kevin
by khamill
Mon Mar 12, 2007 3:08 am
Forum: Beginners Help
Topic: Minimizing windows
Replies: 3
Views: 324

Minimizing windows

Hi Guys,

I see the engine has a setResizeable method for Irrlicht windows. Is there a similar method for minimizing windows? I've noticed that when I use the setResizeable, the minimize functionality is shown but grayed out.

I want full windows functionality.

thanks

Kevin
by khamill
Thu Mar 08, 2007 5:06 pm
Forum: Beginners Help
Topic: Movement tutorial taking down machine
Replies: 2
Views: 439

I updated to the latest driver (14.17) for the 82865G Graphics controller which is what I'm running...don't laugh.

Still, she goes down.

I guess it's time to upgrade. I was warned about my graphics previously.

thanks