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 / 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]
DesertCoockie (33 views)
2018-05-13 18:23:11

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

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

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

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

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

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

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

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

buddyBro (1065 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!