Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (150)
games submitted by our members
Games in WIP (602)
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] 2 3 ... 5
1  Games Center / WIP games, tools & toy projects / Re: Bit Siege - 2D Competitive Multiplayer PvP Game. (Patch v1.4.2 out now!) on: 2015-02-21 12:27:52
The game looks nice, but why don't you make the "bullets"/"Abilities" go 360 degrees instead locking them to 0,90,180 and 270. I think it would be better and more fun. Maybe?
2  Games Center / Showcase / Re: Spaceport Hope on: 2015-02-21 12:20:55
It is AWESOME!!! Love the pixel art! Gameplay looks nice. I think it could be big! When did you start developing it and when will it be finished?
3  Game Development / Newbie & Debugging Questions / Re: Adding chunks to world for large maps? on: 2015-02-21 12:03:40
Well i made something that is working BUT i load all of the chunks and if i have a lot my ram usage goes over 1 Gb.... and i dont want that

my world class

https://github.com/GNecro1/RPG/blob/master/src/net/world/World.java

and my Chunk class

https://github.com/GNecro1/RPG/blob/master/src/net/world/Chunk.java

I was thinking to just have an a 2D array of 3x3 chunks and as the player moves i make the previus chunk = new chunk.... and i don't really know how.....
4  Game Development / Newbie & Debugging Questions / Re: Adding chunks to world for large maps? on: 2015-02-17 21:39:37
I dont realy know what that means.... a tree structure?
5  Game Development / Newbie & Debugging Questions / Re: Adding chunks to world for large maps? on: 2015-02-17 20:52:06
How would i do this for infinite terrain?
6  Game Development / Newbie & Debugging Questions / Adding chunks to world for large maps? on: 2015-02-17 13:07:19
I really don't know how do i implement large maps(over worlds), but i split it into smaller maps, like chunks, and update them only... If you know any tutorial or something, please don't hesitate to share! Thanks in advance!
7  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? [SOLVED] on: 2015-01-12 08:39:04
Well it is better than what i did. I just did all of that in my game.
8  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-10 12:22:51
I solved it, i just get the image from the animation. YAy
9  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-10 10:02:49
Yea i am doing that, one more problem i am using only one spritesheet for everything and how do i draw animation it only has draw? And when i draw it it goes to the 0,0 no matter what!
10  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 21:50:52
Thx it runs very fast! <3
11  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 12:13:09
I dont think so......
12  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 12:01:29
When i use start() and end() my game brakes.... ? It does not show the player (Animation) and it only shows some of the sprites.....
13  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 11:41:22
Here you go the whole project https://www.mediafire.com/?9h7o6mmy97919di
14  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 11:10:11
Nope that is not the problem i checked that first when i saw the FPS.
15  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Slick2D] Why the F is it so slow? on: 2015-01-09 11:03:57
I did i draw one tile and it still slows down... when i dont draw tiles the FPS goes to 60 (target FPS 60) and when i draw one it goes to 57 FPS
16  Game Development / Newbie & Debugging Questions / Re: Kryonet Connection ID Safety on: 2015-01-09 10:51:37
Well you can have the client send an packet that will have the id (login packet) and the server would have a txt file where the id will be stored and if it has that id the server will send a packet (conform login packet) and if not server would disconnect the client. Simple.
17  Java Game APIs & Engines / Engines, Libraries and Tools / [Slick2D] Why the F is it so slow? [SOLVED] on: 2015-01-09 10:35:27
I am recreating my previous project https://github.com/GNecro1/TROTMGRO, it was java2D no libs nothing, pure java. Now i am using Slick2D and it is crap. In Java2D i was creating a world 128x128 tiles(300+ FPS), now i am creating (in Slick2D) a world 32x32 tiles (9 FPS). So wtf is wrong?
How I do the rendering:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
 // Only 1 chunk, rendering
public void render(GameContainer c, StateBasedGame game, Graphics g) throws SlickException {
   for (int i = 0; i < tile.length; i++) {
      for (int j = 0; j < tile[0].length; j++) {
         tile[i][j].render(c, game, g);
      }
   }
}
// tile rendering

public void render(GameContainer c, StateBasedGame game, Graphics g) throws SlickException {
   img.draw(x, y,2);
}


And how i did it in Java2D :

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
// world
public void render(Graphics2D g) {
   for (int i = 0; i < tiles.length; i++) {
      for (int j = 0; j < tiles[0].length; j++) {
         tiles[i][j].render(g);
      }
   }
}
//tile

public void render(Graphics2D g) {
   g.drawImage(RL.grass, x, y, width, height, null);
}


