Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (136)
games submitted by our members
Games in WIP (594)
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 ... 6
1  Games Center / WIP games, tools & toy projects / Re: Horizon (Freeroam MMORPG) WIP on: 2015-01-20 23:05:22
Added a way for the server to create random items based on the mob they come from and otehr factors, it has some crazy item id's like 5,2:3,64,Apple ,xD
2  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.3 (A Simple Java Networking Library) on: 2015-01-19 20:37:23
Im thinking of giving up on kryonet and giving this a go xD
3  Games Center / WIP games, tools & toy projects / Re: Horizon (Freeroam MMORPG) WIP on: 2015-01-19 14:24:53
The 0.0.1_12 is still being made but this is a screenshot sowing of the texture blending between 2 block types!

4  Games Center / WIP games, tools & toy projects / Re: Horizon (Freeroam MMORPG) WIP on: 2015-01-18 22:15:41
Haha Free roam xD and thanks man, i have waited until the next new stable version of the game is ready to be seen before i upload any new photos but its coming along very well Smiley
5  Discussions / General Discussions / Re: Looking for beginner game developer guidance on: 2015-01-15 22:27:29
Thanks :3
6  Discussions / General Discussions / Re: Looking for beginner game developer guidance on: 2015-01-15 22:06:05
I learnt 2D game dev from https://www.youtube.com/watch?v=VE7ezYCTPe4 , but after 14 episodes i was fine with everything and have went on to make that game into this http://www.java-gaming.org/topics/iconified/35090/view.html
7  Java Game APIs & Engines / Java 2D / Re: Dynamic lighting from scratch on: 2015-01-14 19:35:01
I have a working light system for the game but it causes a little bit off lag and cant shake it, any suggestions?

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  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
package com.horizon.game.gfx;

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

import com.horizon.game.horizon;
import com.horizon.game.entitys.Player;

public class Light {

   private int x;
   private int y;
   private int radius;
   private int intencity;
   private BufferedImage image;

   public Light(int x, int y, int radius, int intencity) {
      this.x = x;
      this.y = y;
      this.radius = radius;
      this.intencity = intencity;

      image = new BufferedImage(radius * 2, radius * 2,
            BufferedImage.TYPE_INT_ARGB);
      Graphics2D g2 = (Graphics2D) image.getGraphics();

      int step = 4;
      int numSteps = radius / step;
      g2.setColor(new Color(0, 0, 0, intencity));
      for (int i = 0; i < numSteps; i++) {
         g2.fillOval(radius - i * step, radius - i * step, i * step * 2, i
               * step * 2);
      }
   }

   public int getX() {
      return x;
   }

   public int getY() {
      return y;
   }

   public int getRadius() {
      return radius;
   }

   public int getIntencity() {
      return intencity;
   }

   public BufferedImage getImage() {
      return image;
   }

   public void render(Graphics2D g2, int width, int height,horizon horizon) {
      Player p = horizon.getGame().getPlayer();
      g2.drawImage(
            image,
            (width / 2)
                  - image.getWidth()
                  / 2
                  - ((p.x * horizon.SCALE) - (((x * 16) + 8) * horizon.SCALE)),
            (height / 2)
                  - image.getHeight()
                  / 2
                  - ((p.y * horizon.SCALE) - (((y * 16) + 8) * horizon.SCALE)),
            image.getWidth(), image.getHeight(), null);
   }
}
8  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-13 10:01:29
I vlove how everyone used minecrafts texture pack when debugging a 3D game xD
9  Java Game APIs & Engines / Java 2D / Re: [Solved] Dynamic lighting from scratch on: 2015-01-12 22:31:39
Np man Smiley Time to get shadows working! hehe
10  Java Game APIs & Engines / Java 2D / Re: Dynamic lighting from scratch on: 2015-01-12 21:48:51
I discovered a video explaining light maps as soon as you guys sent this xD why dose this keep happening, but thanks this is just what i needed!

https://www.youtube.com/watch?v=KjfbzDGrRfI
11  Java Game APIs & Engines / Java 2D / Dynamic lighting from scratch on: 2015-01-12 21:15:58
I have been playing around with trying to get lighting work and i can get day/night working using
1  
2  
RescaleOp op = new RescaleOp(horizon.getGame().getLevel().getDaylightIntensity(), 0, null);
         image = op.filter(image, mage);

