Hi,
We wish to make a small 2-D video game with GDevelop using JavaScript source code only.
Can someone show us small examples for the following?:
- Have a JavaScript file run at every frame
- Setup game’s Frames Per Second in source code
- Load a sprite from a file and display the sprite at coordinates x, y
- Load a TTF font and display some text at coordinates x, y
- Load a sound effect from a file, apply volume, and play the sound effect
- Load a music from a file, apply volume, and play the music with looping enabled
- Get input from keyboard, mouse, touch, and game controller
- Load and save game data to a file
Thank you in advance!
Jesse
We have looked at the following already:
https://wiki.gdevelop.io/gdevelop5/events/js-code/