{"author_link":"\/users\/old-starchy","author_name":"Old Starchy","author_uid":1103706,"comments":[{"author_name":"kostak","author_uid":1108726,"time":"2018-08-14T09:19:39Z","epoch":1534238379,"modified":1534238379,"text":"It turns out it is necessary to compile independently?\nMaybe that's why this game has no reviews?\n![DJT4JtL.png](\/\/\/raw\/6b8\/a1\/z\/19013.png)","likes":0,"format":"md"},{"author_name":"worai","author_uid":1008918,"time":"2018-08-14T09:22:25Z","epoch":1534238545,"modified":1534238545,"text":"I would like to try your game. Is it possible for you to upload an executable of it and make it available for download? :)","likes":0,"format":"md"},{"author_name":"Old Starchy","author_uid":1103706,"time":"2018-08-16T11:10:26Z","epoch":1534417826,"modified":1534417826,"text":"@kostak @worai I've uploaded a zip to dropbox, let me know if you have any trouble running it.","likes":0,"format":"md"},{"author_name":"Shapkofil","author_uid":1104948,"time":"2018-08-16T11:16:32Z","epoch":1534418192,"modified":1534418192,"text":"I like that there are a lot of different weapons \nbut the game feels a lot like Asteroids \nxD the graphics are basicly the same \notherwise its kind of fun.","likes":0,"format":"md"},{"author_name":"worai","author_uid":1008918,"time":"2018-08-18T14:12:21Z","epoch":1534601541,"modified":1534601541,"text":"I like how pretty much all events in the game have quite distinct sound effect associated to them. You get an \"oopht\" kind of satisfaction from shooting stuff. Also, I like the physics in the game. The controls feel kinda finicky, tho it's kinda difficult for me to pin down what could be done about that. Thank you for uploading the exe :D","likes":0,"format":"md"},{"author_name":"Old Starchy","author_uid":1103706,"time":"2018-08-21T13:36:46Z","epoch":1534858606,"modified":1534858606,"text":"Thanks @worai I agree completely. I made a point to have unique sounds for each event since it can play a huge part in giving the player information about whats going on without taking their attention from what they're doing. Geometry Wars does the same thing, each enemy has a different sound when they spawn (and some when they \"activate\"). As I mentioned above, the controls are weird because I tried to make them physically correct, however \"physically correct\" does not mean \"fun to play\" (eg. any GTA game).","likes":0,"format":"md"}],"format":"md","images":["ld42\/103770-554e6fb8cdeb9f14cea01ee25d93db1f.png"],"links":[{"url":"https:\/\/gitlab.com\/OldStarchy\/running-out-of-space","text":"Source code"},{"url":"https:\/\/www.dropbox.com\/s\/drnntaosb86j7d8\/build.zip?dl=1","text":"Windows"}],"metadata":{"g_key":"35769","g_author":"1103706","g_event":"LD42","g_eventkey":"73","g_subevent":"JAM","g_urlkey":"244758","g_title":"Running out of space","g_status":"USEAR3","g_place":"99999","g_commentcount":"6","g_site2_node_id":"103770","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":{"n_key":"103770","n_urlkey":"244758","n_parent":"97793","n_path":"\/events\/ludum-dare\/42\/running-out-of-space-22","n_slug":"running-out-of-space-22","n_type":"item","n_subtype":"game","n_subsubtype":"jam","n_author":"103706","n_created":"1533728541","n_modified":"1534424100","n_version":"349129","n_status":"COMMIT"},"node":{"id":103770,"parent":97793,"superparent":9,"author":103706,"type":"item","subtype":"game","subsubtype":"jam","published":"2018-08-13T14:43:10Z","created":"2018-08-08T11:42:21Z","modified":"2018-08-16T12:55:00Z","version":349129,"slug":"running-out-of-space-22","name":"Running out of space","body":"# Ludum Dare 42 \"Running out of space\"\n\nI finished _something_ which means I've completed my goal.\n\nThe game is not great.  \nThe code is not great.\n\nBut, I did learn about a lot of things while making this :).\n\n## Details\n\nDeveloped in Unity 2018.2.1f1 Personal  \nSound effects by SFXR  \nBackground music from https:\/\/freesound.org  \nBackground image from royalty free image search on Google\n\n## Gameplay\n\nAsteroids fall from the top of the screen. Shoot your way through, but don't get hit by the falling debris.\n\nMove - Left \/ Right  \nShoot - Space - You start with one \"barrel\" and it goes up to 5 as your score increases  \nGrav Bomb - Left Control - You start with 2, and get a new one every 2000 points  \nExtra Lives - You start with 1, and get a new one every 5000 points  \nHealth - Your ship has health, you take damage by hitting asteroids. The harder you hit, the more damage.  \nScore - You get points by destroying asteroids. You don't get points for using the Grav Bomb though.  \nAsteroids - You can't destroy the small ones, you just have to avoid them.\n\nIf you get sick of the short music loop you can turn toggle it with \"M\".\n\n## Retrospective\n\n(I did not want to embed the videos, I tried to make them normal links but the markdown renderer wouldn't have it)\n\nMy initial idea was very much \"Asteroids, but with more asteroids\". That would cover the theme of \"space\" and \"running out of space [because there are too many asteroids]\", and would make my job easier because I could rely on vector graphics.\n\nhttps:\/\/youtu.be\/FkHjG759ABY?t=798\nGo to 13:18\n\nThe gameplay also started a lot more like asteroids with a free roaming ship. The controls were all physics based too, which made it that much harder to control. I can be a bit too set in trying to be realistic sometimes.\n\nI did a quick search for \"Vector graphics in Unity\" because I figured that would be easier than creating sprites \/ textures, and found [RageSpline](https:\/\/assetstore.unity.com\/packages\/tools\/sprite-management\/ragespline-555) which was more than what I was looking for. I spent A bit of time writing a [random shape generator](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/blob\/master\/Assets\/Scripts\/LumpyShape\/LumpyShapeGenerator.cs), that would save me having to create the asteroids myself and would prevent repetitive assets.\n\nI tried to keep it all pretty simple, so the asteroids were all one hit to explode, and that was OK, but I knew it needed something more than just \"shoot asteroid; asteroid explodes into smaller asteroids\". The grav gun (read \"Gravity Well\") was my answer to that problem; a couple more splines and [another script to save me work](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/blob\/master\/Assets\/Scripts\/Weapons\/Grav\/GravFinCreator.cs) and they were in.\n\nhttps:\/\/www.youtube.com\/watch?v=YgJe0YI18Fg\n\nAt this stage I wasn't sure how I was going to spawn new asteroids, I didn't want it to be waves (that would have required defining X number of waves and possibly a win condition).\n\nTalking to my housemate he suggested the top-down style, I didn't have any better ideas so I tried it out. It seemed to work better than the freeroaming ship I had earlier as it was much easier to control. It also solved the asteroid spawning problem as now there was a clear direction, top to bottom, and I could spawn the asteroids above the area and have them glide down Bubble Shooter style.\n\nI actually created [3 classes](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/tree\/master\/Assets\/Scripts\/Spawners) to deal with spawning asteroids. I could have done it with one, but at this stage I was still optimistic and trying to write good \/ reusable code.\n\nThis was about the time I added some sound effects that I randomly generated using [SFXR](http:\/\/www.drpetter.se\/project_sfxr.html). It was also from discussion with my housemate that the game went from one bullet at a time to the 5 shot spread that's currently in the game.\n\nhttps:\/\/youtu.be\/07-8T5UYY0A?t=12\n\nTrying to make the game more enjoyable, I started thinking about the excellent presentation by Jan Nijman of Vlambeer The art of screenshake.\n\nhttps:\/\/www.youtube.com\/watch?v=AJdEqssNZ-U\n\nTo go with the recent increase in bullets, I decided to give the asteroids health. Then more bullets again. I think these two things actually make up a lot of the enjoyment of the game.\n\nI thought I would need some kind of indication of health for each asteroid, like cracks or perhaps changing colour. However, I left that off initially due to time, but then soon decided that I liked it better without it. I think it has a nice effect.\n\nI'd love to hear any suggestions or thoughts about improving the \"game feel\".\n\nOnce that was done I decided to add the basic UI and decide on the final mechanics of the grav gun. By this stage I was home from work on Monday night, and just wanted to get something finished, so the UI was as simple as I could make it, but the grav gun took a lot of tweaking. Since most of the game was physics based and the mass of each asteroid was random, so the effect of the grav bomb was different for each one, but I had to be happy with it eventually. I also had a couple bugs where the asteroids would split to increasingly smaller pieces to no end, which caused it to hang a few times. I only had one instance where I lost work due to not saving before an infinite loop.\n\nAnyway by around about 12:00 am Tuesday morning I made the repository public and published the game here. Now (the following Thursday) that its been a few days I wanted to share some things that I learnt, but since the above is more of a \"making of\", here's some dot points:\n\n### Takeaway's\n\n* I liked how small most of the scripts ended up. Splitting what would normally be a PlayerController class into separate PlayerMoveController, PlayerShootController, and PlayerHealthController made it much easier to try out different mechanics (like freefroam, turret, and rails movement methods).\n* The randomly generated asteroids actually turned out pretty well given the effort that went into making them.\n* Using Unitys Gizmos functionality was pretty useful when creating the \"killzones\" and spawn areas. OnDrawGizmos is good bang for buck.\n* Despite how simple I thought this game would be, there was much more to do to get it working than I had expected.\n* I've always been the kind of person to avoid hacks and try to do things \"the right way, once\" but I found that as long as you keep things small (and modular) its fine to write something hacky and (maybe not even) replace it later.\n* I ended up with a lot of objects that needed a reference to the GameController, and I was using `public GameController GameController;` to do it for a little while, but for such a widely used component I ended up tagging it and using `GameObject.FindWithTag` to avoid having to link it for every object. I'm not usually a fan of singleton but this wasn't terrible.\n* I struggled to stay focused on this for a long time, even though programming and gaming are high on my list of fun things to do. I spent a lot of time looking at this as \"A not-very-fun game\" when I should have been thinking of it as \"an exercise to finish a project\". It would have also been a good idea to do a 2h on 10m off [Pomodoro style](https:\/\/en.wikipedia.org\/wiki\/Pomodoro_Technique) time management plan to keep from stagnating.\n\n","meta":{"author":[103706],"grade-06-out":"1","grade-05-out":"1","grade-07-out":"1","grade-08-out":"1","cover":"\/\/\/content\/a15\/91\/z\/177eb.png","link-01":"https:\/\/gitlab.com\/OldStarchy\/running-out-of-space","link-01-tag":"42332","link-02":"https:\/\/www.dropbox.com\/s\/drnntaosb86j7d8\/build.zip?dl=1","link-02-tag":"42337"},"path":"\/events\/ludum-dare\/42\/running-out-of-space-22","parents":[1,5,9,97793],"love":0,"notes":6,"notes-timestamp":"2018-08-21T13:36:46Z","grade":{"grade-01":2,"grade-02":2,"grade-03":1,"grade-04":2},"magic":{"cool":0,"feedback":0,"given":0,"grade":1.75,"smart":-24.407105398155}},"text":"# Ludum Dare 42 \"Running out of space\"\n\nI finished _something_ which means I've completed my goal.\n\nThe game is not great.  \nThe code is not great.\n\nBut, I did learn about a lot of things while making this :).\n\n## Details\n\nDeveloped in Unity 2018.2.1f1 Personal  \nSound effects by SFXR  \nBackground music from https:\/\/freesound.org  \nBackground image from royalty free image search on Google\n\n## Gameplay\n\nAsteroids fall from the top of the screen. Shoot your way through, but don't get hit by the falling debris.\n\nMove - Left \/ Right  \nShoot - Space - You start with one \"barrel\" and it goes up to 5 as your score increases  \nGrav Bomb - Left Control - You start with 2, and get a new one every 2000 points  \nExtra Lives - You start with 1, and get a new one every 5000 points  \nHealth - Your ship has health, you take damage by hitting asteroids. The harder you hit, the more damage.  \nScore - You get points by destroying asteroids. You don't get points for using the Grav Bomb though.  \nAsteroids - You can't destroy the small ones, you just have to avoid them.\n\nIf you get sick of the short music loop you can turn toggle it with \"M\".\n\n## Retrospective\n\n(I did not want to embed the videos, I tried to make them normal links but the markdown renderer wouldn't have it)\n\nMy initial idea was very much \"Asteroids, but with more asteroids\". That would cover the theme of \"space\" and \"running out of space [because there are too many asteroids]\", and would make my job easier because I could rely on vector graphics.\n\nhttps:\/\/youtu.be\/FkHjG759ABY?t=798\nGo to 13:18\n\nThe gameplay also started a lot more like asteroids with a free roaming ship. The controls were all physics based too, which made it that much harder to control. I can be a bit too set in trying to be realistic sometimes.\n\nI did a quick search for \"Vector graphics in Unity\" because I figured that would be easier than creating sprites \/ textures, and found [RageSpline](https:\/\/assetstore.unity.com\/packages\/tools\/sprite-management\/ragespline-555) which was more than what I was looking for. I spent A bit of time writing a [random shape generator](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/blob\/master\/Assets\/Scripts\/LumpyShape\/LumpyShapeGenerator.cs), that would save me having to create the asteroids myself and would prevent repetitive assets.\n\nI tried to keep it all pretty simple, so the asteroids were all one hit to explode, and that was OK, but I knew it needed something more than just \"shoot asteroid; asteroid explodes into smaller asteroids\". The grav gun (read \"Gravity Well\") was my answer to that problem; a couple more splines and [another script to save me work](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/blob\/master\/Assets\/Scripts\/Weapons\/Grav\/GravFinCreator.cs) and they were in.\n\nhttps:\/\/www.youtube.com\/watch?v=YgJe0YI18Fg\n\nAt this stage I wasn't sure how I was going to spawn new asteroids, I didn't want it to be waves (that would have required defining X number of waves and possibly a win condition).\n\nTalking to my housemate he suggested the top-down style, I didn't have any better ideas so I tried it out. It seemed to work better than the freeroaming ship I had earlier as it was much easier to control. It also solved the asteroid spawning problem as now there was a clear direction, top to bottom, and I could spawn the asteroids above the area and have them glide down Bubble Shooter style.\n\nI actually created [3 classes](https:\/\/gitlab.com\/OldStarchy\/running-out-of-space\/tree\/master\/Assets\/Scripts\/Spawners) to deal with spawning asteroids. I could have done it with one, but at this stage I was still optimistic and trying to write good \/ reusable code.\n\nThis was about the time I added some sound effects that I randomly generated using [SFXR](http:\/\/www.drpetter.se\/project_sfxr.html). It was also from discussion with my housemate that the game went from one bullet at a time to the 5 shot spread that's currently in the game.\n\nhttps:\/\/youtu.be\/07-8T5UYY0A?t=12\n\nTrying to make the game more enjoyable, I started thinking about the excellent presentation by Jan Nijman of Vlambeer The art of screenshake.\n\nhttps:\/\/www.youtube.com\/watch?v=AJdEqssNZ-U\n\nTo go with the recent increase in bullets, I decided to give the asteroids health. Then more bullets again. I think these two things actually make up a lot of the enjoyment of the game.\n\nI thought I would need some kind of indication of health for each asteroid, like cracks or perhaps changing colour. However, I left that off initially due to time, but then soon decided that I liked it better without it. I think it has a nice effect.\n\nI'd love to hear any suggestions or thoughts about improving the \"game feel\".\n\nOnce that was done I decided to add the basic UI and decide on the final mechanics of the grav gun. By this stage I was home from work on Monday night, and just wanted to get something finished, so the UI was as simple as I could make it, but the grav gun took a lot of tweaking. Since most of the game was physics based and the mass of each asteroid was random, so the effect of the grav bomb was different for each one, but I had to be happy with it eventually. I also had a couple bugs where the asteroids would split to increasingly smaller pieces to no end, which caused it to hang a few times. I only had one instance where I lost work due to not saving before an infinite loop.\n\nAnyway by around about 12:00 am Tuesday morning I made the repository public and published the game here. Now (the following Thursday) that its been a few days I wanted to share some things that I learnt, but since the above is more of a \"making of\", here's some dot points:\n\n### Takeaway's\n\n* I liked how small most of the scripts ended up. Splitting what would normally be a PlayerController class into separate PlayerMoveController, PlayerShootController, and PlayerHealthController made it much easier to try out different mechanics (like freefroam, turret, and rails movement methods).\n* The randomly generated asteroids actually turned out pretty well given the effort that went into making them.\n* Using Unitys Gizmos functionality was pretty useful when creating the \"killzones\" and spawn areas. OnDrawGizmos is good bang for buck.\n* Despite how simple I thought this game would be, there was much more to do to get it working than I had expected.\n* I've always been the kind of person to avoid hacks and try to do things \"the right way, once\" but I found that as long as you keep things small (and modular) its fine to write something hacky and (maybe not even) replace it later.\n* I ended up with a lot of objects that needed a reference to the GameController, and I was using `public GameController GameController;` to do it for a little while, but for such a widely used component I ended up tagging it and using `GameObject.FindWithTag` to avoid having to link it for every object. I'm not usually a fan of singleton but this wasn't terrible.\n* I struggled to stay focused on this for a long time, even though programming and gaming are high on my list of fun things to do. I spent a lot of time looking at this as \"A not-very-fun game\" when I should have been thinking of it as \"an exercise to finish a project\". It would have also been a good idea to do a 2h on 10m off [Pomodoro style](https:\/\/en.wikipedia.org\/wiki\/Pomodoro_Technique) time management plan to keep from stagnating.\n\n","title":"Running out of space"}