You are browsing as a guest. Sign up (or log in) to start making projects!

asteroid hunter

Hardware
  • 40 Devlogs
  • 69 Total hours

a pixel art video game about defending your planet from asteroids as well as mining asteriods

Open comments for this post

1h 1m 7s logged

  • LET THERE BE SOUND UPDATE 1

  • I added some sound effects to the game
    I sourced the sounds from mixkit
  • the sound effects I added so far are:

  • the normal laser beem sound
  • the charged sidelaser beem sound
  • a bubbling sound for the electrolysis system.
  • I also added a cool background soundtrack
0
0
104
Open comments for this post

1h 35m 11s logged

  • POWER DISPLAY UPDATE

  • I Added a display of how much power you are losing or gaining

  • I coded it to be red when losing power and green when gaining power It helps the player be aware of the amount of power they are using
  • game testing/fixes

  • I did an ~ hour of just playing the game trying to get as far as I could get but did not track the time because I did no coding during the time but I used this knowledge to fix all of these following things
  • SOLAR PANEL

  • I Fixed bug which caused that after first damage caused to solar panel Solar Efficiency never goes back to full capacity as I forgot to make the code assign the value of S,E to full if solar health is full I accidently just assigned it at the beginning of the code but not again. I found this out in game testing when my power kept on running out even at full solar health
  • IRON

  • I Made iron more common as I orignally did not account for the constant need to repair your upgrades.
  • COOLING SYSTEM

  • I made the cooling system take al lot less power. I did this to make it more useful as when I was game testing I found it kinda of pointless to use
0
0
61
Open comments for this post

1h 47m 17s logged

  • game test update

  • I did Game testing for 30 min

  • fixes

  • I Recentred asteroid sprites 
  • I resized asteriod hitboxes
  • Increased starting power
  • sabatier damage system

  • I added the Sabatier reactor to the damage system and made sprites for it’s diffrent damage states
  •  I also made attached pipes get destroyed with the sabatier reactor
0
0
77
Open comments for this post

1h 38m 32s logged

  • no update
  • methane tank and pipe

  • I added the shop text and click sensing for the methane tank and pipe
  • fixes

  • Fixed the restart option from the end screen

  • the bug was caused because the gamend variable was assigned true 1 second after power was below 1 so even after it reset the game, gamend would go back to true
0
0
86
Open comments for this post

1h 40m 28s logged

  • THE METHANE UPDATE

  • Added methane tank

  • added a methane tank below the sabatier reactor to store the methane from the reaction
  • I  Added a pipe to sent methane from sabatier reactor to the methane tank
  •  Added gas fill animation to methane tank 
  • Fixes

  • I fixed the buttons so they dont work in shop mode
  • I Fixed a glitch where all asteriods were carbonaceous. It turns out I was asigning the asteriod varible constantly to its starting value which is carbonaceous
  •  I Made carbon more abundant  and Made water less abundant
  •  I also added text to help the user know how to activate some upgrades
  • sorry I couldn’t get video today
0
0
75
Open comments for this post

1h 47m 4s logged

  • THE GAME OVER UPDATE

  • The game over screen

  • 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

  • fixes

  • 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

  • video

  • the video shows the new game over animation and the active cursor display

0
0
27
Open comments for this post

