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.

Newcomers DBPro Corner / key question

Author
Message
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 5th Sep 2006 21:35
I have a code that normally works, but hasn't been on my darkbasic. I'm not sure if it is because my DarkBASIC is not working or because i am doing something wrong. here is the code.



Cocacola and Pepsi aren't that differnt. Deal with it.
Mickm
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: Kingston, ON
Posted: 5th Sep 2006 21:51
Worked ok for me



Online Flash Games and Guides .::. http://www.gamestack.org
Online Notebook .::. http://onlinenotes.gamestack.org
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 5th Sep 2006 22:59
Thanks, it seems to work now. I wonder what was wrong with it though

Cocacola and Pepsi aren't that differnt. Deal with it.
Legend
18
Years of Service
User Offline
Joined: 2nd Sep 2006
Location:
Posted: 6th Sep 2006 14:06
Could have been various things, maybe your keyboard was set on capitals to help this you could have used
if inkey$()="c" Or inkey$()="C" then delete object 99

Or perhaps if it through up an error like, object does not exist.. maybe it was because u deleted it already by pressing + holding c, to stop this you could have used

if inkey$()="c" AND object exist(99)=1 then delete object 99

Hope that helps

-------------Legend-------------
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 8th Sep 2006 14:44
Or do it like this:

Others than that, I'm with Legend

Det är väl så
Gamedesign er20
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: The one place you would never look...
Posted: 8th Sep 2006 21:36
Thanks

Cocacola and Pepsi aren't that differnt. Deal with it.

Login to post a reply

Server time is: 2024-09-25 07:21:57
Your offset time is: 2024-09-25 07:21:57