Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
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 / Game Play & Game Design / Re: How to create a map? on: 2011-03-20 18:13:30
@ PudgeCo: Thanks. I will try. I am very happy to see tutorial with source code. Now, I think I will make it.

Can I say one funny think, I am almost 17 years old now, and I am in computer School. We learn Java there. Well, but when I asked a professor, what  I need to made this kind of game, he didn't know Cheesy And than I register to this forum Cheesy
2  Game Development / Game Play & Game Design / Re: How to create a map? on: 2011-02-26 22:59:00
Well, I have got a "game" with some classes (Frame, Board, Enemy, Bullet, Dude). In Board class, I have got a method, to load a background (ImageIcon i = new ImageIcon ... )And it just work perfectly, but it is just background... (was making the game step by step with tutorial on Youtube. )

I looked at code in David Brackeen's book, but I don't understand it. There are "thousands" of classes, and a lot of them are almost equals. Are all of this even necessarily?  Maybe I will understand, if I will buy a book, but for now, there is no money for this. Sad I need just this, then, moving, collision, enemys and all other stuff are much more easier than this. So, can I please you something? If you know any site, with step by step tutorial, how to make very simple tile based game, can you please post the link of the website here? I was searching the web, but  I haven't found tutorial which explain how to create tile based game in java, step by step. Or if you know a site where I can download a source code of a simple tile based game, and than I will probably understand how to make this game. (But it have to work) Cheesy

Ow, and about error, which I mention some posts above. I was doing something very stupid. My code was a disaster from first to last line Cheesy I was laughing to myself. 

3  Game Development / Game Play & Game Design / Re: How to create a map? on: 2011-02-24 21:06:15
Well thanks, I will write longer answer in Saturday evening, when I'll come home. I am not on my computer now. I will post the code and error, If It will not work. But I think now will work. It must work! =)

So, basically I need just 2 classes? (If I want just to draw a Map, with no enemy, no hero, no movement...)  One to draw a frame, and one to get a Map from map.txt, and draw it?

4  Game Development / Game Play & Game Design / Re: How to create a map? on: 2011-02-23 22:50:40
Well, thanks to both, now I understand better, but anyway, when I try to write this program, all it does is error Cheesy

Can somebody tell me, if this is the right idea:
 - I need 2 for loops, one for high of map, another for length of each row. Or something like that...
 - We check each number, letter or whatever it is, and we put corresponding image on the screen. I have to use (lots of) If statement?

5  Game Development / Game Play & Game Design / How to create a map? on: 2011-02-23 17:49:32

First, I apologize if I wrote a topic in the wrong place (You can move it) , and I also apologize for my bed English.

I started to learn GUI programming not so long ago. So far I've done a really basic 2d game. Nothing special. Background, 2 enemies, you have 10 bullets and you have to kill the enemies. If you touch the enemy, it is the end of the game. The character can move left, right, and you can jump once. However, in the "game" there are no barriers. So I searched the Internet, what would be the easiest way to make them. I found a way that it seems to me it is called "tile-based map" or. something like that. Ok, I said to myself, and I try this, but here I get stuck. I know I have to make .txt file, and then with the characters "draw" folder. Okay, but how do you read this folder, and a char replaced with an image?

And another question, how can I make this map so the figure can wake through the barriers? With Collision Detection, or something special?

BTW: It is not for homework.

Pages: [1]
theagentd (93 views)
2017-02-18 13:42:33

theagentd (97 views)
2017-02-18 13:35:16

h.pernpeintner (1262 views)
2017-01-24 22:39:11

h.pernpeintner (1251 views)
2017-01-24 22:38:32

Galdo (1809 views)
2017-01-12 13:44:09

Archive (1915 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2453 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2296 views)
2016-12-15 21:50:57

Lunch (2375 views)
2016-12-06 16:01:40

ral0r2 (2155 views)
2016-11-23 16:08:26
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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!