{"author_link":"\/users\/tajamsoft","author_name":"tajamsoft","author_uid":"tajamsoft","comments":[],"epoch":1524671527,"event":"LD41","format":"md","ldjam_node_id":93566,"likes":0,"metadata":{"p_key":"113431","p_author":"tajamsoft","p_authorkey":"1003303","p_urlkey":"329391","p_title":"Wrong Bet Postmortem","p_cat":"LDJam ","p_event":"LD41","p_time":"1524671527","p_likes":"0","p_comments":"0","p_status":"WAYBACK","us_key":"1003303","us_name":"tajamsoft","us_username":"tajamsoft","event_start":"1524182400","event_key":"72","event_name":"LD 41"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD41","removed_author":false},"_superparent":73256,"_trust":2,"author":3303,"body":"Feel free to play the game! https:\/\/ldjam.com\/events\/ludum-dare\/41\/wrong-bet\n\n**Wrong Bet** is my game for LD41, it's a racing game with a twist: Instead of controlling the cars you control a god which is actively trying to get a team to win. The idea came into life after scrolling through Wikipedia's game genres list. The original idea was a tower-defense racing game, but quickly changed to the game that ended up being made.\n\nAbout a week before the LD I started working on a little node based \"engine\", similar to Godot. The concept worked pretty well, and was not very hard to work with, so I ended up using the engine in the game. I must admit that I ended up changing a lot of the engine during the LD as some parts of the engine were simply not well planned. I think I'm going to actually finish writing the engine for future games. I may change the name, SilverSource does not make sense (It's inspired by GoldSource, but it's not similar in any way ;))\n\n##### Note: The images look horrible as I had to downscale them, and they lost quality. We really need to be able to resize markdown images! (In the HTML)\n\n----\n#### First Day\n\n\nWell, let's get to the actual theme. The first thing I wrote was the [Track](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/nodes\/NTrack.cpp), it loads the data from a color-coded image (which is horribly ugly). The track is called by the karts to see if they are inside a wall, and to find what waypoint to go to.\nAlongside the Track I was writing the [Kart](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/nodes\/NKart.cpp), at the starts the physics were pretty crude, but with some work they became what is now in the game, not extremely realistic but fits the arcade style of the game. \n\nThat, and making the kart sprites and the menu theme, was the first day.\n\n----\n#### Second Day\n\n![capt5.PNG](\/\/\/raw\/7ec\/z\/13f2c.png)\n\nThe second day's priority was getting weapons planned and working. They were fairly easy to program just requiring a few hundred lines of code. Most weapons are implemented with a node and an entry in the [GodAttack.h file](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GodAttack.h). I also moved the kart spawning code to a more [elegant system](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/facility\/Team.cpp), and added some basic sounds. On the art-side-of-things, the forest track was designed and the race music was written!\n\n---\n### Third Day\n\n![capt4.PNG](\/\/\/raw\/7ec\/z\/13f2a.png)\n\nThis day was the most intense (as usual). The game required a lot of polish, a [Main Menu](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GameMenu.h) and a second track (the night track). I also moved the game code to the [Race](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GameRace.h) file, wrote the victory and defeat themes and screens and fixed a lot of bugs related to car handling. I also added the engine sounds which worked surprisingly well! They are simply a looping sawtooth wave.\n\n### Future?\n\nThere are some weird crashes that seem to happen randomly, I really should fix these! If people enjoy the game I may polish it more (listening to the feedback!) and release a post-jam version.\n\nAlso I should look into a Linux build, I hope I don't hit a brick-wall (gcc hates my VS code!).\n\nI'm pretty sure I'm going to use this engine for future games, just have to get some fixes and get my mind around how to implement scenes. Also I really need a GUI toolkit, manually writing GUIs is no fun.\n\nI uploaded the music to [SoundCloud](https:\/\/soundcloud.com\/user-298559041\/tracks). It's always cool to come across one of your old projects :)\n\n\nThanks for reading, feel free to leave your projects in the comments, looking forward to rate some games!\n","comments":0,"created":"2018-04-24T20:14:07Z","files":[],"files-timestamp":0,"id":93566,"love":0,"meta":[],"modified":"2018-04-25T15:54:51Z","name":"Wrong Bet Postmortem","node-timestamp":"2018-04-25T15:54:51Z","parent":77697,"parents":[1,5,9,73256,77697],"path":"\/events\/ludum-dare\/41\/wrong-bet\/wrong-bet-postmortem","published":"2018-04-25T15:52:07Z","scope":"public","slug":"wrong-bet-postmortem","subsubtype":"","subtype":"","type":"post","version":276123},"node_metadata":{"n_key":"93566","n_urlkey":"329391","n_parent":"77697","n_path":"\/events\/ludum-dare\/41\/wrong-bet\/wrong-bet-postmortem","n_slug":"wrong-bet-postmortem","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"3303","n_created":"1524600847","n_modified":"1524671691","n_version":"276123","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/41\/wrong-bet\/wrong-bet-postmortem","text":"Feel free to play the game! https:\/\/ldjam.com\/events\/ludum-dare\/41\/wrong-bet\n\n**Wrong Bet** is my game for LD41, it's a racing game with a twist: Instead of controlling the cars you control a god which is actively trying to get a team to win. The idea came into life after scrolling through Wikipedia's game genres list. The original idea was a tower-defense racing game, but quickly changed to the game that ended up being made.\n\nAbout a week before the LD I started working on a little node based \"engine\", similar to Godot. The concept worked pretty well, and was not very hard to work with, so I ended up using the engine in the game. I must admit that I ended up changing a lot of the engine during the LD as some parts of the engine were simply not well planned. I think I'm going to actually finish writing the engine for future games. I may change the name, SilverSource does not make sense (It's inspired by GoldSource, but it's not similar in any way ;))\n\n##### Note: The images look horrible as I had to downscale them, and they lost quality. We really need to be able to resize markdown images! (In the HTML)\n\n----\n#### First Day\n\n\nWell, let's get to the actual theme. The first thing I wrote was the [Track](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/nodes\/NTrack.cpp), it loads the data from a color-coded image (which is horribly ugly). The track is called by the karts to see if they are inside a wall, and to find what waypoint to go to.\nAlongside the Track I was writing the [Kart](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/nodes\/NKart.cpp), at the starts the physics were pretty crude, but with some work they became what is now in the game, not extremely realistic but fits the arcade style of the game. \n\nThat, and making the kart sprites and the menu theme, was the first day.\n\n----\n#### Second Day\n\n![capt5.PNG](\/\/\/raw\/7ec\/z\/13f2c.png)\n\nThe second day's priority was getting weapons planned and working. They were fairly easy to program just requiring a few hundred lines of code. Most weapons are implemented with a node and an entry in the [GodAttack.h file](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GodAttack.h). I also moved the kart spawning code to a more [elegant system](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/facility\/Team.cpp), and added some basic sounds. On the art-side-of-things, the forest track was designed and the race music was written!\n\n---\n### Third Day\n\n![capt4.PNG](\/\/\/raw\/7ec\/z\/13f2a.png)\n\nThis day was the most intense (as usual). The game required a lot of polish, a [Main Menu](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GameMenu.h) and a second track (the night track). I also moved the game code to the [Race](https:\/\/github.com\/tatjam\/wrong-bet-ld41\/blob\/master\/SilverSource\/src\/ldgame\/GameRace.h) file, wrote the victory and defeat themes and screens and fixed a lot of bugs related to car handling. I also added the engine sounds which worked surprisingly well! They are simply a looping sawtooth wave.\n\n### Future?\n\nThere are some weird crashes that seem to happen randomly, I really should fix these! If people enjoy the game I may polish it more (listening to the feedback!) and release a post-jam version.\n\nAlso I should look into a Linux build, I hope I don't hit a brick-wall (gcc hates my VS code!).\n\nI'm pretty sure I'm going to use this engine for future games, just have to get some fixes and get my mind around how to implement scenes. Also I really need a GUI toolkit, manually writing GUIs is no fun.\n\nI uploaded the music to [SoundCloud](https:\/\/soundcloud.com\/user-298559041\/tracks). It's always cool to come across one of your old projects :)\n\n\nThanks for reading, feel free to leave your projects in the comments, looking forward to rate some games!\n","title":"Wrong Bet Postmortem","wayback_source":[]}