Search found 19 matches

by killzone721
Sun Mar 19, 2006 2:03 pm
Forum: Beginners Help
Topic: How do turn Itimer
Replies: 7
Views: 558

last post might be too UNCLEAR :D

here the code without documentation

Code: Select all


Timer timer 

timer.declare();
timer.set(1000);
timer.stop();  
Gravity = 1; 
timer.start();
if(timer.alarm()==true) 
{
   Gravity = -1;   
} 


HOPE THIS HELPS :wink: 
by killzone721
Sun Mar 19, 2006 2:00 pm
Forum: Beginners Help
Topic: How do turn Itimer
Replies: 7
Views: 558

Not exactly Timer timer //make a variable of the class timer timer.declare(); // you have to do this first or it will crash timer.set(1000); //you set the time 1000 = 1 sec ... it goes in 1000s timer.stop(); // stop the timer because we have to do something before Gravity = 1; // START THE JUMP time...
by killzone721
Sun Mar 19, 2006 12:50 am
Forum: Beginners Help
Topic: Can I do games with this?
Replies: 9
Views: 603

If you want... i can set up an already 3rd person shooter environment for u in ONE source file ... Hope that helps just say it and i will provide a link BTW u say that u know how to make maps... that can help u to join a team LIKE MINE... killzone721@gmail.com if u want to join mine... just say it h...
by killzone721
Sat Mar 18, 2006 10:52 pm
Forum: Beginners Help
Topic: How do turn Itimer
Replies: 7
Views: 558

i updated the class a bit SO USE THIS ONE INSTED OF THE ONE ABOVE... THIS CLASS HAS THE AME CONCEPT THOUGH class Timer { public: void declare() { irrTimer = mainmenu->getTimer(); irrTimer->getTime(); } void set(int timeout) { beginTime = irrTimer->getTime(); interval=0; interval = timeout; } void st...
by killzone721
Sat Mar 18, 2006 5:24 pm
Forum: Beginners Help
Topic: game crashes when while loop used
Replies: 4
Views: 203

what are threads and stick you are correct that the while loop does halt the engine... i think stops the main loop: driver->beginScene(...); driver->end scene(); i am using a while loop for the timer... actually to jump ///////////////////////////////////////////////////////////// while(now!=time th...
by killzone721
Sat Mar 18, 2006 4:28 pm
Forum: Beginners Help
Topic: How do turn Itimer
Replies: 7
Views: 558

if i understand your question, then what you want is to start a timer... well i have made class timer for myself to deal with timer... maybe this might hep class Timer { public: void declare() { irrTimer = mainmenu->getTimer(); irrTimer->getTime(); } void set(int timeout) { beginTime = irrTimer->get...
by killzone721
Fri Mar 17, 2006 1:54 am
Forum: Project Announcements
Topic: Already saet 3rd person shooter world
Replies: 3
Views: 811

Already saet 3rd person shooter world

I have never contributed to Irrlicht in any form or way except ask useless questions. I have only answered few questions in these forms and have been proved wrong in many way :cry: Then again, i want to be involved in something and since i am a BIG noob, I want to help others who are new as well as ...
by killzone721
Sun Feb 26, 2006 10:45 pm
Forum: Beginners Help
Topic: My 3DS Model is White
Replies: 5
Views: 318

doesn't necessary have to be in the 3ds, but it has to be a graphic file representing the 3ds model. Just make sure to have a graphic file with and if it does, i don't see u calling it ex. weapon1->setMaterialTexture(0, driver->getTexture ("models/moreweapons/lazer.jpg")); //this is just a...
by killzone721
Sun Feb 26, 2006 10:38 pm
Forum: Beginners Help
Topic: Reuse Device Variable
Replies: 9
Views: 427

I have answered a similar type of question somewhere in the form, maybe search is a good idea, but anyway, i can answer it again :wink: To know the solution, it tahkes a bit oop programming, u might have heard, it is very common term for c++ so you want to make the device-run hing reusable....(if i ...
by killzone721
Thu Feb 16, 2006 2:15 am
Forum: Beginners Help
Topic: SETTING A GUN AIMER
Replies: 7
Views: 1251

AndyCR .............. THANKS A LOT :wink:

AND A LOT OF THANKS TO THE PEOPLE WHO CAME OUT WITH THIS IDEA

BUT

CREDIT GOES TO AndyCR CAUSE HE PUT THE CODE TOGETHER ... AND IT WORKS :wink:
by killzone721
Wed Feb 15, 2006 10:03 pm
Forum: Beginners Help
Topic: SETTING A GUN AIMER
Replies: 7
Views: 1251

Xaron i don't know how to DECLARED hud...

IF YOU DON'T KNOW WHAT IT MEAN BY DECLARING... DECLARING IS SIMILAR TO WHEN YOU MAKE A DEVICE SAYING Irrlichtdevice * device=0;

can you please tell me how to declare a hud though like

/*whatever*/ * hud = 0;
by killzone721
Tue Feb 14, 2006 10:22 pm
Forum: Beginners Help
Topic: SETTING A GUN AIMER
Replies: 7
Views: 1251

SETTING A GUN AIMER

all of you know those aimers when u see them in fps games... the gun aimers. for people who don't know, i am talking about the cross thing from which you aim... hopefully u guys know what i mean now. i know how to set it up, just set an image OF THE AIMER in the middle of the screen. the thing is ho...
by killzone721
Tue Feb 14, 2006 9:56 pm
Forum: Beginners Help
Topic: Changing screen resolution
Replies: 13
Views: 753

remember that if u make new devices everytime just to change the SCREEN RESOLUTION, you have to declare all those driver, snv and smgr function back to each device... this really affects the game's efficency, especially when u r making a high-graphic 3 d game with good graphic models and stuff... an...
by killzone721
Tue Feb 14, 2006 4:37 pm
Forum: Beginners Help
Topic: Changing screen resolution
Replies: 13
Views: 753

I am surprised that no one answered this question for so long but meh... u don't have to create another device just to change the screen resolution... if you do create new devices... there is more chances that the program will crash or when u drop the device or close it well i know one way of changi...
by killzone721
Tue Feb 14, 2006 3:18 am
Forum: Beginners Help
Topic: How to make transparent images?
Replies: 8
Views: 1959

so how would make an aimer transparent. I tried to use the idea above and even converted my picture to a tga file, and also made my filebackground black so it becomes transparant but it didn't work //this is how loaded my aimer IGUIImage* yo = sce->addImage(driver->getTexture("Pics/aim.tga"...