Hello, I am a student who is the beginner in Defold. I want to create a piano to be my assignment. Can anyone give my some suggestions? I have no idea how to create.
Hi! I guess this could be divided into two parts:
- Reading user input
- Playing sounds
User input:
- Manual: https://defold.com/manuals/input/
- Clicking on a button: https://defold.com/examples/gui/button/
- Reading key input: https://defold.com/examples/input/move/
Playing sounds:
1 Like
Thank you very much!!! If I want to change the button color when I click it. How can I do it?
To be honest I’d just get started with the rest first. Once you have a functioning piano that detects clicks and plays sounds I suspect you’d easily be able to figure out how to change the colour when the button is pressed.
In any case, the answer is set_color:
2 Likes