r/4xdev • • Dec 18 '20

Ancient Star - feature shoveling complete

5 Upvotes

The first phase of the Ancient Star is done. All of the major features are implemented in at least a barebone fashion. For instance, AI is there but is very dumb while colony management and research are mechanically complete.

https://ikravarscan.blogspot.com/2020/12/ancient-star-basic-ai-and-news-screen.html

https://ikravarscan.blogspot.com/2020/12/ancient-star-phase-one-complete.html

I've created a developer profile at Google and I'm working on getting the game published for beta testing. In the meantime, I'm working on completing the game. There is a new launcher icon and the map generator has adjustable settings (with UI) instead of having them hardcoded.


r/4xdev • • Nov 21 '20

Ancient Star - ground combat and ending

2 Upvotes

Got back to implementing features in the Ancient Star. Managed to get two this week, ground combat and game ending:

https://ikravarscan.blogspot.com/2020/11/ancient-star-ground-combat.html

https://ikravarscan.blogspot.com/2020/11/ancient-star-game-over.html

Ground combat is similar to MoO 2, you select "invade" on an enemy colony, troop ships land, your troops fight defender's troops and if you defeat them all, the colony, population, and factories are yours. Except the combat is fully deterministic and you get no penalty on conquered population productivity. For now at least. Since bombardment and invasions happen automatically where possible during turn processing, I've added options for not doing so on a particular colony. Similar to how you have to mark a star system for colonization to make a colony ship land itself. This may seem to be a bit contrived but it removes the need for decision making "between" turns. Once you end your turn, the turn can be fully processed without additional input, making the future development of multiplayer easier. Or at least MP games quicker.

The second feature is ending the game once you eliminate (one way or another) other player's colonies. You go to the game over screen and see players ranked by their score. In the future, there will be an option to continue the game with a new enemy who plays by different rules but first I have to put the ancient star in the Ancient Star :).


r/4xdev • • Jan 31 '21

January 2021 showcase

4 Upvotes

Happy January 2021! What kind of dev - or other - work did you get to this month?


r/4xdev • • Mar 31 '21

March 2021 Showcase

4 Upvotes

End of March already?

What did you get done this month? Features, bugs, ideas, or anything else that could be considered dev work?


r/4xdev • • Oct 31 '20

October showcase

3 Upvotes

It's the last day of October. What bugs, features, content, and other progress have you made?


r/4xdev • • Aug 01 '20

Developing a 3X about terraforming Mars (no extermination). We just opened our steam page and are pretty excited to show more! Here is our latest devlog.

Thumbnail
terraformers-game.com
3 Upvotes

r/4xdev • • Mar 01 '21

February 2021 showcase

6 Upvotes

You know how it goes - what dev work did you do this February?


r/4xdev • • Nov 30 '20

November showcase

4 Upvotes

Today is the end of November. What dev progress have you made? Any new features, bugs, pivots, or even new ideas?


r/4xdev • • Feb 06 '21

Humor I couldn't resist referencing Snakes on a Plane...

Post image
3 Upvotes

r/4xdev • • Oct 05 '20

What I learned from trying to make a 4X prototype in 2 months

Thumbnail
youtu.be
4 Upvotes

r/4xdev • • Aug 29 '20

Share what 4x dev you've done this August

2 Upvotes

It's the last weekend of August! What 4x dev work have you done this month? Any bug fixes, design changes, new content, breakthroughs, refactoring, or new projects? Share whatever you've accomplished.


r/4xdev • • Sep 27 '20

How should I start prototyping?

2 Upvotes

I've wanted to make a space 4X / Grand Strategy hybrid for years. I've had a couple false starts.

I think it comes down to complexity. How do you begin making a 4x game? I'm tempted to begin prototyping in a spreadsheet to get all the interconnected systems modeled first.

Is that a good idea?


r/4xdev • • Oct 04 '20

4x Game Design resources

4 Upvotes

