Per page: 15 30 Date Posted: 18 Aug, pm. Posts: 6. Discussions Rules and Guidelines. Note: This is ONLY to be used to report spam, advertising, and problematic harassment, fighting, or rude posts. All rights reserved. All trademarks are property of their respective owners in the US and other countries. Some geospatial data on this website is provided by geonames.
If that's not the issue, my advice is to break up your code a bit and debug each part to figure out what isn't meeting the criteria. Like maybe doing something like this and monitoring "triggered" to see if it becomes true: Code:.
Last edited: Jul 25, Siolfor the Jackal Member. I've only made buttons a couple of times but I tend to make them generic objects. Then when I make my menus I have a controller object create them and pass to them different sprites, text if they need text on them and an action or script that they need to perform. Siolfor the Jackal said:. Or if you want to modify an action using the "shift" key?
For information on the available GameMaker Studio 2 keyboard functions, please see the following sections of the manual:. The following variables are built-in to GameMaker Studio 2 and can be accessed to get information about the keyboard state and input:. The code above works perfectly.
Only thing I've noticed is that when I release the button, and the action happens, the button has the pressed down graphic. Is it possible for the action to occur only after the sprite changes back to normal after the click? Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back
0コメント