Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
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 / Re: Electron Jump - An exhausting way through a wire. on: 2014-03-18 10:31:27
link broken
2  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-18 04:11:49

you pointed to an interesting idea with the distance-system.
i played around the last 24h  persecutioncomplex and got a good solution to increase performance and get a very good feeling when throwing actions below other players.
i will work hard the next days and present the new version.

thank you loom_weaver!

also your second idea to move the camera farther away is as simple as brilliant... i think programmers often lose sight of the wood for the trees  Roll Eyes

i will keep you inform about progress.

the last engine-version suggested 2 and more layers to move on. but there was only 1 ground-layer with different heights and another above, but not to go on.
with the new hexa-engine-version i will try to add gravity and (quasi) infinite layers, so players can walk above and below other players  Stare
i will give it a try
3  Games Center / WIP games, tools & toy projects / Re: Dungeon Master MMO on: 2014-03-17 06:39:55
link is broken
4  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-17 04:56:28

thanks for your reply and questions.

after the online-test yesterday i figured out, that the moves from hex to hex are just a little bit too jerky and imprecise.
we played with 5-10 people and had some cool fights. but rotating in 60 degree steps is hard for players eyes when playing more than 10 minutes...

the system with throwing actions below the players is cool and works very fine. but players could escape too fast from this affected hexagon.

another problem is the performance when more than 1000 dynamic objects are at one map at the same time... like you figured out too.

i will discard the mouse-hover-hexa-system and try another way:
throwing actions (bottles with poison, fire, healthpotions, stealth-potions, slowdowns, ...) could be done by aiming with mouse an click & hold to set throw-power = distance.
by calculating velocity+gravity (and some other factors) i know the position where it explodes on the map^^ maybe it could be hard to calculate cause of ostacles...
but this offers some new cool possibilities: players could use heavy cannons or other immobile weapons to defend towers/castles...
i will try and tell the results  Grin

about your questions applying radius of effects:
yes, every action has its distance and a radius of affected hexagons.
but because of my failure, that the hexagons are too big (this time), the difference between radius 1 and 2 is much too hard.

with my next engine-try (this week), i will use smaller hexagons to get better aoe-results. but now i have to discard the hover-hexas, cause they are dynamic-objects...
another big step will be this change: i discard the moving from hex-center to hex-center and try a pixel-accurate moving over hexagons. this will cause heavy-brain-pain because of a harder collision-detection,
but i will give it a try  Shocked
my first idea to solve this is: i just check collision like circle vs circle :-) player is a circle, and the smaller hexagons too   Roll Eyes
i will try and post my results.

about the hex-coordinate-system:
when using offset-coordinates, the important thing is the right using of some mod-functions. if you mastered this, it will be like easy x/y rectangle coordinates.
dont underrate the problem with the storage of your map. especially when using chunks on bigger maps.
and distance-calculations with offset-maps is easy like hell :-) same as getting neighbor-hexas...
by playing with small hexagon-samples - amit is right on his page to use the axial-system - i tried all the ways and i finally arrived at the offset-system :-)
i will use this. u can use any other system  Smiley

well, its time to start an improved engine-try.
people wait for next test on sunday 23.3.  Grin

greets from germany

if someone is interested in some short-term online-tests or other developing things and big progress-jumps feel free to send me an email: *marcel at*
i will invite you for next tests. no worrys about spam - i dont have the time to write many emails  Cool

5  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-16 17:16:42

thanks for testing. this was fun!

i got dozens of ideas (and bug-reports).

next test will follow.
now i have to sleep.
6  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-15 09:21:16
i'm proud to announce, that many new features have found there way into the game.

- when starting the game (just open the link in browser), you will be assigned to 1 of 3 factions and spawn in the right base
- you can use 5 different actions (lavafountain, healpuddle, chains, fireball and speedup) by "throwing" it on fields below other players
- these actions will affect depending on there values friendly or enemy-players
- some (ugly) bars for showing values like health, move-points, attack-points (and 2 other types mana+support)
- finally i improved the map with some cool terrain structures like caves, hills and lakes

i will tweak the performance, so we can do the testsession tomorrow with ~20 players (i hope)
server is online from 18:30 till 19:30, no download needed. runs in browser.

7  Games Center / Showcase / Re: Jython Shooter on: 2014-03-14 02:59:54
i like your explanation about collision-detecting on your page.
placed it into my favourite-bar  Smiley
8  Games Center / WIP games, tools & toy projects / Re: Code15 - Top Down Shooter on: 2014-03-13 07:50:25
i like the game-name: code15 - cool
9  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-13 06:10:03
thanks for your questions.

first the hit-testing answer:

there are two types of render-objects:
- fixed objects (only terrain, with precalculated shadows using vertex-coloring the faces), this is merged as one big object to improve performance.
- dynamic objects (player, portal-objects, obstacles like barricades), these are all separately added to the scene.
- a mixture of both for the "hover-hexa", the hexagon-texture (6 faces) on the top of every hexa-column. this is the important object to get the position for all actions.

i check all the intersected objects by using a raycast from mouse-pos to the 3D-scene, after i converted this to 2D.
so i know at which dynamic object my mouse-cursor points.
if it points on an "hover-hexa" i can get the x/y pos of the 2D hovered position in the 3D world.
(i assigned names "xPos/yPos" to every hover-hexa when i first render the map).