So anyone care to explain?
18  Game Development / Newbie & Debugging Questions / Re: A little problem..... (Rendering) on: 2015-01-06 21:48:20
I need an a explenation i really don't understand how would i port that? xD
19  Game Development / Newbie & Debugging Questions / A little problem..... (Rendering) on: 2015-01-06 21:36:24
So I am playing around, testing stuff etc... And I saw this :

First one is like okey, but i walk down and WTF?
I am using slick2D, Code:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
private Player p;
private StrangeMan sm;

public void init(GameContainer c, StateBasedGame game) throws SlickException {
   sm = new StrangeMan(300,300);
   p = new Player(100, 100,AnimationHandler.Player);
}


public void render(GameContainer c, StateBasedGame game, Graphics g) throws SlickException {
   g.translate(-p.getX()+c.getWidth()/2-p.getWidth()/2,-p.getY()+c.getHeight()/2-p.getHeight()/2);
   p.render(c, game, g);
   sm.render(c, game, g);
}


The question : How can i make my player, when walks in front of the man, render/draw/whatever in front?
20  Game Development / Newbie & Debugging Questions / Re: 2D Game image rendering alternatives? on: 2015-01-04 17:25:56
You should use openGL..... It is way faster and very good i suggest using slick2D for start. Or libGDX it is way better... Using JFrame to do the rendering is not good for a game, it is for aplications buttons a
nd stuff xD !
21  Game Development / Newbie & Debugging Questions / Re: Copying jar files? on: 2015-01-02 14:01:52
My jar file game.jar and i want to copy it to lets say appdata but how do i do it? So how do i get my jars location and how do i copy it to appdata? And must do it in java + i don't know its location!
22  Game Development / Newbie & Debugging Questions / Copying jar files? on: 2015-01-02 13:53:52
I want to copy my jar file to another location.... How do i do that?
23  Game Development / Newbie & Debugging Questions / Dynamic lighting, ray casting soft shadow etc in slick2D. on: 2014-11-16 12:26:02
I want to make lighting in my game and get results like with box2dlights. I don't want to use libgx and box2dlights that is the last option. So are there any libs that i can use with slick2D to make lights like that? Do i use some kind of a shader? I really don't have a clue.......
24  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Slick2D not drawing Images? on: 2014-08-23 16:01:51
I just did -.-'
My image is corupted omg ! thx
25  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Slick2D not drawing Images? on: 2014-08-23 15:52:16
It is it works when the image has no transparent pixels! hhmmmmm
26  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Slick2D not drawing Images? on: 2014-08-23 15:46:29
Slick PNGDecoder Error - java.lang.UnsupportedOperationException: Unsupported format for this image
I got this error........ omg and it doesnt show in the console, when i have no transparent pixels i can see the image and get this error and when i have transparent pixels no error no image showing! NO LD FOR ME!e
27  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Slick2D not drawing Images? on: 2014-08-23 11:31:33
no i tried everything it just wont draw i thought that it is small so i put the scale like that no errors nothing!
28  Java Game APIs & Engines / Engines, Libraries and Tools / Slick2D not drawing Images? on: 2014-08-23 03:13:01
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
package net.ld.invalid.main;

import net.ld.invalid.res.resImages;

import org.newdawn.slick.Animation;
import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;

public class Game extends BasicGameState {
   Image i;

   @Override
   public void init(GameContainer gc, StateBasedGame sbg) throws SlickException {
      i = new Image("/res/Ghost.png", Color.white);
   }

   @Override
   public void render(GameContainer gc, StateBasedGame sbg, Graphics g)throws SlickException {
      i.draw(100, 100, 300);
   }

   @Override
   public void update(GameContainer gc, StateBasedGame sbg, int Int) throws SlickException {
   }

   @Override
   public int getID() {
      return 0;
   }

}

And it is not working i dont know why?
pls help!
29  Games Center / Contests / Re: Ludum Dare 30 (Theme Voting Open) on: 2014-08-21 07:56:28
I won't be able to join!  Emo They are making me go to a lake, A LAKE!!!!!Why  Clueless ? I am depressed!  Cry
30  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Kryo/Kryonet compression and buffer on: 2014-08-18 09:22:29
Why does it sound horrible?
Pages: [1] 2 3 ... 5
 
BurntPizza (45 views)
2015-02-27 06:09:35

BurntPizza (33 views)
2015-02-27 05:56:17

Riven (27 views)
2015-02-27 02:34:15

Riven (31 views)
2015-02-27 01:47:26

Riven (33 views)
2015-02-27 01:46:04

BurntPizza (29 views)
2015-02-27 00:52:04

BurntPizza (30 views)
2015-02-27 00:50:29

Riven (49 views)
2015-02-26 23:38:45

Riven (25 views)
2015-02-26 23:37:24

BurntPizza (42 views)
2015-02-26 21:13:04
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27
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!