Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Looping Problem+eNumeric

Author
Message
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 9th Mar 2009 17:54
hi, i have a big problem basicly i have dbMoveObjectDown(3, 1.5);
and its in side a loop but the object dosent go down. i have many bools that i use and i am preety shure thatsy the reson i have

if(PlayingGame == True)
{
dbMoveObjectDown(3, 1.5);
}

i am gona try making a void and put it in the DarkGDK

cus i think and if(bla bla)
{
gets looped only one time.
}

also i thot of using
enum eMode
{
eMainMenu,ePlayingGame....
}

but i am not shure how to use that if any one nows how pls tell me.

Game.Love
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 9th Mar 2009 18:11
omg i am such an idiot..
i had dbPositionObject(3, 0, 0, 0);

will i stil need help with the enum.

Game.Love
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 9th Mar 2009 18:19
oh i forgot how can i mae so its looped only once=?
like i position the object somewhere then its over. i can move the object even if the dbPositionObject is in the loop.

Game.Love
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 9th Mar 2009 18:23
em... i think i understood what you want... you want something that in a loop happen only one time? you can make up the DarkGDK function
int a =0;

and inside the loop

if(a==0)
{
...
a=1;
}
i hope i undertood good

If someone need something, add me to your msn
Was SuperKid , now AlexZinn
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 9th Mar 2009 18:31
yeah i get it thnx.


Game.Love

Login to post a reply

Server time is: 2024-09-30 19:30:30
Your offset time is: 2024-09-30 19:30:30