Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Games Spacecraft

Discussion in 'Works In Progress' started by Serinx, Jan 30, 2020.

  1. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Spacecraft (Working Title) is a space exploration and conquest game where you travel the galaxy in search of resources to build and improve your spacecraft and colonize planets.

    Be warned, you're not alone in the galaxy! Rogue spaceships roam around looking to take away everything you've worked for.

    You'll also have to watch out for meteors, solar flares and black holes!

    You can playtest the latest build from my Itch page (Updated 22nd August 2020)

    Here's the latest video (Updated 2nd September 2020):


    I'll update this thread every week with anything I'm working on.

    Let me know what you think and if you have any ideas for new features!
     
    Last edited: Sep 2, 2020
    AlexHntk, RavenOfCode and Billy4184 like this.
  2. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I spent some time tidying up the UI and I'm pretty happy with the general direction of it, although it's still a bit bland.

    I also added module rotations (dunno why I didn't add this sooner!) and module painting for a bit of personalization.

    Here's a vid!

     
  3. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    New background and a planet!

     
    ARLTB likes this.
  4. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Planets are now interactable in that you can build modules into the slots when you're near them.

    For now, there's only an automatic turret available for planets.
    I plan on adding more weapons, shields and utility modules such as resource processors, repair stations, docking stations.

    Adding the modules to the planet works in a similar fashion to how you add them to the ship, but they don't need to be connected to a "core module" and they work independently.

    There's also a limited number of slots so you need to choose wisely and explore to find more planets and bigger planets!

    Here's a video of it in action. The enemies pounced on me a bit earlier than expected so I had to build my turrets mid battle!

     
  5. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Thought this was pretty cool, I learned about predictive aiming so the turret will shoot ahead of its target based on distance, velocity of the target and velocity of the projectile.
    I rendered a yellow crosshair to show where the turret is aiming in order to hit the moving target.

     
    TonicMind likes this.
  6. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Been a little while since the last update, here's what I've been working on:
    • 3 new planets: Leafy, Puffy and Icy
    • 2 new planet modules: Resource Gatherer (this replaces the "Resource Processor" circles) and Docking Station (this replaces the "modify ship" button)
    • Updated visuals for the orbital cannon
    • AI now spawn periodically in neighboring sectors rather than only once per sector
    • Ship now has a "gyroscope" on the core module which allows you to rotate the ship to face the cursor without having to use turning thrusters (you can still use turning thrusters if you want a faster rotation)
    Here's a video showing it all in action :)

     
    Antypodish and TonicMind like this.
  7. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    Looks lovely :)
     
    Serinx likes this.
  8. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    I do wonder, would you consider add, or experiment with gravity near planets and sun?
    Your project evolved so much since you started. Well done.

    Sorry for my very brief responses.
     
  9. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    @Antypodish A brief response is better than nothing!

    I've definitely considered the gravitational pull but there is a lot of things to consider.

    I need to find a good balance between realism and fun.

    Do you think there would be any fun mechanics using gravitational pull?

    Currently, I've got black holes which are like obstacles that the player needs to avoid and they'll pull in anything that gets close enough with the force getting weaker over distance.
    Watching projectiles orbit the black holes is quite entertaining and I suppose it could be fun to "bend" bullets around a planet to hit a ship on the other side.

    Definitely worth playing around with!
     
  10. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    I think yes. I personally love that stuff. Shutting something hidden, playing with gravity and flying around things. Considering playing something like Angry Birds in space :p
    You don't need make like super realistic. Keeping arcadish way should be interesting. For example, forces acting, only when close enough. I think only challenging part will be the AI, to recognize and act upon such mechanics of gravitational pull.

    You could also consider adding experimental switch in gameplay options, for switching gravity On/Off.
     
  11. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I spent a bit of time working on fixing up friendly fire, so now you can't damage your own ship and you can place weapons anywhere you like because the projectiles ignore your ship and only damage enemies.

    Part of this was driven by the new "autoturret" weapon which works the same as the orbital cannon on the planets except it's on your ship! (with slightly less damage).

    I also started adding a map that shows which sectors of the galaxy you've explored.
    I always struggle with UI scroll views so it's been a bit painful but I think I have the base of it working nicely.
    I'm going to add the ability to place waypoints and obviously some indicator to show where the player is in the galaxy.

    Here's a video where you can see some of the new things!



    I've got about 10 more items on my Trello to complete before I build another playtest... stay tuned!
     
    Antypodish likes this.
  12. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Where has the time gone!?
    March is almost over and I feel like I haven't gotten very far but there's a lot of tedious stuff I've been working on which I'm glad I've finally conquered.
    Now I can make way for more fun stuff!

    So what was I doing?
    I added a minimap, I gave up on the idea in the video above because the scrollrect really wasn't playing nice with dynamic updates to the content. I went with a simple minimap for now which just shows a small icon for different things in the unverse:



    I put together a small tutorial for learning to pilot the ship.
    With feedback from these forums, I cut down the ship building tutorial to some very basic steps to get people into the action faster.

    Fixed loads of bugs
    Added lots of Menu updates for easier navigation
    Added automatic saving when quitting or going to main menu

    Fixed a MAJOR performance issue

    Added resources which can be drilled into - this is still a work in progress.

    There's a new build up on my Itch page.

    I'd appreciate some feedback if anyone has the time. Particularly around the following:
    1. Was the Tutorial easy to follow?
    2. Was the Tutorial frustrating in any way?
    3. Do you wish anything was explained more?
    4. Was anything explained too much?
    5. Do you think you needed the tutorial?
    6. If you encountered an enemy, were they too difficult/easy?
    7. Did you encounter any bugs?
    8. Do you have any ideas for improving the existing systems?
    9. Do you have any ideas for new enemies, weapons or planets?
    10. Other comments
    Cheers!
     
  13. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Quick update - Energy swords! (will be in the next build)

     
    Antypodish, PhilippG and RavenOfCode like this.
  14. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    Landing on the sun is the best ;)
     
    Serinx likes this.
  15. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I've been thinking I'll increase the immersion of the planets by having a "Landing view" where you can actually see a representation of the planet at ground level.
    I think I'll show the planet modules you've built too, space out around the scene.

    Attached the beginnings of the frost planet landing view.

    Also, a space dragon in progress!

     

    Attached Files:

    Antypodish and AlexHntk like this.
  16. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Chopping up the void serpent! I changed the code a bit so I can have a dynamic length on the serpent and you can actually kill it and harvest resources from it now!



    If you've been following, you might notice that there are also some triangle hull modules on the ship now to make it look a little less blocky.

    Anyone have some ideas for what kind of attacks the void serpent should have?

    Let me know!
     
    Antypodish likes this.
  17. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    Maybe gazing laser eyes?
    Like 2 strong long beams, in direction of looking at.
    Or, Grip of Boa, when any ship is near any part of serpent's body, ships will receive damage.
     
    Serinx likes this.
  18. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    @Antypodish cool ideas! I like the gazing eyes, maybe if you get too close his eyes will drag you in like tractor beams and then he bites.

    I built on your Grip of Boa idea and added spikes that shoot out of his tail. Devastating at close range.
    Check it out!

     
    Antypodish likes this.
  19. ianswerquestions20

    ianswerquestions20

    Joined:
    Apr 7, 2020
    Posts:
    22
    Neat!! I can't play the exe right now, but it looks like a lot of fun. I hope it's ok if I make a couple suggestions (mostly visual):
    • A parallax background with different layers would look cool and add to the overall aesthetic.
    • Space font please!! https://www.1001fonts.com/space-fonts.html
    • I may have missed this, but are the resources in the corner clickable buttons? To me they look that way - I almost think it would look better to add more of a hud or no background at all, if you could make them look good like that.
    • I love the "Rigidbody2D is destroyed but a script is still trying to access it" errors haha. Just making sure you aware of it.
    Would it be possible for you to export the project into a WebGL build and upload it? I feel like more people would try it if they see it.

    I look forward to seeing more progress!
     
    Serinx likes this.
  20. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    @ianswerquestions20 Hey thanks for the feedback!
    Parallax background layers is definitely on the list.
    Those fonts look cool! I'll try some out.
    The resources aren't clickable but I see what you mean. I'm just being lazy and reusing some of the art for now, I will improve it at some stage!
    Yes I see the errors haha.

    I will do a webgl build next time (hoping it works fine in WebGL).
     
  21. ianswerquestions20

    ianswerquestions20

    Joined:
    Apr 7, 2020
    Posts:
    22
    Great! I'll keep following this thread for updates. Good luck!
     
    Serinx likes this.
  22. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    7,381
    I am very impressed, how you turned this idea in :)
    The shooting spices adds to visuals, gives time for player for react and plus some fun.
    Well done.
     
    Serinx likes this.
  23. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    As requested, there is now a WebGL build on my Itch page
     
  24. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Someone on reddit mentioned that my projectiles and explosions were a bit lackluster, so I grabbed some free assets and tried them out. Looks pretty decent I reckon! what do you guys think?



    Next I want to juice up the audio a bit and maybe include some screenshake (Don't worry, I'll add an option to disable it and make it subtle)
     
  25. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Small update. Added a settings menu (only 1 setting at the moment) and adjustable screenshake for explosions.

    The shake is weaker at a distance and the setting defaults to around 10% of the maximum shake.

    I went a bit overboard with the upper limit...

     
    SigmaWaveProductions likes this.
  26. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I fixed up a few small things I'd been ignoring. I really need to rework the audio which I've touched up a little in this video. Now when playing multiple thrusters and blasters it will automatically utilise the same audiosource where possible to prevent the horrible overlapping sounds. I also added some variation to how the blasters fire which make it look and feel a lot nicer. Turning is now more a constant speed rather than lerping the rotation for better accuracy and more control.



    I'm thinking the player needs some purpose now, so I'm going to introduce a very basic quest system. I can piggyback on my tutorial system for this and I think it'll add a lot of replayability.

    The quests will be along the lines of "bring me the heart of a void serpent" or "deliver 100 stone to Frostgaard"
     
  27. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I've been doing some bits and pieces but nothing major. I've recently played around with 2d lights which I think could add some pretty interesting game elements.

    I'm thinking I'll create a very dark sector in the universe with no stars and lots of dangerous obstacles, you must slowly navigate this dark sector using your torch and locate valuable resources as part of a quest.

    Here's a video showing some of the things I've done with lighting:

     
  28. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Another small update. Fixed a major bug that was bugging me... is that why they're called bugs? My whole "Sector" design where resources were tied to a sector and disappeared if you went too far away was great for performance, but kinda sucked when resources went missing as you carried them!

    Resources are still spawned within a sector, but moving them out of a sector will reassign them to the sector they enter - so simple! why didn't I do that sooner o.0

    I also added waypoints on the map, still a WIP, but this will be great to incorporate into the quest system too. I can say "go to this waypoint" rather than "wander around aimlessly until you find the resource I want".

    I'll try to get a new build up on itch real soon. I'm happy that it works in webgl to some extent! It will be great to get some feedback on the new stuff.

    As always, let me know if you have any ideas for how I could advance this game.

    I'm stagnating a bit now so I'm thinking once I've got some quests in place I'll cut and flesh out and polish.
     
  29. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Mmmm... waypoints and salsa

     
  30. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Finally got a new build done.

    Before you play:
    • Pay attention to your energy bar in the bottom right, if you run out - you're stranded!
    • You can refuel at a docking station
    • In the ship builder screen, you can click "GAINRESOURCE" to cheat and get 10 of each resource
    • I recommend you "Quit without saving" if you die
    • If it breaks on you completely, hit the HARD_RESET button in the shipbuilder screen or the main menu
    https://serinox.itch.io/spacecraft

    Here's a list of the changes:

    Features:
    1. Added an energy system. Modules each have an energy capacity and will use up energy. You can recharge at a docking station
    2. Added 5 new enemy ships
    3. New sectors and stronger enemies appear as you travel further from the center of the universe
    4. Module hitpoints and energy are now saved
    5. Resources now spawn in center after tutorial (the center sector was empty before)
    6. Prevention methods for player messing up the tutorial
    7. Beam effect now connects to resources when being towed using the resource gatherer
    8. Assigning a key to the core module will allow you to "Jump Home" (to the last docking station you were near)
    9. Tab will toggle the HUD
    10. Hovering over a module button in the ship builder will now give a short description and some stats
    11. Modules now drop resources when destroyed
    12. Game will now prompt you if your save is potentially incompatible, and give you the option to erase it
    13. Added some music
    Bug fixes:
    1. Fixed a bug where resources would disappear when carrying it too far
    2. Fixed performance issue when player dies
    3. Fixed some UI overlapping issues
    Other:
    1. AI no longer chase resources, they just patrol, idle, and fight the player
     
  31. sinaj

    sinaj

    Joined:
    Feb 1, 2015
    Posts:
    22
    Hello, I like your game, it remindes me a Sega game (StarFlight), one of my favouret games when i was a child. But it was very hard :mad:

     
  32. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    @sinaj Thanks! That game looks great. I like the idea of landing on planets to mine for resources. Wonder If I could implement something similar. Maybe just "fly low" on the planets so it would have the same mechanics as the space exploration but have a different background and enemies...

    What were your favourite parts of that game?

    I like how the UI is sort of like the ships cockpit, maybe I will incorporate something like that too.

    I also like the encounter/introduction with enemies before engaging in combat and the game over screen haha. Loads of ideas from this, thanks!
     
  33. sinaj

    sinaj

    Joined:
    Feb 1, 2015
    Posts:
    22
    HI, I loved that this game was so challenging, it was very hard to upgrade your ship to get to the next solar system because you need a lot of fuel for that, and the saddest part was when you spended all money for the upgrades, you tried to get to different solar system and suddenly you step on an enemys ship and get blown up and you don't have any money for repairs :D I loved when you need to search a planet for good resources, but some times you landed on planet and there was a storm and it damaged ship, so you need to find a better place to land. I liked when I harvested full ship with great resources but some times I didn't recalculate how many fuel i have to get to the station and I just got stuck near the space sation Yes and I liked the part when you need to introduce myself to the enemies, some was friendly and some was evil, and sometimes they gave some secret coordinates to some secret places, but I never got that far so I dont know what was there and the enemies was very challenging, you had to have a good shooting skill or good weapon upgrades and I think the enemies sometimes called for help and suddenly there where 2 or 3 ships and then you are doomed . I think if someone make game like this on mobile it would be nr.1 space game. Oo and the map for this game was huge. And one more thing this game was awesome. Thanks for bringing back some childhood memories ;)
     
    Last edited: Jul 2, 2020
    Serinx likes this.
  34. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    @sinaj that sounds very challenging! I think my game has the same problems with fuel/energy - I will make sure to add more reminders and backup fuel sources for when you get really stuck, but the main thing is planning ahead.

    I'm not sure if I want it to be "hardcore mode" where losing your ship is the end - that might be quite frustrating if you've spent a lot of time building up a really big customized ship and gathered loads of resources.

    That just gave me an idea - give the player an option to "rebuild" their destroyed ship if they have enough resources.

    Ooo and another idea - deploy an "escape pod" which is basically a tiny ship that you can slowly fly back to base with.
     
  35. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Wow, it's been a month since my last update! Time flies when you're banging your head against a wall I suppose.

    I've been ploughing through a bunch of changes and the list is a lot bigger than I realised!

    I had a few tricky implementations and bugs, but all in all I think I made a decent amount of progress.

    Here's a video which shows some (not all) of the changes:
    Edit: Youtube processing failed


    And here's the list (at least everything I wrote down):


    New Features:
    -Added gigantic destructible asteroid which can be drilled into for resources.
    -Added "component crates" which, when destroyed, drop a module blueprint.
    When flying over the blueprint, you will unlock a random module.
    -Modules must now be unlocked via blueprints in order to build them (some are unlocked by default)
    -Modules are now separated into categories and you can show/hide locked modules
    -Added basic ship "stats" display on ship builder screen
    -Text now appears to show when power or resources are gained in game
    -Added hotkeys for rotating(R) and deleting(DELETE) modules - these hotkeys wont work in keybind mode
    -Ship rotation is now slower when the ship is heavier
    -Docking station now repairs all modules
    -Modules now "spark" when damaged
    -Added message when modules haven't been assigned a key which prevents you from Deploying
    -Added more animations to the tutorial
    -Added better module descriptions which show the damage of weapons
    -Added gyroscope accelerator module which increases turn speed
    -Added lithium and uranium resources
    -You can now move (very slowly) with your thrusters when you're out of power

    Tweaks:
    -Reduced damage of all weapons and reduced hitpoints for resources
    -Gatherer now has more range
    -The module disconnected icon is now a more visible red lightning bolt
    -Changed the module list from a vertical list to a grid

    Bug fixes:
    -Fixed bug where AI could fire lasers 100s of times at once, instantly killing the player
    -Fixed a lag spike when flying near the docking station


    I'll try to get a new build up soon if anyone is interested. Cheers.
     
    Last edited: Jul 28, 2020
    sinaj likes this.
  36. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    Been making small tweaks and fixing bugs and performance issues. I made the void serpent a bit more interesting to fight - he'll now coil up to defend his head and spray you with corrosive acid if you get too close!

    Check it out:

     
  37. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    New build up with the following major changes:
    • You no longer need to build on planets - all planets come with a resource collector and a docking station
    • You can now trade resources with planets via randomly generated "Deals"
    • Modules can be unlocked using blueprints which are found in diamonds scattered through the galaxy
    • The void serpent has reared it's head in the "Voidus Serpentus" sector
    I'd appreciate it if someone could give it a go and answer these questions.
    1. What did you like?
    2. What didn't you like?
    3. What did you wish there was more of?
    4. What did you wish there was less of?
    5. How long did you play?
    6. Are there any features you expected to see that weren't there?
    7. Can you post a picture of your ship? (if you customized it)
    8. Describe your combat experience (if you had one)
    9. Did you encounter any bugs? (details)
    Before you play:
    • The tutorial is very short - don't be discouraged :p
    • If you've played before, click the "HARD RESET" button on the Main Menu - the old save files might cause issues
    • When you get to the part of the tutorial where you add the laser, you might have to click the Crosshair (offense) button first to show the laser (Don't know why, only seems to happen in WebGL).
    https://serinox.itch.io/spacecraft
     
  38. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I had some good feedback on the Feedback Friday thread so I've been reworking the game quite a bit.
    The general feedback was - nice features, but nothing to pull you in, aim for, and keep you playing
    • I have taken away the literal "endless universe" because it makes it too hard to make interesting encounters - its all just copy paste sectors and it was also causing some performance issues.
    • The solar system is now a "room", and new solar systems will be unlocked which you can jump to once you collect enough resources.
    • The UI has been modified to look a bit cleaner and "less gradients" as someone suggested.
    • The ship modules are now more solid colours which look a bit better imo.
    • Resources now spawn based on where you're moving, rather than a set amount being spawned per sector.
    • Added wormholes which appear and start spawning enemies (previously the enemies would just appear out of nowhere in a sector)
    • Fixed some collision performance issues
    • Added a custom crosshair to make aiming feel a bit better
    • Turning is now much faster

    I've also been trying out "user stories" to develop new sets of features and I like how it gives me a structured direction for a piece of development. Here's an example story and video of the result:

    bold is an object and italic is an action - these things require some form of development (although it may already exist)
    "I deployed to the universe after modifying my ship in the tutorial.
    A message appeared, telling me a wormhole was opened and enemies were coming through.
    A waypoint appeared, pointing in the direction of the wormhole.
    I flew over to it and fought a few enemies.
    I then destroyed the wormhole and it dropped resources.
    A message displayed telling me I had closed the first of many wormholes."

     
    Billy4184 likes this.
  39. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    718
    I've had 2 common complaints which were sort of clashing:
    1. When your ship gets too big, turning is too slow - making it difficult to fight
    2. Having a big ship that turns too fast seems unrealistic, basically all ships are variously sized fighter ships

    I've decided I'll keep the slow turning when your ship gets larger and add some new weapons which work better for large ships.

    Introducing Aimable Weapons! You can now get modules which fire toward your cursor rather than straight ahead. This means you can shoot in any direction and dont have to worry about pesky small ships running circles around you. This combined with the A&D turning (instead of mouse turning) will make large ships much more viable despite being slow turners.

    Here's a video to show it:

     
unityunity