now to your question:
i dont check the detailed position of all players.
every player has a hexagon-position (x/y) on the map. as i know the hover-hexa-x/y position of my mouse, i know which player(s) i can hit.
now the "trick". i dont use single player-shots in the game.
all positive actions (healing, speedup, stealth, strengthUp, ...) and negative actions (poison, slowDown, fireCondition, ...) are actions only on the hover-hexas.
so the players "throw" fields with actions on the hover-hexas.
every player who is in this action-field is affected by it...

ever action has values for duration, intensity,... so players can stack this actions at one field.
this prefers group-players: one throws chains to constrain players, the other one throws his upskilled fire-damage field on the victim :-)
(btw: every player can only take 8 different actions in his action-slots to use in combat. but can change this actions at his base)

i hope, i have explained it understandable :-)

second question (hex-coordinates):
on my first attempts i used axial-coordinates. but after many hours/days of testing different situations i decided to use offset-coordinates.
its much easier to store (not that huge array-overhead), and the little workarounds (usually mod-functions) are good to handle.
btw: this site ist great when using hexagons:

i wrote some little helper-functions to get the adjacent hexagons. so the new shadow-calculations (improved since the last screenshots) are easier to handle.

new Video (this time with free cam-mode - for editing), better shadows, new textures and first use of the new mapmaker (png-heightmap to database plus fine tuning via ingame-editor):
<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

10  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-11 11:56:23
Hi, and thanks for your answer / question!

i wanted to wait with more infos, cause im not sure if all these ideas find into the final version. but here are more details:

There will be a huge world (lets call it a lobby with graphic interface) with different maps (different biomes. snow, lava, desert, isles, ...).

static structures:
on every map are structures/locations like: "sentry", "supply-camp", "bridge", "tower", "fort" up to big castles.
all these locations have "claim-spots". a small sentry has one claimspot. the big castle has 5 or more claimspots.
if players of one faction stays inside this (simultaneous in all spots of one location), the claimspot will slowly raise to 100% (if all players are alife and out of fight inside the spots  Grin)
then this location changes the owner to the claiming faction. now the new owner can upgrade this location.
possibilitys like: make the sentry stronger, upgrade claimspots to need more time to complete claim, produce more supplys at a supplycamp, ...
all this upgrades needs supplys from supply-camps... u know what i mean  Cool

dynamic structures:
at many spots on a map, players can build barricades between 2 high "columns" to make it easier to defend some towers or the castle...

all this differs from map to map.
there are small maps, where 5-10 players can get a lot of points for there faction.
and big maps, where (i hope) "zergs" of 40 and more players are fighting the same time Shocked

i have a lot of detailed features in my head  Cool

at the moment i work at the combat-system.
i would say, i have a flow.
give me 2-3 days, i will upload new pics and video.
maybe i can give out a link to test the game.

at this sunday 16.03.2014 between 18:30 and 19:30 i turn on the server to make another multiplayer-test.
you are welcome :-)

there is a lot of work to do :-)
its a one-man project  persecutioncomplex

i added 3 more screenshots.
as you can see, there is the first attempt of including combat-system (on the lower left  persecutioncomplex)
and i used different views to show the possibilyties of this engine.
every field (hexagon) has values for cameraHight, cameraDistance, cameraLookAt to use for different locations (inside castle, dungeon, canyons...)

11  Games Center / WIP games, tools & toy projects / Re: "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-10 23:42:07
thank you for your answer and suggestions.
you are right: i ment "factions" - in german its "fraktion", there the "r" is coming from  Roll Eyes  - im sorry

the light isnt a real light - thats right  Cool
im going through the webGL-interface to change the "vertice-colors" of every face of the terrainobjects (hexagon-columns).
so the "flat" bottom hexagons on top of every column are made of 6 faces with 3 vertices per face. every vertice could have a colour, that "overlaps" (does this word exists  Huh) the basic-texture.
so im calculating nearby hexagons and change the color of every vertice on every face on every hexagon, depending of the fields nearby.
this is done once at start. so i manage 60FPS (this time, more objects will follow and eat performance  persecutioncomplex).

if you have questions, please ask.
i need this resonance, it holds my motivation up  Cheesy

the name "NXBG" is just a working title - "nx" is my nickname in games, as dj and as coder :-) (nx comes from ennix - long story...)
im searching for a good title. but there is much time to do this.

12  Games Center / WIP games, tools & toy projects / "NXBG" Hexagon-Multiplayer-Tactic-Game on: 2014-03-10 22:15:36

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

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

Hi there.
First, excuse my bad english (im a german coder).

As you can see in the video, im working on a multiplayer strategy/tactic game with my favourite tileset: HEXAGONS (one of my first played games was battle isle).

At the moment players are able to move (wasd) around the map.
Collision detection and jumps on/from blocks are working.
Multiplayer part (tested with up to 15 players) is working too.
Mapeditor (ugly, but only for me) is usable.

- I have to create new Player-Models (as you can see, i used model & skins from minecraft).
- Damage (via mouse-hovered fields on the ground)
- Include "fractions" (there will be 3 fractions on every map, fighting each other, building structures)
*** edit: i ment "factions" (thanks quew8 for correcting me) ***

next multiplayer-test-session: sunday, 16.03.2014 18:30 -> 19:30 (link will follow)
Pages: [1]
DesertCoockie (33 views)
2018-05-13 18:23:11

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

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

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

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

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

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

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

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

buddyBro (1065 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!