Skip to content
Sep 17 17

Indienamic & Added Power Resource!

by stefanhendriks

Two things happened

So what does this mean for dune2themaker?

Basically nothing changes. The engine I’m developing is still flexible enough and uses Dune 2 graphics as template (temporarily). For dune2themaker it should be possible to use the engine and mod it to be a Dune game.

Sep 6 17

Added harvesting resources!

by stefanhendriks

In case you missed it, it is now possible to harvest spice! Check it out here (demo available).

Aug 22 17

Plan of attack!

by stefanhendriks

Will the engine will be minimally feature complete before november?! Read this blog post about how I intent to achieve that goal. This also means good news for dune2themaker4j as it using the same engine.

Aug 13 17

Patreon and the future

by stefanhendriks

I work on this game in spare time. From now on I’ll spend at least 8 hours or more a week on building my own RTS game.

If you like my work, you can support me at Patreon.

You might say: what about Dune 2 The Maker? This game will benefit from my work on my own RTS game. I will backport changes from my private repository into the dune2themaker4j repository. Or, dune2themaker might become a MOD of my engine. This is by no means a cancelling of the project!

Aug 5 17

Dune 2 – The Maker – 4J – Devlog – Harvester – Part 2

by stefanhendriks

If you want to have harvesting logic like C&C or Dune 2 has, you have to break it down into various steps. All these steps make it quite a lot of work. Lets just give you an example.

– You need something to build a refinery
– You need logic, when a refinery is placed a harvester is spawned
– The harvester needs to be able to move (unit movement)
– The harvester needs to be aware that is able to mine spice, and when it is on a spice field it should do so
– When the harvester can no longer mine the field, but it is not filled up yet, it should look further for other nearby spice fields/tiles
– These steps repeat until the harvester is full
– When the harvester is full:
– Look for a nearby (free, unoccupied) refinery. If no free refinery can be found, go to the most nearby refinery that is not free and wait there.
– When a free refinery is found go there.
– “enter” the refinery (ie, you need to circumvent any logic here that normally would block the harvester from driving through the refinery).
– after entering the refinery, start unloading spice + give credits to player
– when harvester is done unloading, respawn/repeat from step 2 of this list

So, this is just a rough description. There are edge cases everywhere we did not touch.

So far bits and pieces have been developed. Like movement of units, harvesting spice fields (but not unloading). “Entering” structures. All pieces for a bigger puzzle.

I’m happy to let you know that a first rough version works of the above list, and I made a short video about it!

Jul 24 17

Dune 2 – The Maker – 4J – Devlog – DeathHand Part II

by stefanhendriks

What is more fun than blowing up things?

Doing it with style 🙂

The Dune 2 DeathHand was ok-ish, visually it was (for the time) fine. But now, not so much. Here is a screenshot:

This is my version:

Or better, here is a video:

Fun times!

Jul 14 17

Dune 2 – The Maker – 4J – Devlog – DeathHand

by stefanhendriks

When I starting dune2themaker4j, one of the first I wanted to do was create a nuclear missile in the game.

They are awesome right? Well at least to look at 😉

Although the idea was cool, there was not much of a game engine to begin with. I mean, creating a nuclear missile without things to blow up would be a bit of a waste. So I decided to get basic stuff working first. Map rendering, camera movement, unit / buildings rendering, etc.

But a while back, I wanted to do this awesome thing again.

So lately we started working on this again. We actually have it so far we can ‘build’ it from any structure (you can configure it in the rules.ini file). For now it is hard coded.

We want things to be more flexible, scriptable perhaps. This means a “super power” as the deathhand is basically a ‘script’ that is executed. In the case of a deathhand it would shoot a projectile (missile) to the target. But you can think of many more super powers which should do different things. Especially if you look into the C&C scene where super powers may even require multiple actions from the player.

Although we do not build all of that at once, we do prepare for it.

So far our pull-request is going along well. For now we actually made the super power script a bit more complex. It would shoot a rocket, then detonate and from there spawn multiple other rockets for every unit on the map. (yes even friendly ones).

Because it is fun to do.

In the more grand scheme of things, this is just one of the many gameplay elements for Alpha #4. Alpha #4 (or v 0.0.4) is quite a big upgrade compared to Alpha #3.

With Alpha #4 you get some basic economy rules, building a base, and also firing a deathhand!

Oct 28 16

Dune 2 – The Maker – 4J – Devlog – Harvester

by stefanhendriks

Since the concept of money is introduced, it would be fun to have a harvester gathering resources.

While doing so, I’m introducing a state machine for the harvesting logic. (so far, I could get away with using simple if statements, but the complexity is growing)

Although I would like to move all logic into the state machine, I tried tonight and failed. Some more thought is required in order to make movement work better.

So, what *does* work? Well, for a harvester, there is a nice little loop going on like so:
given a harvester which is ordered to harvest at a spice field:
– moves to spice field
– harvest (state)
– done harvesting? (ie, cell is ’empty’?) -> seekspice (state)
– look ‘around’ the cell for other spice cells, if found, pick one randomly (state is still ‘seekspice’)
– move to the spice field (no state change here, this is still old stuff)
– once arrived, change into harvest state again

Which looks like:

harvester state machine

PR at github is still in progress

Oct 9 16

Dune 2 – The Maker – 4J – Devlog – Concept of money

by stefanhendriks

Today I introduced the concept of money in the game.

This means players have money and building units/structure costs money. Also not enough money means no way to build it.

This is the first feature for Alpha #4, so I also created a new playlist at youtube.

Watch here the demo of the ‘concept of money’ feature:

Oct 8 16

Dune 2 – The Maker – 4J – Alpha #3 released!

by stefanhendriks

Today a new version of D2TM 4J has been released.

It requires Java 8 and runs on Windows/Mac OS X/Linux.

If you just want to see what it is capable of, watch this video: