Programming and Audio Process
Hi everybody!
Sergiu here to talk about how we did the coding and implemented the sounds in game.
Programming
Before adding anything code related to the game, we had to first design it so we know how exactly it should work in the game. If we didn’t design it first, it could be implemented in an unintended way and the team would have to spend time and effort to fix it, wasting valuable time.
One of the first scripts we made was the cooking script for the cooking machine. That script took me more than a week to make because small problems kept popping up as I was making it. It took me a while before I could find a solution in my head for how it should work. I also made it so anything that needs to be changed for balancing can be modified in the inspector so I wouldn’t have to go in the script to change it. We also made a habit of adding comments to the code so we would be able to see what it does and make it easier to bug fix in the future. Some issues with sprite sizing occurred too however they were quickly resolved by removing the empty space around the sprites.
Audio
The sounds that are in the game right now were sourced by Conor from freesounds.org. Before we could use the sounds, we had to check the license of the sounds to make sure we legally in the clear. We did have to make some simple code to play the sounds at the right time. The only hiccup came when we needed to play 2 different sounds from the same audio source. We quickly fixed that problem by making the code to play sound also change the sound file being played.
Get Deep Space Diner
Deep Space Diner
A 2D farming simulation game set on space in which you grow crops in order to cook recipes for your customers
Status | In development |
Author | WowMark |
Genre | Simulation |
Tags | 2D, Colorful, Crafting, Farming, Food, Monsters, Singleplayer, Space, Unity |
More posts
- Vertical Slice and the Future of "Deep Space Diner"Dec 12, 2021
- Deeper Dive into the Gameplay and ProgressionDec 12, 2021
- Character Backgrounds 1Dec 10, 2021
- Prototype Update 0.3Dec 05, 2021
- Prototype Update 0.2Nov 28, 2021
- Explaining the Art Design (With Daniel)Nov 23, 2021
- Prototype Update 0.1Nov 20, 2021
- Early PrototypingNov 05, 2021
- Alien Farming and the teamOct 25, 2021
Leave a comment
Log in with itch.io to leave a comment.