But im not sure how to go about rendering lights. i don't want to have the lighting blocky like in minecraft, but rather increase its intensity pixel by pixel the closer you get to the source. anyone know how this is done?
12  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 11:12:47
Idk i just have xD i don't really find them useful for what im doing, but i see there uses in some cases
13  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 01:13:18
Because i kinda get it but im not all the way there
14  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 01:12:25
Yeah im struggling to understand that (never used interfaces) could i see a example where you have used it for reference?
15  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 01:01:09
How do you initialize TileMap?

1  
TileMap tileMap = new TileMap(); //throws a error
16  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 00:54:43
i seen thanks Smiley
17  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 00:52:00
Ill check it out now, thanks
18  Game Development / Artificial Intelligence / Re: Tutorial or example on a* pathfinding without Slick on: 2015-01-12 00:51:46
I have seen this, i just needed to see a good implementation of it
19  Game Development / Artificial Intelligence / Tutorial or example on a* pathfinding without Slick on: 2015-01-12 00:41:52
Hey guys i was wondering if anyone knows of any references to any tutorials or example code that can do A* pathfinding? looked around but cant find any that is not tied into Slick
20  Games Center / WIP games, tools & toy projects / Re: Horizon (Freerome MMORPG) WIP on: 2015-01-11 23:38:06
New interaction menu!
21  Discussions / General Discussions / Re: mame emulator in java (arcadeflex) on: 2015-01-11 22:49:32
You should try and get multiplayer working for things like tetris where there are 2 identical instances of the game running on either machine and controle inputs are sent over
22  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-11 20:51:46
Nvm i seen it xD hmm ill look it up 1 sec
23  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-11 20:51:10
First question anyone would ask, what lib are you using for the game?
24  Games Center / WIP games, tools & toy projects / Re: Horizon (Freerome MMORPG) WIP on: 2015-01-11 20:10:25
Update: Switching over to point and click moment using A* path finding and incorporating menu style action like in runescape
25  Discussions / General Discussions / Re: 3D model search engine on: 2015-01-09 16:08:05
One thing that had made me not want to make a 3D game is models, you have truly opened the door, thank you Smiley
26  Game Development / Newbie & Debugging Questions / Re: Kryonet Connection ID Safety on: 2015-01-09 14:38:13
first client will have ID: 0, the second client ID: 2 and so on.
Check that since your saying
1st) 0
2Nd) 2  :p
27  Games Center / Android Showcase / Re: Multitask Game - A game that challenges your multitask capabilities on: 2015-01-08 22:45:13
[img width=850 height=478] <--use that

and it looks good, im gonna try it. i remember playing a game like this a while ago but you only had 2 simultaneous things going on at once
28  Discussions / General Discussions / Re: Client/Server Library Discussion on: 2015-01-08 13:31:50
a Hickup i keep getting is it whining about the buffer size being to small now and then, so i adjust the size and then it complains its corrupting the data in deserialized so it can be a little annoying xD
29  Games Center / WIP games, tools & toy projects / Re: Horizon (Freerome MMORPG) WIP on: 2015-01-08 13:29:30
True  Smiley
30  Game Development / Networking & Multiplayer / Re: More Kryonet issues Buffer overflow on: 2015-01-08 02:59:12
I used it for a short time but i found when there was a server or client crash Kryonet was unable to detect the connection loss itself so i had to make a packet to handle this
Pages: [1] 2 3 ... 6
 

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

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (12 views)
2015-01-26 04:47:56

Olo (13 views)
2015-01-25 21:26:00

Olo (15 views)
2015-01-25 18:44:22

Robo11 (25 views)
2015-01-25 06:14:26

basil_ (26 views)
2015-01-17 22:29:32

wxwsk8er (26 views)
2015-01-16 21:42:21

wxwsk8er (20 views)
2015-01-16 20:44:20

basil_ (25 views)
2015-01-14 09:46:59

basil_ (21 views)
2015-01-14 09:46:52

wxwsk8er (34 views)
2015-01-13 20:42: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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17
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!