Create Transpose Guitar Chord

Hello all my name RYNurak. I’ve create 3 apps use Gdevelop. and for the 4th i want to create Guitar Transpose Chord. You all Guys can help me to use variable and create structure, i have desigb UI . Two button 1, ChordUp 2. ChordDown and two object text. one for liryc and other for Chord. but i have problem to create right variable to change chord text.

That sounds interesting. Can you expand on your concept. I don’t know anything about changing keys.

I did a quick Google and found this chart. Is it related to what you want to display?


This is my simple concept.


and i’ve this Global Variable include chord chart in chordList Variable.


But when i tray running the variable into event and action. i try with the Transpose up nothing happened. I hope that all my friends who are already masters in using variables to run this transpose process can help me who is still green in this matter. I am curious whether this can be run in the GDevelop system.

I don’t know about your strategy but the expressions are inside quotes so instead of getting the result of the expressions, it’s setting the variable to the literal text.

if the variable fruit contained apple then

Set fruitType to “fruit” would set it to fruit

Set fruitType to fruit would set it to apple

In the current version of Gdevelop you don’t need to use the Variable() expressions, you can just use the variable names.

1 Like

Thanks Keith for your response I will try again.

1 Like