Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (534)
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  Game Development / Newbie & Debugging Questions / Re: .txt map basics on: 2011-10-05 19:21:04
well that sounds like a good idea, to keep the map inside the code while i worry about other stuff, sounds smart, anyways another question that i forgot to add last time:

how does the paint method work for arrays, like how does it know where to paint each square, and if the character moves, how to move all the tiles with it?

thank you
2  Game Development / Newbie & Debugging Questions / .txt map basics on: 2011-10-05 15:39:25
well i have some questions about storing maps in .txt files, i've read a lot on the subject and nothing seems to be enough to get me started on it.


well, i've always wanted to be a game developer, and to be honest i thought it would be much easier, but realizing how hard it is only makes me want to learn more.

so a part of the process of realizing how hard it was, was trying to get started in this game developing world by making an isometric game, (like final fantasy tactics (fft)), and well it didnt take too long until i noticed starting with an isometric game wasnt the best idea, so i decided to start with simple stuff and made some really crappy simple games like pong.

so i've got some experience with how the drawing part works on the screen with java, and got more familiar with the way coordinates work and other stuff, and finally i decided to start working on a harder game, yet not as hard as a fft game,  i decided to start making a simple side scroller.

when i say side scroller i mean it like super mario, (not megaman or metroid which are more complex).

so after making some research, i noticed that im going to need something called "tilesets" which contain all different tiles a map would use, (instead of having a single file for each tile, you have all the tiles in one file), so i have read a lot about that and i cant get it.

what i want, is a clear explanation of how it works (how to write/read from a txt file, how to take the parameters there and asign them a tile, and then how to take that tile from the tileset).

and if you cant explain it for some reason, then it might also be helpful if i could get a source code of a game that works with this.

thank you for your patience, i really need to get this mapping technices working so i can advance on my project.
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

pw (35 views)
2014-07-24 01:59:36

Riven (33 views)
2014-07-23 21:16:32

Riven (21 views)
2014-07-23 21:07:15

Riven (24 views)
2014-07-23 20:56:16

ctomni231 (55 views)
2014-07-18 06:55:21

Zero Volt (47 views)
2014-07-17 23:47:54

danieldean (38 views)
2014-07-17 23:41:23

MustardPeter (43 views)
2014-07-16 23:30:00

Cero (59 views)
2014-07-16 00:42:17

Riven (56 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!