Search found 28 matches

by bobyBola
Mon Dec 14, 2009 9:22 am
Forum: Beginners Help
Topic: Cursor setVisible
Replies: 14
Views: 1036

wow... thanks ^^
by bobyBola
Thu Dec 10, 2009 2:22 am
Forum: Beginners Help
Topic: Cursor setVisible
Replies: 14
Views: 1036

In my current project I hide and show the cursor, depending on the current state of the program (hidden in main menu, game, visible in options, game setup...). I realized that hiding the cursor works fine, but if I want to make it visible again it only is shown if the cursor was in the application ...
by bobyBola
Wed Dec 09, 2009 7:03 am
Forum: Beginners Help
Topic: Cursor setVisible
Replies: 14
Views: 1036

at first, i set the cursor invisible because i wanna display the movie

http://img51.imageshack.us/img51/636/sam0.jpg

after finish the movie, the game enter to main main menu and i set the cursor visible.. the cursor is show up but sometimes it isn't ( close the program and run again for several ...
by bobyBola
Wed Dec 09, 2009 2:54 am
Forum: Beginners Help
Topic: Cursor setVisible
Replies: 14
Views: 1036

Cursor setVisible

i'm useing irrlicht 1.6 version... sometimes when i call
device->getCursorControl()->setVisible(true);
the cursor won't show up, how can i make sure that when i call getCursorControl()->setVisible(true) the cursor will show up??

does this has effect with the code i use to change my cursor image ...
by bobyBola
Mon Nov 23, 2009 2:14 am
Forum: Beginners Help
Topic: Single Key Press
Replies: 7
Views: 866

this is my event receiver

the *.h file

class EventReceiver : public IEventReceiver
{
private:
bool KeyIsDown[KEY_KEY_CODES_COUNT];
s32 keyState[KEY_KEY_CODES_COUNT];
s32 LMouseState,RMouseState;
public:
//constrctor
EventReceiver();

//destructor
virtual ~EventReceiver();

//onEvent ...
by bobyBola
Mon Nov 02, 2009 10:04 am
Forum: Beginners Help
Topic: getCursorControl()->setVisible() sometimes not working
Replies: 3
Views: 398

getCursorControl()->setVisible() sometimes not working

i'm using win32 and directx9 for my game, sometimes when i call setVisible(true), the cursor won't show up... from ten times run.... three or two times the cursor won't show up. what happend??
by bobyBola
Sat Oct 31, 2009 1:57 am
Forum: Beginners Help
Topic: timer won't start
Replies: 2
Views: 376

i see... and it is working now... thanks for your help Acki... :wink: :wink:
by bobyBola
Fri Oct 30, 2009 10:19 am
Forum: Beginners Help
Topic: timer won't start
Replies: 2
Views: 376

timer won't start

hi, i tried to pause the game using timer like the code below


driver->beginScene(true, true, video::SColor(255,0,0,0));
smgr->drawAll();
if ( receiver.IsKeyDown(irr::KEY_KEY_U))
{
device->getTimer()->stop();
}
if ( receiver.IsKeyDown(irr::KEY_KEY_B))
{
device->getTimer()->start ...
by bobyBola
Fri Sep 04, 2009 3:35 am
Forum: Beginners Help
Topic: 2D Graphics Engine?
Replies: 9
Views: 1388

Yeah, I second this notion. I'm actually here looking into upgrading an existing 2d engine by using Irrlicht as the backend.

It is also correct that most 2d engines use the 3d pipeline to get hardware acceleration.

did james means is popcap engine :roll: :roll: :roll:
i agree with lonesome ...
by bobyBola
Thu Aug 20, 2009 3:35 am
Forum: Beginners Help
Topic: Collision detection
Replies: 2
Views: 439

Collision detection

Hi, I need help with a collision detection.
Sorry if this sounds little noob.

getCollisionPoint will check line with a selector (mesh).

The following code will check collision between two bounding boxes...
sn1->getTransformedBoundingBox().intersectsWithBox(sn2-getTransformedBoundingBox())

But how ...
by bobyBola
Tue Jul 28, 2009 9:23 am
Forum: Project Announcements
Topic: EG-BB Keliling Nusantara
Replies: 24
Views: 5029

the mormal scale will fit if the object is not in human form....
see the picture below for example

Image

and the zbuffer sometimes did'nt work...

Image

i run it in the with the same code
by bobyBola
Tue Jul 28, 2009 6:39 am
Forum: Beginners Help
Topic: Detect screen(s) resolution(s)
Replies: 3
Views: 569

if you are using windows, u can use WinAPI like this

DEVMODE lastDM;
DISPLAY_DEVICE userDev;
userDev.cb = sizeof(DISPLAY_DEVICE);
EnumDisplayDevices(NULL,0,&userDev,NULL);
lastDM.dmSize = sizeof(DEVMODE);
EnumDisplaySettingsEx(userDev.DeviceName,ENUM_REGISTRY_SETTINGS,&lastDM,EDS_RAWMODE);
int ...
by bobyBola
Tue Jul 28, 2009 4:55 am
Forum: Project Announcements
Topic: EG-BB Keliling Nusantara
Replies: 24
Views: 5029

it's done by scaling the model in modeling program....
can irrlicht use the extrude scale? if i use the normal scale, it doesn't fit to become outline
by bobyBola
Tue Jul 28, 2009 3:52 am
Forum: Project Announcements
Topic: EG-BB Keliling Nusantara
Replies: 24
Views: 5029

this use
SMaterial.BackFaceCulling = false, FrontFaceCulling = true

Image

and this use
SMaterial.ZBUFFER = false or SMaterial.ZWRITE_ENABLE = false

Image

the scaled is draw first then the normal one
by bobyBola
Tue Jul 28, 2009 2:49 am
Forum: Project Announcements
Topic: EG-BB Keliling Nusantara
Replies: 24
Views: 5029

Looks awesome! I would like to see how it turns out since i dont know anything about indonesia. Hopefully its not restricted to kids only :P
thanks..
it's not restricted to kids.. but the games difficult are made to the kids ability, but i think the product will only sell in indonesia.. cause it ...