Advanced 2D Camera Controller // Unity Devlog #9

Опубликовано: 22 Декабрь 2019
на канале: Sam Hogan
169,166
3k

Play the demo: https://trickshotlabs.itch.io/siege-p...
Join the discord and help test the game:   / discord  

In this devlog: improving the camera controller, creating a title screen, and implementing more advanced circle connections!

👉 Follow me on Twitter:   / samhgames  

🎵 MUSIC 🎵
→ "Dance to Your Heart's Content" by TechnoAxe:    • Dance to Your Heart's Content - Elect...  
→ "Heavy Brigade" and "The Power and the Glory" by Purple Planet Music: https://www.purple-planet.com
→ "Jerry Five" by Kevin MacLeod: https://incompetech.com

👨‍💻 IN THIS DEVLOG 👨‍💻
For a long time, I've only used a simple camera follow script for tracking the player. In this game, the ragdolls can be flung around in all kinds of ways AND you have the ability to control the camera zoom, which made this simple solution not quite enough. I ended up combining two different ideas: track a position that smoothly follows behind the player and add on top of it an offset value to frame the scene. Secondary additions include auto-zooming to keep the ground in view or when the player has a high velocity, as well as the use of raycasts to locate the ground.

I also created a basic title screen, and improved the connection forming of circular shaped objects.

Should I change the game's name? A good name describes the game well, is pronounceable, memorable, and searchable. I don't think the current name "Siege Engineer" checks all of these boxes. "Siege Sandbox" won the twitter poll, and it visually looks cool, but it's kind of awkward to say too. I'm probably overthinking this lol. "Siege Physics" is growing on me. Leave a vote in the poll in the video!

🎮 GAME INFO 🎮
Siege Engineer is a 2D physics-based puzzle game I'm developing with Unity. You are tasked with building siege engines to transport the ragdoll foot soldier across enemy territory. Fed up with his siege engine genius being ignored due to his low status in feudal society, our protagonist has decided to single-handedly take over kingdoms and stuff.

To play, drag objects from an inventory into the scene and connect them together. Press play to watch chaos ensue. Create catapults, trebuchets, vehicles, and much more!


Смотрите видео Advanced 2D Camera Controller // Unity Devlog #9 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sam Hogan 22 Декабрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 169,166 раз и оно понравилось 3 тысяч людям.