1h 42m 46s logged

  • no update today :(
  • animation for the sabaitier reactor

  • I made an animation of fire/ combustion in the sabiter reactor by making a cycle of four sprites
  • bugs/fixes

  • fixed a bug which would drain half of your power when you just started
  • I also made the normal laser beem take less power
  • video

  • the video shows the new sabaiter animation
0
0
76
Open comments for this post

2h 8m 5s logged

  • BUTTON UPDATE

  • Made buttons

  • the button works by toggling from off to on if the mouse clicks the button sprite on the upgrade ( the same sprite prevouisly used by the activity indicator )
  • all upgrades with buttons listed

  • the carbon burner

  • clicking the button toggles laser on and off
  • the sabatier reactor

  • clicking the button toggles heater on and off
  • the electrolysis system

  • clicking the button toggles wire in water storage on and off
  • video

  • the video shows all of the buttons being used to turn on the upgrades to eventually make methane
0
0
62
Open comments for this post

1h 50m 24s logged

  • THE minor CHANGES UPDATE

  • Added on/off sensing to two upgrades 

  • one colored indicator on each upgrade shows you if the upgrade is currently active
  • I fixed the start screen

  • now the game starts and the start screen disapears if you click the screen instead of at the end of a preset time
  • Added heater to sabatier 

  • heats up on side so sabatier reactor can reach right temp and also just looks cool
0
0
7
Open comments for this post

3h 25m 6s logged

  • SABATIER REACTOR UPDATE

  • added sabatier reactor

  • 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

  • chemistry time

  • 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

  • Bugs

  •  Fixed side lasers so they would only fire when fully charged and organized the code a bit for them

0
0
107
Open comments for this post

2h 32m 14s logged

  • THE MEGA BEEM UPDATE

  • I Added A Side Lasers Upgrade

  • the side lasers give the player the ability to shoot larger laser beems that do a lot more damage, one shotting most asteriods.
  • I also animated the side lasers to have an open and closed position aswell as having a copper plate on main turret that visually heats up to show the laser powering up.
  • Fixing Fix Mode (ironic)

  • I made the wrench only be able to fix but not buy and made the normal cursor just buy upgrades but not fix.
  • I also stopped normal cursor from buying new upgrade while the old upgrade is present.
1
0
137
Open comments for this post

2h 33m 33s logged

  • Made elctrolysis and laser not work in shop “mode”

  • I did this so the player couldn’t just stay in the shop and make new resources eg oxygen, co2 ect. Now the player has to do it while defending the base from asteriods
  • Added fix mode

  • now if you hold down your cursor in shop mode it will toggle between the regular cursor and a wrench. When the wrench is active you can click on damaged upgrades to repair them
  • Organized code 

  • I organized my code into sections and added notes to make my code more readable
  • Fixed starting text

  • I changed some things in game so I also changed the starting text to inform the player .
1
0
122
Open comments for this post

1h 20m 2s logged

  • I worked on giving the carbon laser health and a destruction animation I also worked on making co2 tank disappear with carbon laser when it is destroyed I made co2 level 0 if no co2 tank  is present
  • I Made nickel more rare as it was to common.
  • bugs

  • Fixed cooling system upgrade as it didn’t work in previous update the problem was that it only worked when game was paused so I just reversed it and now it works.
  • stoped hydrogen tank from getting destroyed when solar panel was destroyed
  • video

  • This Is a video of a fully upgraded base decaying at 16X speed.
0
0
37
Open comments for this post

2h 34m 4s logged

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.

0
0
12
Open comments for this post

2h 46m 3s logged

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

0
0
31
Open comments for this post

4h 8m 48s logged

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)

0
0
38
Open comments for this post

3h 32m 36s logged

I added electrolysis to the game. To do this I added three new upgrades that are needed to proform electrolysis. a wire, an oxygen tank and a hydrogen tank. when you have all three aswell as (water storage) and a power source(solar panel). you can then click H to do electrolysis which turns one water into two hydrogen and one oxygen. which can then be used later in the game as a component of a fuel/power source. I also added an animation of the oxygen and hydrogen tanks filling up with gas as electrolysis is happening.–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––here is video that showcases how a playthrough might go now with the new upgrades.

2
0
8
Open comments for this post

1h 57m 1s logged

I worked on fixing some minor bugs such as misspelt variables ect added new materials added gases and moved parts over to make room for new upgrades. aswell as adding a hydrogen and oxygen tank. i will edit later

0
0
28
Open comments for this post

1h 54m 1s logged

I worked on cleaning up my code –––––––––––––––––––––––––––––––––––––I removed redundant parts of my code that were not being used or could be simplfied, I added notes so I know what each part of my code does, I fixed some minor bugs ect. I also fixed the power system so when you are idle you use less energy then when you are shooting laser beems. I did this because as I was playtesting I found out that the battery ran out too quickly and there was nothing you could do about it. So now to maintain sufficent power you have to use the laser beem wisely eg not shooting a asteriod that is too far, too large or not the type you need ect.———————————————————————————————————————– here is a sped up video of how a typical play through would go thus far.––––––––––––––––––––––––––––––––––––––––––– PS I am planing to add more room to the side and/or more turrets in newer updates.

2
0
170
Open comments for this post

2h 8m 2s logged

I added a screen at the begining of the game explaining the controls. I also added a dev mode shortcut to give infinte material (D&M keys) I also worked on the solar pannel adding a destruction animation as well as fixing some minor bugs caused by it. I also added a time variable that keeps track how many seconds pased from the start of the game I plan to utlize this to cause events or increase difficulty over time.—————————————————————————————This video showcase the starting screen and the Devmode’s infinte materials additonly it shows the solar panel damage effect which I think is the best slow destruction of any upgrade yet.

1
0
151
Open comments for this post

1h 7m 1s logged

I worked on making an animation of the power going down as well as as making a new “upgrade” the solar panel it slowly adds to your total power. as you have set amount of power when you start that starts running out. This video showcase the damage system as well as the power system.

