Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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  Games Center / Featured Games / Re: Overbind on: 2012-09-03 18:47:16
I'd play the game more but I honestly can't get past how slow the walking is  Cry
2  Game Development / Game Play & Game Design / Re: How can I make this unique? on: 2012-05-05 00:43:37
Thanks for the ideas, guys. 
3  Game Development / Game Play & Game Design / Re: How can I make this unique? on: 2012-05-03 23:08:47
Thanks, I'll definitely do the higher quality graphics.  A couple more suggestions *hint hint* would be nice though.
4  Game Development / Game Play & Game Design / How can I make this unique? on: 2012-05-03 22:21:07
I want to create a game that involves two main things - creating, and destroying.  This game will be 2D.  How can I make this unique, and not like terraria or minicraft?  Any ideas would help!
5  Game Development / Newbie & Debugging Questions / Re: Tile Collision on: 2012-05-03 02:06:19
I thought i needed to use a boolean though, so I can only allow jumping if there is a tile below the player, and only allow falling if there isn't.
6  Game Development / Newbie & Debugging Questions / Tile Collision on: 2012-05-03 00:28:41
I have multiple tiles in an array.  I want to set collision between them and the player.  Currently, I am trying to do the collision check by a static boolean in the player class, but with this:
1  
2  
3  
4  
5  
if(tile[i].collision) {
Player.collision = true;
}else{
Player.collision = false;
}


I'm guessing you can tell that if any of the tiles do not have the collision, neither does the player.  Does anybody know what I should do?

Thanks!
7  Game Development / Newbie & Debugging Questions / Re: Ball KeyListener Problem I Guess.. Have a look on: 2012-05-03 00:25:36
Right under "b = new Ball();", add this:

1  
addKeyListener(b);
8  Game Development / Newbie & Debugging Questions / Re: Randomizing Tiles on: 2012-04-26 01:07:40
I may have just figured something out, but am not sure if it is the best..
Should I just make everything there zeros, use a for-loop to check them, and if they are zeros just randomize them?
9  Game Development / Newbie & Debugging Questions / Randomizing Tiles on: 2012-04-26 00:58:23
I currently have an array (String) I'm using to draw a tiled map on the screen.  I would like a way to randomize each number in it to create random tile placement.  If anybody knows a way to do this, please tell me.

Also, if there is a better way to do this other than a string array, please tell me.
10  Game Development / Newbie & Debugging Questions / Re: Drawing My Tiles on: 2012-04-25 21:11:56
Actually, in my Tile class I was already multiplying each number by 16 (16x16 images) to make it easier.
11  Game Development / Newbie & Debugging Questions / Drawing My Tiles on: 2012-04-25 02:35:06
I have an array named "tile", and it's length is 61.  I want to draw each one on the screen, and am assuming a for loop would be the best way.  I've never been good with the math/concept side of gaming, so I was hoping somebody would point me in the right direction.

I know this is wrong, but I made it to help show you what I mean:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
for(int i = 0; i < tile.length; i++) {

   for(int x = 0; x < 36; x++) {
   
      for(int y = 0; y < 25; y++) {
     
      tile[i] = new Tile(x * 16, y * 16);
     
      }
   
   }

}


Thanks!
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (114 views)
2013-05-17 21:29:12

alaslipknot (123 views)
2013-05-16 21:24:48

gouessej (152 views)
2013-05-16 00:53:38

gouessej (145 views)
2013-05-16 00:17:58

theagentd (159 views)
2013-05-15 15:01:13

theagentd (143 views)
2013-05-15 15:00:54

StreetDoggy (187 views)
2013-05-14 15:56:26

kutucuk (211 views)
2013-05-12 17:10:36

kutucuk (210 views)
2013-05-12 15:36:09

UnluckyDevil (215 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.316 seconds with 21 queries.