-
I'm fairly new to game development and melonjs. Please excuse my dumb question :). I want to implement an audio controller as a GUI element for a music based game. How can I draw basic GUI elements like buttons or text inputs on top of the game screen? I found #276 but have no idea how to use the defined |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi and welcome then ! We have a UI example here that should help you get started with the corresponding source code here. However for text input, I would really rather use DOM/CSS elements, as this will be way easier to manage different language/keyboard and so on (unless you have very basic needs). |
Beta Was this translation helpful? Give feedback.
-
see this as well : |
Beta Was this translation helpful? Give feedback.
-
and this: https://github.com/goldfire/CanvasInput |
Beta Was this translation helpful? Give feedback.
Hi and welcome then !
We have a UI example here that should help you get started with the corresponding source code here.
However for text input, I would really rather use DOM/CSS elements, as this will be way easier to manage different language/keyboard and so on (unless you have very basic needs).