Wayward Odyssey is a spaceship rogue(like^n) RTS taking place immediately after the human race has been devastated by a mysterious alien foe. You control a fleet of military and civilian refugee ships that you must defend and use to manage resources to lead the last fragment of the human race to survival. As the history of the universe itself unfolds in a series of randomly generated but intricately connected events, will you be able to make tough choices about who lives and who gets left behind?

Report RSS Wayward Odyssey progress updates

In this update I talk about a new enemy and some pretty turrets! Also a state machine because everyone likes those!

Posted by on

In the last two weeks I've made some really great progress; mostly in the background but I’ve still got some bits to show off!First up is a new enemy ship which looks and behaves differently to any of the player’s ships.

Enemies, turrets and a state machine

It’s nice to have an enemy unit that actually looks evil (opposed to identical human ships fighting!) and it’s helping to make the game look less like a tech demo. I also worked on how weapons are programmed - they’re now structured in a sensible fashion that allows me to quickly add new variants and simply drop prefabs where I want them. The fixed ion beam in the picture above uses 99% of the same code as the ion beam turret, so all the changes to underlying functionality get propagated properly. Hurrah for coding standards! The new baddie also has some missile launchers on the underbelly which you can see below. The missiles shoot down a little bit before engaging target tracking which looks pretty great!

Enemies, turrets and a state machine

To help in scripting events I wrote a simple barely-finite state machine class and editor. It’s really lightweight but it’s very useful in visualising relatively complex relationships between states. I can simply attach functions to each state or transition to run at specific points. This is turning out to be a super useful tool in scripting events, like the basic enemy wave event below:

Enemies, turrets and a state machine

You can also see the simple debug strings and the highlighted state that’s active. Ultimately the events will be come much more complex, so this will help prevent nasty bugs from unexpected situations.Finally - I made my first game animation! The ion turrets can now retract when outside of combat for a more sleek appearance, which also helps separate the combat and peacetime as ships have a distinctly different profile. It took a while to get there though, since I encountered a Unity-Blender animation import bug. Unity confirmed it was a bug, so at least I’m not going crazy :D

Enemies, turrets and a state machine

Comments
{HEROIC}Doci
{HEROIC}Doci

hihi cool stuff mate :D
I will follow youre mod :)
keep it up ^^

Reply Good karma Bad karma+1 vote
Toby. Author
Toby.

Hey thanks :)

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Wayward Odyssey
Platforms
Windows, Mac, Linux
Creator
Toby.
Engine
Unity
Contact
Send Message
Release date
Game watch
Follow
News
Browse
News
Report
Report
Share
Related Games
Wayward Odyssey
Wayward Odyssey Real Time Strategy
Related Engines
Unity
Unity Commercial