How to make a piano?

#1

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.

0 Likes

#2

Hi! I guess this could be divided into two parts:

  1. Reading user input
  2. Playing sounds

User input:

Playing sounds:

1 Like

#3

Thank you very much!!! If I want to change the button color when I click it. How can I do it?

0 Likes

#4

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