This is an almost exact replica of the omega or photoshop flowey boss in Undertale, use arrows to move around ur soul and when u die just press the flag again. Also if u have admin press space or click your soul to activate invincibility (you will know because your heart will have a face and you’ll start at 15 or 14 hp)
This game took me a while to make by replaying actual boss fight on my ps5 to get it to look just right, some code I learnt how to do with 2 tutorials but the rest I figured out hope you enjoy! the two tutorials are here https://www.youtube.com/watch?v=wKYUjjn5O_Y https://www.youtube.com/watch?v=ETPsoubwSlg