Devlog 8 - The Eighth Day


Day 8

Only 24 hours to go now, and today I did:

  • Fixed collisions between same objects
  • Improved gravity
  • Added add object tool mostly (except for asteroids)
  • Submit!
  • Removed 462 random assets that weren’t in the game but were in the final build so there’s now a web build
  • Cursor / Indicator for create tool

So a lot was done today, some of it was purely accidental such as collisions and gravity but it does mean I don’t have to fix these bugs later on which is nice as I couldn’t seem to figure them out. Anyway today I started with work on the add object tool and I was doing the menus to begin with because I felt the menus would be nice and simple, making it easy to do and as such, would be a good idea to do first. This went pretty well so I decided to start work on making it possible to create objects based on what the player picked and while testing, I found it annoying I couldn’t see where I was placing stuff so I added a cursor, which should benefit the player aswell.

Continuing with the add object tool, I noticed gravity wasn’t working for some objects. So I decided to mess around with the ID code for each object, but that didn’t fix it. Then I decided to go to the extension with the gravity code and do two things. First remove the repeats for each instance which fixed the gravity. Then because I noticed it wasn’t working with time changes, I imported code from the force tool so time scale would affect the speed. I then thought if the repeats were causing problems with gravity, they might cause problems with collisions, so I did the same there, and then collisions worked. Sure they still have bad hit boxes for most objects at the moment which I’ll change tomorrow , but atleast objects can collide with the same object.

Then because I was happy with progress and it was getting late I decided to submit. Since players can now play the game, I decided to have a look at the assets used in the web build and as it turns out, the frames for the background in the main-menu were doubled. This was caused by some being corrupted the first time I split the frames so I added all of the frames again but although only half are used now, both sets were there, so I could easily remove 462 frames. This should help make it easier for players to play the game now, therefore more ratings.

Thanks for reading.

Files

Web.zip Play in browser
Mar 19, 2022

Get Space Simulator

Leave a comment

Log in with itch.io to leave a comment.