Completed README.md and added the .hex file, for easy microbit transfer. so close :D
Fully functioning, added speeding up (to be refined), added music, bug fixes. more bug fixes coming but other than that nearly there! :D hi to whoever is reading this, cant really attatch music in a screenshot so heres my speedup code byeee
Everything works! Multiple obsticals spawn after each other, at the same time. It took wayy to long. I figured I would use switches to turn on while True to check each of the 5 obstacle functions, each activated 750ms after each other. I am going to make it speed up now, then I will clean the code of anything unnecasary unneccesary omg i cant spell anyways heres an image of the game running (sorry if it isnt clear whats happening its way more clear when everything is moving :) omg im so happy
Set up a global tick system for spawning obstacles, decided this was more effective than having each of the 5 obstacle functions having their own timer. It took me wayy to long to figure this out. hi again :)
Added 5 obstacle functions, stored x and y in a list variable. Only one obstacle function runs at a time, so will move on to making functions run one after another with 750 ms in between, to sync with obstacle movement. Screenshot attatched is the list variables containing the x and y values.
Fixed major bugs, including obstacle hitboxes not dissapearing after obstacle did. screenshot included is all functions used as of now, collapsed
Added obstacles and made them fall and kill player, added death screen, only one obstacle falls at a time.
Will add more obstacles falling in the next devlog. hi again! (screenshots are an emulator test and some of the obstacle and kill code) :)
Fixed most (hopefuly all) bugs, player now moves and game resets and starts properly. Ok now on to moving objects. baiii (screenshot attatched is testing on web based emulator because I can’t afford a real microbit)
I am allowing the player to be displayed and their position to be stored in a variable. Defining movement, resetting and starting as functions. A lot of it was trouble shooting on why my reset button didn’t work but my break function wasn’t in the right place. Trying to get everything in functions so the while True: loop (not done yet) can look as clean as possible. Also hi to whoever is reading this! :)