2
0
46
Open comments for this post

1h 5m 2s logged

I made a power a stat in the game. Without power your turret cant move but you can still shoot. you start with a certin amount of power but can gain power by making things such as solar pannels ect. I have no video of it yet but here is a image of the new design of the turret . I also added sulfur to the game.

0
0
6
Open comments for this post

2h 40m 4s logged

I added a damage system to the game. If your upgrades are hit by a asteriod they lose health and if their health goes to low they disapear. I also made it that you can repair the upgrades using your materials to bring their health back. I also worked on the exit menu a bit adding some colours ect.

1
0
8
Open comments for this post

2h 7m logged

I made the water storage upgrade also need a copper pipe connected to the turret for it to work. I also made it that when you have water in the water storage you can hold down the up key to speed up your laser beems as without the water as coolant the turret would over heat. code wise I made a clock so I can regulate parts of the game in universal time and not just a delay. here is link to test https://microstudio.io/layerbylayer/astreroidhunter/2MSZECRK/ E for exit mode R for resume left. right arrows to aim. space to shoot. while in exit mode to puchase upgrades click the first letter of its name on your keyboard

0
0
6
Open comments for this post

1h 5m 2s logged

I added copper to the game aswell as animating the water storage to visualy fill up as you harvest more water from asteriods––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––ps I acdently recorded an extra half hour and dont know how to remove it

0
0
4
Open comments for this post

1h 11m 2s logged

I made the home screen of the game show the amounts of each material you have as well as making the first upgrade I haven’t made it do anything yet but the idea would be that this upgrade called water storage could be used to cool down the turret which would increase fire rate as well as allowing other upgrades such as stronger laser two barrels ect

1
0
6
Open comments for this post

35m 1s logged

I added 5 materials you can get from asteriod carbon,water,silicon,iron,gold. I set the amounts each asteriod should get though I haven’t made a proper display yet. I also fixed some minor bugs IF you have any suggestions for materials to add feel free to share.

0
0
6
Open comments for this post

1h 19m 17s logged

I made diffrent types and sizes of asteriods take diffrent amounts laser beem shots to break. I also locked down the pivot of the turret while the laser is in flight to stop the player from being able to control the laser beem midflight as this will be a upgrade added later in the game

0
0
5
Open comments for this post

28m 1s logged

I fixed the bug with the rare metalic asteriod and added it back to the game. the problem was the first sprite for the animation of the asteriod blowing up was named (metalic_asteriod_rare1) but the program called for (metalic_asteriod_rare)

0
0
6
Open comments for this post

3h 0m 48s logged

I made animations for all the asteriods I also fixed the size of the play area I tried to fix a bug where the rare metalic asteriod animation wouldn’t play but couldn’t figure it out so I removed the rare metalic asteriod I also added a exit button E to stop the meteor shower and a resume button R also here is link to try game thus far https://microstudio.io/layerbylayer/astreroidhunter/2MSZECRK/ (left and right arrow to aim and space to shoot)

0
0
3
Open comments for this post

1h 12m 1s logged

I made the size of the asteriods hit box change to match the visual size. I also made it that when you hit an asteriod your laser beem disapears with the asteriod. I also animated one of the types of asteriod “destruction” animation ps be aware that because I haven’t animated the other asteriod there is lag before they disapear.

0
0
3
Open comments for this post

28m 2s logged

The collsions work now :) the laser beem still has trouble hitting larger asteriods even if it looks like it is touching this is because I haven’t made the hit box fit with the size yet.

0
0
7
Open comments for this post

1h 36m 1s logged

I worked on collisions got no real progress on the actual code but I am figuring out how to add collisions I also organized my code a bit by putting realted variables into objects.

0
0
4
Open comments for this post

1h 30m 15s logged

I made a turret which can angled by the← and → arrow keys and use the space key to shoot a projectile that follows the angle it was shot in . next I think I will work on collisions

0
0
3
Open comments for this post

1h 3m 32s logged

I added randomness to the type of asteriod It can now be one of these four types a carbonaceous asteriod (the most common one), a stony asteriod(uncommon but not rare), metalic asteriod(rare) and metalic asteriod with ore vein (the rarest asteriod thus far) I also added random sizes. Larger asteriods will be harder to stop but give more materials and vice versa.—————————————————————————————————————————–PS {now the asteriod comes from a random direction not just from the middle ◝(ᴖᗜᴖ)◜}

0
0
5
Open comments for this post

1h 12m 1s logged

I started this project by making some sprites for the diffrent types of asteriods and started trying to make some basic code. currently the asteriods follow the same path every time so not very fun:(

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…