Page 1 of 1
Card problem? deployment settings? Keys problem?
Posted: Fri Jan 09, 2015 10:38 am
by Wiz
Hi

im a newbie in livecode .. I've already created my 1st standalone game.
I used arrow keys on my keyboard to move my character.
before deployment there are no problems.. but after deployment.. when i use arrow keys it keeps going to the next card., and supposedly the arrow keys use for the movement of my character.
and when i use Enter key .. it functions like a button even i didn't put a code in it..
give me some factor where is the possible problem .. Card? Deployment settings? or actual the code?

Im new in this language and I don't know where to fixed it and how .. can anyone help me ?
thanks

Re: Card problem? deployment settings? Keys problem?
Posted: Fri Jan 09, 2015 11:48 am
by SparkOut
In the Preferences menu on the General tab, uncheck the box under Shortcuts : Arrow keys navigate through cards.
And/or use a script line:
Re: Card problem? deployment settings? Keys problem?
Posted: Fri Jan 09, 2015 1:49 pm
by dave.kilroy
Hi Wiz, as regards
"and when i use Enter key .. it functions like a button even i didn't put a code in it.." Is the button that gets activated by the enter key a default button? Or do you have the following settings checked in it?
If so then hitting the enter or return key can in certain circumstances activate it...if this is happening to you either use a non-default button or uncheck the 'traversalOn' and 'default' boxes in the inspector of the appropriate button
Re: Card problem? deployment settings? Keys problem?
Posted: Sun Jan 11, 2015 1:55 pm
by Wiz
SparkOut wrote:In the Preferences menu on the General tab, uncheck the box under Shortcuts : Arrow keys navigate through cards.
And/or use a script line:
set the navigationArrows to false
I tried the preferences settings but it didn't work .. but the script work for me .. thanks

Re: Card problem? deployment settings? Keys problem?
Posted: Sun Jan 11, 2015 2:03 pm
by Wiz
Thanks Dave it works
.....
I have one concern again

Why is it even that i already closed the application its still processing? The audio is still running even that it already closed.
What I always do is go to task manager and stop the process.
sorry for asking to much .. I love asking

Re: Card problem? deployment settings? Keys problem?
Posted: Sun Jan 11, 2015 5:14 pm
by sefrojones
Wiz,
Have a look at pendingmessages() in the dictionary,and see this thread for some Mark's solution for quitting your application:
http://forums.livecode.com/viewtopic.php?t=1026
--Sefro
Re: Card problem? deployment settings? Keys problem?
Posted: Tue Jan 13, 2015 2:23 pm
by Wiz
thanks sefrojones

next time i should read all posts first before asking
