3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: How To change ESC button?  (Read 2487 times)

« on: June 28, 2012, 04:23:31 AM »
 ??? ??? ??? Please help me with this problem!

Mic

« Reply #1 on: June 28, 2012, 08:06:07 AM »
You can change it while in edit mode, but you can't test it until you compile and run. While in editor, you can't test esc changes while in editor.

« Reply #2 on: June 28, 2012, 11:14:54 AM »
I believe you can prise it out with a screwdriver (flathead of course)
just insert the head of the driver between esc and the next key, lever it and the button should pop right off
then simply take your replacement button and with a dab of superglue just.....oh, I see what you mean now
 
welcome to the forum slipknot...you'll learn to ignore me
« Reply #3 on: June 28, 2012, 11:17:57 AM »
Jon... ::)




Quote
iEscKeyDisable()
   Disable the Esc key, which normally stops a compiled project at any time and exit back to Windows.
   Warning, when the Esc key is disabled, the only way to terminate a compiled project is by using
   the ExitFade object.
   Use iEscKeyEnable() to re-enable the Esc key.
   NOTE: this function only works in a compiled project.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #4 on: June 28, 2012, 07:08:05 PM »
always robertoo answers the esc button question mine was also answered by him.
« Reply #5 on: June 29, 2012, 06:50:43 AM »
change the ESC button??!!

change it into what...

is this a language thing... 'cause i have no idea what he is asking...

--Mike
« Reply #6 on: June 29, 2012, 10:35:18 AM »
Just to clarify.

This function simple disables the Esc key. Nothing more. If you put this in your compiled project and you play it, you won't be able to shut it down without 'though matters'.
You'll have to use an ExitFade object to be able to quit the project.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #7 on: June 29, 2012, 12:31:05 PM »
and after writing the above code, you can use esc key for anything using a script.
« Reply #8 on: June 30, 2012, 04:08:38 AM »
Yeah.

You can typically use if for an 'open menu' button then, just like most games do.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #9 on: July 01, 2012, 12:42:01 PM »
Thank You all for Help!
 ;D ;D ;D ;D ;D
« Reply #10 on: November 12, 2012, 09:15:59 AM »
sorry guyz....i am a noob....here but is "iEscDisable()" a script???? where should i put this thingy????perhaps someone could upload a tiny example pleeeaaaaaseeeeeee????
« Reply #11 on: November 14, 2012, 07:29:11 AM »
Hmmm... Just not enough question faces and repeated vowels. A little more and I will certainly reply.

 ::)


You need to put 'iEscKeyDisable()' in a script object that is set to working at start.

The entire script:

Code: [Select]
void Main()
{
   iEscKeyDisable();
}
« Last Edit: November 14, 2012, 07:31:40 AM by RobertooMolvadoo »
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #12 on: November 15, 2012, 06:56:13 AM »
And then stop the Script, or it will reapeat 60 times per sec!  ::)
The entire script:

Code: [Select]
void Main()
{
   iEscKeyDisable();
}
new forum search:
http://www.google.com/ site:www.3drad.com searchword  ( <-- copy )
3DRad is now in the same Brain-Area like my old C64 and Amiga Memories!
« Reply #13 on: November 15, 2012, 09:30:02 AM »
...Which does not matter.


 ::)
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #14 on: November 17, 2012, 05:27:53 AM »
how about....
void main
{
   //on esc button press....
   if(IN_X > 0)iEscDisable();
}
????will that make sure it plays only once?????
Pages: [1] 2