I was working on making a tutorial for the game to make is it simpler for new players to figure out how to play
I was working on making a tutorial for the game to make is it simpler for new players to figure out how to play
I edited the sound’s code
- I added the mega beem explosion sound
- I added a sound for the mega beem charging
added asteriod explosion sounds
if you run out of power and have no solar panel a game over screen pops up. It stops the game and lets you restart
I added a active cursor display on the side of the cursor to make the switch between buy mode and fix mode flow better
I also made the amount of time you have to hold down the mouse to switch cursor modes half as long
the video shows the new game over animation and the active cursor display
I made a sabatier reactor sprite and added the shop text for it
I also added two new pipes one to feed hydrogen to the reactor the other to feed co2 to the reactor
the sabatier recation turns
1X co2 and 2X h2 ⇢ 1X ch4(methane) and 2X h2o
I added the code to do the sabatier reaction in game
Fixed side lasers so they would only fire when fully charged and organized the code a bit for them
I added a co2 tank ,––I added a pipe for sending oxygen to the carbon burner, ––I made materials only show up after you obtain them and also did some debugging.—————————————————————————————––I added a co2 tank aswell as a co2 gas sprite which shows the amount of co2 in the tank.–––––––––––––––––––––––––––––––––––I added a pipe to feed oxygen to the carbon burner so you can actually burn the carbon to make co2———————————————————–I made materials only appear after you obtain them so it looks neater in early game and also kinda just has a discovery vibe—————————————————————————————I did some ‘debuging of bugs” caused by my new updates. one thing I couldn’t figure out yet is why the water storage and copper pipe cooling system didn’t speed up the lasers anymore, I guess i should work on that now. Until we meet again.
I worked on making the ui controlled by the cursor instead of a corsponding key for each item I did this to make it more user friendly and less confusing to use. To do this I had to sense the distance of the mouse from each of the click locations and check if the mouse is within a certain range using a different variable for each upgrade. ––––––––––––––––––––––––––––––––––––––––here is a video showing how the cursor control works
I worked on coding the ardunio in tinkercad aswell as figuring out how to use a mosfet to control electronics that are powered with high voltage and how to analog read potentiometers to control the high power electronics through the mosfets
I worked on fixing the shop ui, added a new upgrade the (carbon burner), added some devtools and fixed some bugs/made sure everthing coded so far was working well.––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– I changed the shop Ui by making each item have a diffirent colours based on the ratio of the materials used to make it I also made it obvious what material each upgrade needed by colour coding.{the next step to improve the UI is to add mouse clicks instead of clicking keys on the keypad}.————————————————————————————————————— I added the carbon burner to the game (im still working on the name) it burns carbon with oxygen to make carbon dioxide which can be used later in game as a component of methane.–––––––––––––––––––––––––––––––––––––––––––––––––I added devtools to do things like changing the type of asteriod, speed of the laser beem,giving you infinte materials, ect{ mynext step is to make it more user friendly by adding a guide of the shortcuts for dev mode}———————————————————————————————––I also fixed some things eg. When the water storage is destroyed the oxygen an hydrogen tanks are destroyed aswell because they are on the waterstorage. Before I fixed they just kinda floated in space ect.–––––––––––––––––––––––––––––––––––––––––––––––––here is a video showcasing the new shop UI and the carbon burner(video starts at 40 seconds)