Programming Railways for my Indie Factory Builder Game! (Devlog)

https://www.youtube.com/watc...
WISHLIST the game here! https://bit.ly/2JNJLXY In this devlog I program and design a brand new Trade system for Lumbermill - my indie factory builder / management game. (Unity 2D Indie Game Devlog) šŸŒ² Discord: https://discord.gg/KX5rq78 šŸŒ² Patreon: https://www.patreon.com/bwdev šŸŒ² Twitter (BWDev) - https://twitter.com/bwdev1 šŸŒ² Twitter (Lumbermill) - https://twitter.com/LumbermillGame šŸŒ² Localization Docs - https://bit.ly/2K7jZgZ ā®ž Description ā®œ Although Trade was added way back in November 2019, the old system really isn't looking it's best and there was a lot that needed changing. Since the last devlog, I've removed that old system entirely and begun work on it's successor. This is how everything will work: Trade Offers Trade offers will come in every so often from companies that wish to work with you. They'll request a certain product, and give you a price for it. You can immediately accept or decline the offer. Or - you can send a counter offer if you think it could be improved. You can adjust the price per unit, send the counter offer - and if all goes to plan, the company will accept. Reputation You'll gain trade reputation through succesful trades (e.g. completed on time). You'll lose reputation for failed trades, or trades delivered late. The better your reputation, the better your chances when sending counter offers. Certain companies will also only work with mills that have a threshold of reputation, so you'll work with higher-rep companies the more successful trades you complete. Trade Collectors & Rails Collectors will pick up items from the conveyor belts, pack them up, and when all the required items are collected, send them to the dock via rail. Trading Dock The dock (not implemented yet) is where trade will be shipped off your island, to your clients. It is therefore a vital part of the trade system! ā®ž About BWDev ā®œ If you're new to the channel, welcome! I'm a full time Indie Game developer working in Unity 2D. Lumbermill is my main project - a management/factory builder game, which I began work on in Feb 2019. I aim to release devlogs on that project every few weeks, so keep an eye out for those! ā®ž Timestamps ā®œ 0:00 - Introduction 0:19 - Old trade system 1:00 - Research & Design 1:30 - Procedural Offer Generator 2:00 - Trade Interface (GUI) 4:55 - Rails 6:46 - Localization / Translation 8:02 - Trade Collector Machine 9:16 - Outro ā®ž Devlogs you should check out ā®œ BWDev - 1 YEAR of Unity Game Development in 10 Minutes https://www.youtube.com/watch?v=vLsbaEwqiGA BWDev - Translating My Indie Game (Devlog) https://youtu.be/zZ8qS0fmeeE BWDev - 48 Hours to Make a Game! GMTK 2020 https://www.youtube.com/watch?v=4siUM7CmQ0M Sam Hogan - I Made a Zero Player Game https://www.youtube.com/watch?v=N-BbgqOjIqk&t=47s Sam Hogan - I Made Minecraft in 24 Hours https://www.youtube.com/watch?v=Nj8gt_92c-M Sam Hogan - I Made a Game with Intentional Bugs https://www.youtube.com/watch?v=M_iiXaaF5T4 ThinMatrix - Programming a City-Building Game From Scratch! https://www.youtube.com/watch?v=pib4IWX_9RM ThinMatrix - A Day in the Life of an Indie Game Developer https://www.youtube.com/watch?v=eRiyV1Kan24 ThinMatrix - Two Years of Game Development https://www.youtube.com/watch?v=HK1ajrItIh0 Dani - I Made Among Us, but it's 3D https://www.youtube.com/watch?v=K0X5A6aURms&t=799s Dani - He said I Couldn't Make A 3D Game... So I Made One https://www.youtube.com/watch?v=rb0EhmyQ0aM #devlog #unity #madewithunity #unity2d #indiedev #bwdev #gamedev #indiegame