Solar defense by kpded
In this game you should defend your base at the hostile planet with towers that consume energy from solar panels. But what if defense needed at night? Solar batteries are the answer.
Plan construction of your base carefully since you can't build everything at one time and remember about nights and local hostile fauna.
If you run out of power no tower would save you.
Defend your base for 3 days and your mission will be accomplished.
Game made with phaser, all art made with inkscape, sound effects in ChipTone (http://sfbgames.com/chiptone)
Hope you will enjoy my game


| Source code | https://github.com/Kodedyukh/SolarDefense |
| HTML5 (web) | https://kpded.itch.io/solar-defence |
| Original URL | https://ldjam.com/events/ludum-dare/39/solar-defense |
Ratings
| Overall | 597th | 2.71⭐ | 33🧑⚖️ |
| Fun | 586th | 2.516⭐ | 33🧑⚖️ |
| Innovation | 363th | 3⭐ | 32🧑⚖️ |
| Theme | 366th | 3.452⭐ | 33🧑⚖️ |
| Graphics | 627th | 2.065⭐ | 33🧑⚖️ |
| Audio | 476th | 2.133⭐ | 32🧑⚖️ |
| Given | 38🗳️ | 30🗨️ |
I finished the game and it was the right level of challenge (not too easy nor too dificult)
I liked the fact that you needed to build batteries to survive the night and the waves of enemies attacking.
Good job!
The restart button doesn't work for me. On Chrome it gave me an error when I clicked it:
```
Uncaught TypeError: this.station.activate is not a function
at BasicGame.Game.restoreConsumption (Game.js:278)
at BasicGame.Game.measurePowerBalance (Game.js:248)
at c.Timer.update (phaser.min.js:19)
at c.Time.updateTimers (phaser.min.js:19)
at c.Time.update (phaser.min.js:19)
at c.Game.update (phaser.min.js:12)
at c.RequestAnimationFrame.updateRAF (phaser.min.js:18)
at window.requestAnimationFrame.forceSetTimeOut._onLoop (phaser.min.js:18)
```
I think your game is good, and with some tweaks it could be a lot better!
[here](https://www.youtube.com/watch?v=sEKsM8vugRs) .
Crazy but this was my first ever tower defense type game! It was a lot of fun and well built. I almost died on the first night! Great entry and thanks for introducing me to a new genre of gaming.
if you haven't already please give my game a try [Zombie Power Station](https://ldjam.com/events/ludum-dare/39/zombie-power-station) HTML5 Thanks
If you see this problem please comment
* The build menu is pushed off the bottom of the screen, so building towers down there can't be done.
* There were also few indications about the state of the game. For instance, it wasn't possible to see what was consuming power, and how much power each building was consuming.
* The towers could not lead their targets, and it wasn't obvious what their range was.
Placing Turrets on the bottom of the map was difficult , but other than that , the game is great !