Results 1 to 1 of 1
Thread: Concept of Tile map via database
- 12-08-2010, 06:18 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
Concept of Tile map via database
Hey, I am pretty new to java, but not programming (well a real language(PHP is what I use))
I have my database it is filled with letters that represent diff tiles
g = grass
t = tree
d = dirt
w = water
etc. and they have a value the value would be used to see if the user could clip threw the tile.. now you dont want player walking threw tree's walls etc.
The database has x, y coords
I can connect to the database and retrieve the user data
but I am confused on how I would load the tile map.
another thing A old friend of mine was working on a java mmo(it got pretty far) and he drew a big map and he would get the pixel color from the map ( basic colors like green etc..) and it would turn each pixel from the map into a tile ( I think he said something about pixelgrabber but I am not sure)
So, I am just asking basic questions but a bit advanced for a newbie java user
also I get confused on diff class's
I have my connection.java file that I would like to add to my game.java but I am not sure how. they are all in the same package.
Thanks in advance
Similar Threads
-
I am having a compile tile error. please help.Exception in thread "main" java.lang.Ar
By nicholil in forum New To JavaReplies: 3Last Post: 11-06-2010, 01:33 PM -
mailing concept
By vikram.jamakhandi in forum AWT / SwingReplies: 3Last Post: 03-03-2010, 01:43 PM -
Thread concept
By javahelp00 in forum Threads and SynchronizationReplies: 2Last Post: 03-01-2009, 06:15 PM -
Interface concept
By r.srimathi in forum AWT / SwingReplies: 5Last Post: 01-28-2009, 05:25 PM -
mail concept
By thamizhisai in forum Advanced JavaReplies: 4Last Post: 04-11-2008, 08:19 AM
Bookmarks