Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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] 2
1  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 19:28:06
Since my entitys have to be rendered after the background but before the foreground, i just call the parts that need to be rendered... i digress the way im doing it is very anoying but it works for me currently

1  
2  
3  
4  
level.renderTiles(screen, xOffset, yOffset,player,1);//Background
level.renderTiles(screen, xOffset, yOffset,player,2);//Blocks entitys can hit
level.renderEntitys(screen);//entitys
level.renderTiles(screen, xOffset, yOffset,player,3);//forground
2  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 19:14:14
Well, i like to have my map in chunks that i can load and unload when i want and this will allow for the world to be infinite whilst keeping ram usage low
3  Game Development / Networking & Multiplayer / Re: Open World Multiplayer Game on: 2014-12-22 19:03:14
Well the way i am currently handling a multiplayer server for a tile based game with billions of tiles is, like in Minecraft loading chunks and it will only process the area if someone is in it or there is a world event that needs it to stay loaded.
4  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-20 02:16:26
The long term plan is to have it randomly make its own quests, towns etc so the story will be very expandable but im currently working on the core atm
5  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-19 13:46:12
Yeah i am truly not good at graphics im just working on getting the core of the game ready but yes we have a proper sprite sheet in the works with new cool looking 3X2 trees, loads of new textures and animations too Cheesy
6  Game Development / Networking & Multiplayer / Re: Java Networking Tutorials Using [GNetLib] For Beginners! [part 6 / 12] on: 2014-12-19 03:21:28
If its on your local host it only has to ping your LAN card but if it has to go to a server it has to actually travel somewhere, thats why :p
7  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-19 02:54:53
But its hard to get people involved in the project if they cant fully see what it could look like without there art
8  Games Center / WIP games, tools & toy projects / Re: Magic's Journey on: 2014-12-19 02:54:08
I like how you have made the UI's before the core game (i normally forget about that xD)
9  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-19 01:54:46
Thank you, im talking to some graphics designers to try and help me make the game look a million times better because i cant draw but they will be able to make all the tiles, players, items etc.
10  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-19 00:08:58
I just added some new screenshots so you can see whats going on inside the game Smiley
11  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-19 00:08:23
V0.0.1_9(19/12/14)
New Map handling methods now capable of having 9BillionX9billion in size maps
Added Inventory contaners
Added basic Biomes (Desert, Beach, Ocean, Forest, Jungle, etc)
Added new debug information
Added Trees
Added multi tile layering to allow for 2.5D effects (2.5D is forced protective of a 3D world in a 2D plain)
Added entity health
Hit Boxes
Block detection
Tiles now have a metadata value
Bug-fixing
Known bug: Chunks are not being disposed so causing Tick lag
12  Games Center / WIP games, tools & toy projects / Re: Horizon (2D Free roam game) WIP on: 2014-12-18 23:03:51
New world render system seems very stable in the V0.0.1_9 Build you can now have a map 6,400,000,000 tiles in size and have no lag Cheesy epic
13  Game Development / Game Play & Game Design / MIDI music for games on: 2014-12-18 20:48:11
Anyone know a good MIDI Libery for java that can handle multiple tracks at the same time?
14  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-18 03:59:54
Yeah im still experimenting with the frequencies because atm it dose not look very....well natural 
15  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-18 02:51:33
Nomater what i try i cant seem to get the biomes right, i have looked and expended every reference i can find but i cant get it -.- so far this is what i have

