Defence of Odysseus Cloud - Dev Blog

Shadows... and not much else (build 8)

by on

Missed two updates, came back for a bit and got distracted again... So not too much in this one.

The visible change: shadows (A lot of cleanup was needed to get there)

Also, buildings can now have weapons and the "AI" is actually used for the other players.


    The New Units (build 7)

    by on

    ...or unit, as I only added the one.

    Other changes include:

    • Improving performance on Android by pre-rotating the screen.
    • Rewriting the animation support (it's now not based on the ten year old original)
    • Adding a placeholder enemy "AI" that just builds endless units and moves them around.
    • Fixing the endless bugs revealed by doing that.

    After leaving the "infinite unit builder" running for a while:

    (Yes, the textures are still bad.) units boats tanks (Ignore the super-high FPS, this was on a desktop with an RTX 2070, it can get > 1k sometimes.)

    At this point, the pathfinding thread was slightly dead. But it hadn't crashed, ended up with three units in the same position, or turned into a pile of distorted triangles.


      Gathering resources (build 6)

      by on

      Main new feature: Resources

      Buildings can now produce/consume resources and creating units has a cost. Also, more placeholder-y placeholders!

      Other changes:

      • Buildings can be shapes that aren't rectangular
      • Timing fixes (there was a bug where it would time everything as taking 0ms)
      • Actually builds on Windows
      • A few optimisations (mostly graphics related)
      • Some cleanup (mostly deleting code that hasn't done anything useful in years)
      • The UI now does less pointless work
      • The options now get saved on Android
      • Also, the app doesn't crash when suspended on Android now
      • Worked around a bug on one device where the driver would crash if the Y axis of a vector was used...

      Oh, and resolution scaling... Upside down world ... is almost done. (Maybe this should be "The Y axis update"?)

      (The new units are still coming, really!)


        Building Some Buildings (build 5)

        by on

        20-second video of main new features:

        New stuff:

        • Model updates
        • Can now build and place buildings
        • Minimap (can be hidden until a specific building is placed)
        • Improvements to text rendering (can do non-English text now, also fixes some wonky alignment)
        • Units are now less likely to randomly decide to point the wrong way, then turn back around

        Here's the minimap after a little exploration: Minimap after exploring

        Wait, I said I was adding more units last time... Maybe next time?


          Network Sounds (build 4)

          by on

          No video this time (not much to see), but still a lot of changes:

          • Rewritten audio code (can actually play sounds)
          • Rewritten network code (and a server that gets multiple players on the same map, mostly in sync)
          • The new renderer now doesn't frequently crash (And is the default)
          • Unit variants
          • Weapon damage is no longer hardcoded as 1
          • Less giant memory usage spikes while loading

          Oh, and an actually useful options menu:

          Options menu

          Now it's time to add some more units/buildings...


            The Extremely Delayed Update (build 3)

            by on

            This took slightly longer than expected...

            (Ignore the loading messages)

            Two builds (and a year) later and we actually have some UI! Other additions:

            • "Boats" (Haven't finished a boat model yet)
            • Unit construction
            • Multiple unit selection
            • An entirely new renderer

            Next update will hopefully take less time.


              The First Attack

              by on

              Unsurprisingly, the latest Daft Games project is yet another game! It's a strategy game in space with aliens. That's all you need to know, right?

              No? Okay, fine. I'll actually talk about it. After this video.

              This video basically shows the entirety of the game right now.

              • There's terrain covered by fog (with placeholder textures)
              • With some units on it (with placeholder textures)
              • You can drive ones you own around
              • You can shoot your enemies with invisible bullets

              So, this is a pretty early preview. Most of the work so far has been untangling reusable code from another game and rewriting some of the older and slightly broken code(image loading would create multiple copies of the data and scaling was extremely slow, path finding was using the completely wrong data structures).

              There's a lot of stuff half-implemented right now (buildings, other units) that you can't see in that video (because it doesn't work yet). The next thing I'm working on is the UI so that you can actually interact with the units without clicking random buttons and hoping the right thing happens. (It usually doesn't)

              I'll probably write some more abut the game here later. Probably.