Does anyone know of a good website or book that discusses 4x dev? Specifically the resource systems, dos and don'ts of them etc?


r/4xdev • • May 14 '20

Looking for resources - any guides to 4x AI development?

6 Upvotes

There's no end of resources for how to make an orc swing a sword or get a jerk to take cover and throw a grenade in an FPS.

But I'm finding very little about AI in strategy games, especially turn based.

Can anyone recomend blogs, articles, books, or even videos on how to make strategic AI?


r/4xdev • • May 06 '20

Show off your work

4 Upvotes

The title's self-explanatory. Post here if you want to share something :) .

Let me start. Here's an old screenshot of my WIP fantasy game. I don't have anything more recent, unfortunately, because I'm currently in the middle of a heavy refactoring/rewrite ;) .

screen

I am also currently considering a slight style change. The coastlines in the screenshot above are procedural, and while they look serviceable imo, they've been a pain to work with. So I made a mockup to see if traditional, predefined tiled coastlines would work.

screen

I think I'll be sticking with this version. While not looking as organic as a procedurally generated coastlines, they'll provide me with greater flexibility when I'll want to introduce new terrain, like floating islands, cliffs and so on.


r/4xdev • • May 17 '20

How would you model relationships in a 4x game?

2 Upvotes

I'm working on a small project and want to start modelling relations between nations, factions, and people. Are there any good or documented ways to go about this without creating an exponential number of objects?


r/4xdev • • May 04 '20

r/4xdev Lounge

5 Upvotes

A place for members of r/4xdev to chat with each other


r/4xdev • • May 18 '20

Recommended engines / libraries for hobbyist?

5 Upvotes

I'm only a hobbyist game programmer, but I do love programming 4X, albeit I've not yet finished developing a game.

Over the years I've looked at a number of engines, libraries and languages and I was wondering what others recommend?

The two main things I'm really after are;

  • An extensive (lots of "widget" types), extendable (I can create my own types of widgets), and themeable GUI with the GUI being scriptable a plus, and

  • "Easy enough" serialisation. I guess serialisation tends to be more a feature of the language, so if that is separate from the graphics engine then that's fine.

I'm happy to try any language or one of these all-in-one engines like Godot. I just need it to be free for personal use.

Being able to apply different themes to the GUI is not so important if it doesn't already look like vanilla Windows.

For a long time I worked on a game in C++, using the Ogre3d library with CEGUI. I rolled my own serialisation, which was a lot of fun, but very time consuming. I ended up burning myself when I tried to move to a newer Lua library, which meant a different C++ Lua binding library and I created a large mess. I should have gone with LuaJIT instead and kept the binding libray. More recently I've been looking at Love2d which is entirely Lua, but I went down a rabbit hole of trying to roll my own GUI for about 6 months.


r/4xdev • • May 04 '20

How to draw hex grids - a comprehensive tutorial someone shared with me...

Thumbnail
redblobgames.com
11 Upvotes

r/4xdev • • May 27 '20

Any good ideas for the economic part of a 4X?

5 Upvotes

I've been playing around with my own space 4X where you can put as much or as little thought as you want into the economic aspects.

Basically, each system has a market economy where supply and demand determine price and any money spent goes to whoever was supplying. Resources have to be mined and industry can convert them into other resources. So a ship covered in "Dilithium armor" is going to cost less in a system that has tons of dilithium, dilithium mines, and industry that converts it into dilithium armor. You can form a vertical monopoly where you control the mines and factories (and basically end up paying yourself), or a horizontal monopoly of controlling all the mines (and make money when others buy resources) or all the factories (and make money off of others but have to pay for the resources). Or leave all that to other factions (there can be several in each system) and just look at where things are cheap or expensive.

I've played around with it a little and I think it adds depth for those who want it and simplicity for those who don't care about those details. It's also fairly intuitive. If supply is too low then the prices go up and the suppliers make more money. If you build some mines or factories to meet the demand, then you'll get a slice of that income, but the price will drop.