Skip to main content
gamedev.net
🔒 Locked

A simple java tile question

Started by uni2uni2 Oct 13, 2004 at 9:13 AM 0 replies 400+ views
Original Post
uni2uni2
uni2uni2
Hi, i have a simple question that has probably been answered somewhere on the web before, or has source code somewhere, but i cant find it. Basically i want to:- A) create a simple program using java that will open a new window that shows tiles. eg 8x8. Specifically a top down view ( i intend to create a top down map generator from it ). A very simple GUI will be used to choose map size eg 2x2 4x4 8x8 etc, and when "submit" is clicked, the new window and tiles will be generated. Does anyone have links to sites or articles, or can use their knowledge in this thread? :-) Any help would be much appreciated. After i can accomplish this, my next stages will be to :- 1. Give tiles values (terrain types) 2a. Give tiles simple colors eg green for "grass tile" 2b. Somehow incorporate Perlin Noise for the different graphics of the different tiles 3. Use AI or constraints to realistically randomize placement of tiles 4. Have the ability to turn on/off tilegrid. Please note, i only really require the answer to "A" at the moment. 1 - 4 is there to give an idea of what i will use the tiles for (ie is your help plausable). Of course if you are able to help me at all on these i wont say no :-) Thanks for reading this post and hope you can help!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.