Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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 17: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 13: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]
DesertCoockie (22 views)
2018-05-13 18:23:11

nelsongames (70 views)
2018-04-24 18:15:36

nelsongames (67 views)
2018-04-24 18:14:32

ivj94 (751 views)
2018-03-24 14:47:39

ivj94 (81 views)
2018-03-24 14:46:31

ivj94 (605 views)
2018-03-24 14:43:53

Solater (97 views)
2018-03-17 05:04:08

nelsongames (170 views)
2018-03-05 17:56:34

Gornova (388 views)
2018-03-02 22:15:33

buddyBro (1048 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!