Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm trying to find a solution to launch an action when a user click with the mouse or press the Enter key on a sprite. But I didn't find the method to do this. Could you help me ?
Did you add the keyboard or mouse object on your project ?
thanks for your help.
Yes I added keyboard and mouse object in my project but my question is " can we go to another layout when we click on a sprite ?" because I don't find the condition to do this.
Develop games in your browser. Powerful, performant & highly capable.
Yes you can.
On object clicked (Event from the mouse object) -> Go to layout (System action).
This problem is solve.
I have one other question about the original size of the sprites I use. Is it important to have a PNG file for each sprite with the real size there is in the game ?
In fact, when I reduced the size of my big pictures to the real size used in the the game, it runs.