CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Follow publication

Member-only story

Making a RTS game #39: Boosting our game scene (Unity/C#)

Let’s continue working on our RTS: today, we’ll improve our game scene!

Mina Pêcheux
CodeX
Published in
9 min readDec 2, 2021

⬅️ Tutorial #38: Using workers to construct buildings 3/3 | TOC | Tutorial #40: Fixing our minimap ➡️

📕 Get the ebook and bonus material on Gumroad!
🚀 Find the code of this tutorial series on my Github!

The last articles have been pretty dense, and . So, what if we calmed down a bit and focused on some quick-win features this time? :)

Today, we’ll work on : we’ll add to precisely determine where the initial buildings will be placed, we’ll add some for player units and we’ll even see how to of the current minimap to get a “snapshot” of the level!

Adding spawn points

So far in the series, we’ve been spawning just one building for our current player, in the middle of the screen (depending on where the camera was pointing initially). This is, of course, not very usable in a real RTS game!

Usually, those games have a system of : the map contains some reference anchors for each player in the session that are…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

CodeX
CodeX

Published in CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Mina Pêcheux
Mina Pêcheux

Written by Mina Pêcheux

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)

No responses yet

Write a response