Tagged Questions
-1
votes
2answers
168 views
Lwjgl Random 2D Map Generation [closed]
First time poster here. I am somewhat (as in mid - low, closer to mid) experienced with Java but I seem to be having some trouble. I'm using the lwjgl library to make a "2D Minecraft-esque" game. ...
8
votes
2answers
438 views
Random Zelda-style map generation
Im trying to randomly generate a map of rooms connected by doors, and I've succeeded in generating one using this code:
public void generate(GameContainer gc) {
rooms = new ...
1
vote
1answer
111 views
Ways to represent/store different regions in a non tiled map
I am developing a game where agent tribes fight each other for land.The map is a 2D map.Each agent has an instance of group object that represents their family.And each group object contains ...
-6
votes
1answer
206 views
Java 2D tile map and rendering it [closed]
Please help me! I am thinking of generating different terrains environment every time the game loads again. But i am thinking of loading or drawing a image containing all the units like river, land ...
1
vote
2answers
315 views
How to implement a birds eye view of 2D Grid Map using Android
I'm a true beginner with using the android platform and I'm having difficulties on implementing a 2D grid system for a tower defense type game. Where I can place towers on a specific tile and enemies ...
4
votes
1answer
514 views
Island Generation Library
Can anyone recommend a tile map generator (written in Java is a plus), where one can control some land types? For example: islands, large continents, singe large continent, archipelago, etc.
I've ...
1
vote
2answers
844 views
Creating maps and tileset for a 2d java game
I'm not a completly beginner to java, so I decided to write a map loader and a tileset loader myself instead of using a tilemap editor like Tiled. I'm using Slick & LWJGL for my game.
The plan ...
2
votes
3answers
138 views
Positioning entities in adjacent maps
Say I have a 2D tile based game engine (I don't, but I will soon). I was wondering how I would manage drawing adjacent maps. That is, imagine we have a map that is 50 by 50 tiles wide. Then next to ...
1
vote
2answers
866 views
Provide A Scrolling “Camera” View Over A 2D Game Map
I'm in the process of attempting to create a 2D MMO type game with Kryonet and some basic sprites, mostly for my own learning. I have the back end set up great (By my standards) and I'm moving on to ...
9
votes
5answers
517 views
Increasing the probability for similar tiles to generate next to each other
I'm working on a tile map system, which insofar looks like this (green is grass, air is white, stone is grey, and blue is water):
It uses a simple random number generator so that there's a 45% ...
0
votes
1answer
313 views
How do I get the current location when using slick 2D library?
I'm developing a map kind of simple game using slick 2D library, and I want to get the current location of the user. When the user runs into a special location (ex: hole) to indicate that is ...
12
votes
2answers
657 views
How do you handle uneven tiles while rendering a tile map?
Here is what I want to do with my tile map that I am unsure of. As you can see the top walls are way larger then the bottom and side ones (this is also an issue with my corners which are odd shapes ...
4
votes
3answers
1k views
2D basic map system
i'm currently coding a 2D game in Java, and I would like to have some clues on how-to build this system :
the screen is moving on a grander map, for instance, the screen represent 800*600 units on a ...
3
votes
1answer
339 views
More smaller maps among which player can travel
I am developing 2d game, where maps are tile based, small about 20x20 tiles and player can travel between a lot of maps (in my game rooms) like this. The maps are connected sometimes verticaly and ...
4
votes
2answers
2k views
How to store 2D tile-map
I want to create a 2D map composed of small tiles, that should look like voxels (eg. this just from side).
I think I can make a structure like Voxel2D, that have int X, Y and some Color, and every ...
2
votes
1answer
282 views
Are there any Java based libraries that provide game mapping features?
I'm working on a Java web based game in my spare time (springMVC / JSPs etc), and I'm wondering what are my options for dealing with the "game world" or mapping element.
My game will be 2d / text ...
12
votes
8answers
2k views
How do I create tileable solid noise for map generation?
Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant)
I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my ...