Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (756)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / WIP games, tools & toy projects / Stick Wars: Industrial Age on: 2017-10-13 14:32:46

I started a new project. At the moment I am not sure if I will finish it.
My future mind will decide...

Its a game for android phones. It should be a strategy game. How to describe it in one sentence: Build 3 types of buildings that produce units, gold or energy.
Build units and try to overrun your opponent ^^

the smokes shows green anomalies...

2  Discussions / Miscellaneous Topics / text editor app for self-organizing persons on: 2017-06-20 10:01:29
Hi, since I use this app everyday I thought I could make it available for other people.
This app helps me organizing and simplifying my thoughts and ideas.

In contrast to other text editor apps there is an additional feature:
Placing topics on a 2D surface improves the overview.

Do you think this app is useful?

App on Google Play

Thanks for reading.

(This app contains some few ads, so I hope this topic is consistent with the rules of

3  Games Center / Android Showcase / Clash of Crowds on: 2017-02-16 20:52:10

Updates (March 22):
axe size, audio, blur effect, flickering removed

Clash of Crowds is a strategy game. You have to reconquer the "island". After every level, the computer's strength increases. Can you advance through all levels?

I hope you enjoy it. I would like to hear your opinion on the game.

Google Play:
This game on my webpage:

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>


4  Discussions / Miscellaneous Topics / Re: 3D square city on: 2016-03-16 22:00:08
yeah my goal is actually to programm a little 3d game. One that with good performance, one that doesn't make my laptop warm while running. Is this even possible? Somehow I think I should use the gpu that takes the polygon drawing for me...
Is it right that in this program (3d city) only the cpu is working when drawing the polygons on the bufferedImage? I have no clue…
5  Discussions / Miscellaneous Topics / Re: 3D square city on: 2016-03-14 07:36:59
totalTime = 1000
frames = 10
totalTime/frames = 100

now I increase the polygon size, after another 10 frames the values are (now each frame costing 200ms):
totalTime = 3000
frames = 20
totalTime/frames = 150

But actually the additional 10 frames would each have a time of 200, not 150
6  Discussions / Miscellaneous Topics / Re: 3D square city on: 2016-03-14 00:10:58
Yes you are simply calculating the average.
But if I would do it like that, I would have to reset the variables totalTime and frames every time when I change the polygon size. That is not a lot of effort, I know, but I always try to keep the things as simple as possible.

Look at this case:

        int averageTime = 0;
        int currentTime = 10;
        for (int i = 80; i >= 0; i--) {
            averageTime = (9 * averageTime + 1000 * currentTime) / 10;
            System.out.println((80 - i) + ": " + (averageTime / 1000) + "." + (averageTime - averageTime / 1000 * 1000));

Here the averageTime goes closer and closer to currentTime.
No need to change anything when increasing the polygon size (thus the currentTime).

Edit: The decimal place of println is wrong in some cases, but that's irrelevant...
7  Discussions / Miscellaneous Topics / Re: 3D square city on: 2016-03-13 21:08:56

I changed the timing a bit, I hope it is better now.


You are right. I now changed the code to:
meanTime = (9 * meanTime + 1000 * (System.currentTimeMillis() - time)) / 10;
g2.drawString("Drawing time: " + (meanTime / 1000) + "ms", fH - xImage, 3 * fH / 2 - yImage);

I want have the average time of the last drawings. I prevent the rounding inacurracy by multilying and in the following dividing by 1000...
I hope it is now better and shows more plausible numbers?

I get something like 58 ms per 50 000 polygons…
But remember: Some of the 50 000 polygons will not be drawn because the don't show their frontside.

Edit: By the way, thanks for the medal! (@VaTTeRGeR)
8  Discussions / Miscellaneous Topics / 3D square city on: 2016-03-13 15:18:29
Hi everybody, I programmed for the first time a little 3d application.

I just draw the stuff on a bufferedImage and show it on a JPanel…
I use polygons of 4 coordninates.
My result for drawing time is 1ms per 1000 polygons… 58 ms per 50 000 polygons.

What I implemented so far:
-drawing 3d-objects
-sorting the objects so that the objects are going to be drawn in the correct order
-calculating shadow
-hiding polygons which are not showing their front

If you are interested, download the jar file:
(you can directly execute the jar file when downloaded)

(replace jar with zip, unzip, open)


Yes I know that there is very little drawing bug, but it's barely visible…
What's your drawing time??
9  Games Center / WIP games, tools & toy projects / Re: War of Conquest on: 2016-02-26 12:14:07
Hey, I feel very comfortable with your comments Smiley

It's a good point to provide a description of how to play this game. Probably I will show a short description in this topic, and an other, larger one in the game file.

In addition, good practice is trying to beat an easy computer, maybe with a team member.
10  Games Center / WIP games, tools & toy projects / War of Conquest on: 2016-02-25 22:57:11

I developed a strategy game, named "war of conquest".

Some infos:

-strategic, territorial game
-economic aspects
-single + multiplayer
-up to 8 players per game
-simple, "plain" game
-game size: 158K
-hobby project
-almost no gpu power required! You won't notice that your laptops fan/ventilator is rising

Download the jar file, replace ".jar" with ".zip", unzip it, open the resulting file, then launch the jar file!
(Java 7 or higher required)

Now when you have had a look, feel free to comment the game!

Some pictures:

Blue and Brown are expanding:

This is how the gui looks like:

The game menu looks like this (you can adapt the font size):

Short introduction

1.0 Short description

Conquer territory, develop your economy, defend your domain.

2.0 Single Action

When you select the single action, the action takes place only once and immediately. Take care to have more than 0 gold.
If expense is 100%, then all of your gold is taken for this action. The button expansion determines how many squares should be affected by the action.

3.0 Chain actions

If selected, this action occurs every cycle (for example every 10 s). It has the same effect like the single action, the automatization is the only difference.

All automated actions take place shorty after a new cycle start (then when you receive gold). The order button determines which chain action should be done first, which second etc.

So if the expense of the first chain action is 100%, all following chain orders won't have enough gold to be executed.

Gold = 1000
expense of chain attack = 50%, order = A
expense of chain defend = 50%, order = B
-> first, attack will be executed -> you lost 500 gold
-> then, defend will be executed -> you lose 250 gold
-> after chain actions occured, you have 250 gold.

4.0 Economy

How can you increase your economy? Go to "Economy" and select "single" or "chain". Now 66% of your last income will be invested in your economy! That means, that every square you possesses will produce 3 additional gold. Go to "Menu" and select the first button to visualize the economy on your map. Red is low, Green and Blue is high. Click on some squares to show how developed they are!

5.0 navigation, controls

Per mouse wheel you are able to zoom in or out. By pressing on a square, informations will be shown on the bottom left corner.
Dragging the mouse will help to navigate on the map.

6.0 squares

Why are some of the squares darker than others? A darker square stands for a stronger square. Darker squares are harder to conquer. You can make your squares stronger by selecting "Defense". If a square is 10 units strong, there are 20 attack units needed to conquer it. So note: sometimes defending is better than expanding because it's cheaper.

11  Games Center / WIP games, tools & toy projects / Re: Crowd of Force on: 2014-04-18 00:28:07
I added some futures. The campaign has been extended and it's possible to open a short game description in the game.
12  Games Center / WIP games, tools & toy projects / Re: Crowd of Force on: 2013-12-22 15:17:22
Thanks for the medal CommanderKeith.

You said good points that I want to work out.

I have heard that linux users have problems to start the game. I hope it's better now (I removed all setOpacity methods).
13  Games Center / WIP games, tools & toy projects / Re: Crowd of Force on: 2013-12-20 21:12:34
Thanks. Perhaps I will soon build a new game...
14  Games Center / WIP games, tools & toy projects / Re: Crowd of Force on: 2013-12-19 03:59:52
Ok now I improved all the things you said.
Thanks for all comments.
15  Games Center / WIP games, tools & toy projects / Re: Crowd of Force on: 2013-12-14 19:30:24
Yes. Now I wrote some hints on my website how to play it.
If you want to develop something, you see there a number.
Then you just have to calculate 2^number=costs.
Example: 2^8=256.
In the beginning it's hard to know these costs, but it's easy to find a strategy.
16  Games Center / WIP games, tools & toy projects / Crowd of Force on: 2013-12-11 17:37:20
Hello people.

In this game you can play a short campaign including five levels. Each level gets stronger, but the first two ones should be easy to win for novices.

You can also download the source file and if you want, you can improve the well described computer classes.

Download the game here:

17  Discussions / Miscellaneous Topics / Re: tree algorithm on: 2013-10-12 16:37:44
Ok. Thank you Smiley
18  Discussions / Miscellaneous Topics / Re: tree algorithm on: 2013-10-12 09:42:36
I just use g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
19  Discussions / Miscellaneous Topics / tree algorithm on: 2013-10-11 19:47:46
I want to present my new tree algorithm. Actually I programmed it for a little game.

Here you can have a look:
Pages: [1]
DesertCoockie (52 views)
2018-05-13 18:23:11

nelsongames (83 views)
2018-04-24 18:15:36

nelsongames (74 views)
2018-04-24 18:14:32

ivj94 (759 views)
2018-03-24 14:47:39

ivj94 (87 views)
2018-03-24 14:46:31

ivj94 (643 views)
2018-03-24 14:43:53

Solater (102 views)
2018-03-17 05:04:08

nelsongames (184 views)
2018-03-05 17:56:34

Gornova (426 views)
2018-03-02 22:15:33

buddyBro (1086 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!