16  Game Development / Game Play & Game Design / Re: 2.5D effect in 2D game on: 2014-12-17 21:50:45
Thats why it says 2.5D effect :p
17  Games Center / WIP games, tools & toy projects / Re: Multiplayer Planet Trading Game [Kroynet] - Update 2: 17/12/14 on: 2014-12-17 19:07:04
Seems like a really cool idea! you should also make it so the factory's cost to run to add more dificulty
18  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-17 00:24:48
Ok my git is https://github.com/4H1Z1/Horizon have fun! in the new build there is a bug where when the trees gen it will invoke chunks to be created but excuse that
19  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-16 23:37:07
Sure, im almost done with the tree gen and then ill send you the git info
20  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-16 21:59:55
Yeah that would work but not for my game, i run on many tens of thousands of chunks in my random gen and the only way i could get it working is using heat maps and altitude maps to determine what biome there in
21  Game Development / Game Play & Game Design / Re: 2.5D effect in 2D game on: 2014-12-16 21:55:14
I know, i seen that quite allot of people struggled with this so i posted my solution to it Smiley
22  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-16 21:20:26
Just worked it out on what you said and i have started implementing it. Thanks man
23  Game Development / Game Mechanics / Re: Biome and how to set them up on: 2014-12-16 21:16:20
Thanks, thats great, im using the average hight of land to get rainfall and then using a heat map to get the other factor to work out the biomes
24  Game Development / Game Mechanics / Biome and how to set them up on: 2014-12-16 20:52:03
I'm working with perlin noise to get my random map generation working and i have seen some people use polygons along side perlin noise to get biome, any ideas/suggestions?
25  Game Development / Game Play & Game Design / 2.5D effect in 2D game on: 2014-12-16 10:59:36
I wanted to share this information on how im working on a 2.5D effect in my game but keeping it as a 2D game...because well i thought it was cool :p.

When i started work on this i could not be bothered with working on a full fleged 2.5D engine so i looked for a solution and then i thought of this. Most 2d games runs on a Array that contains all the games tiles/chunks and its loaded onto the screen....ok we all know that but then i thought about multi layering to get the 2.5D effect so i did this. i created 4 Layers to my game all with a specific pourpous.

Layer one (Background, Aka tarrain)
This is the randomly generated land for the whole game and is the background of every level.



Layer two (Collision layer and Player render)
Every block on this layer the player can bump into and it is good for things such as invisible mazes or in this example a tree





Layer 3(Foreground, Everything that will be rendered on top of the player)
This layer in the example will be the rest of the tree



Layer 4 (Map, Minimap and Mouse listiner)
This one is optional but what i do is when a block has been set i run a stitch map method that gets the block thats on top and renders that as the block on the forth layer like this
1  
2  
3  
4  
5  
6  
7  
8  
9  
public void stitchMap(int x, int y){
      if(getTile(x,y,3)!=null&&getTile(x,y,3)!=Tile.VOID){
         setTile(x,y,getTile(x,y,3).getID(),4);
      }else if(getTile(x,y,2)!=null&&getTile(x,y,2)!=Tile.VOID){
         setTile(x,y,getTile(x,y,2).getID(),4);
      }else if(getTile(x,y,1)!=null&&getTile(x,y,1)!=Tile.VOID){
         setTile(x,y,getTile(x,y,1).getID(),4);
      }
   }



Now as a collective what dose this do? It allows the player to walk behind the tree but still bump into the base  as if they walked into a tree on a 2.5 plane like so

Click to Play
26  Game Development / Newbie & Debugging Questions / Re: 2D Random Map Generation: Where to start on: 2014-12-16 09:44:38
I have looked and i cant seem to find a good example of how to use this algorithm, where dod you go?
27  Game Development / Game Play & Game Design / Re: LF:2D sprite generator on: 2014-12-16 09:40:43
Im thinking of having 2 sprites, one male one female and get my dame designer to draw all the diffrent armour looks ontop and layer the armour on the default character if its equipped
28  Game Development / Newbie & Debugging Questions / Re: 2D Random Map Generation: Where to start on: 2014-12-15 22:48:49
Nice! i know i can get my map/game looking like that with the gen im running but im working on all the map storage and performance at the beginning to make development easier
29  Game Development / Newbie & Debugging Questions / Re: 2D Random Map Generation: Where to start on: 2014-12-15 22:42:29
Thats what i do, that was just a screenshot of my map xD
30  Game Development / Newbie & Debugging Questions / Re: 2D Random Map Generation: Where to start on: 2014-12-15 22:35:07
Which that is? :p the image i just showen was only a representation
Pages: [1] 2
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!