Featured games (78)
games approved by the League of Dukes
Games in Showcase (426)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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
1  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-04-04 02:04:32
Acceptable? Those planets look very nice  Cheesy

Don't underestimate your abilities  Pointing
2  Games Center / WIP games, tools & toy projects / Re: NEW VIDEO: SixtyGig - Open World Retro RPG. on: 2014-04-04 01:57:36
Correct me if I'm wrong, but it seems like when your character moves diagonally, what you are doing is make him move at the same speed in the X and Y values.

To explain myself: If character moves to the right, you set his Xvelocity value to (let's say) 50, and if he moves up you set his Yvelocity to 50, but if he moves diagonally to right-up you set his X and Y velocity to 50 which doesn't make him move at 50 but at the square root of 50^2+50^2 which is 70.71, and that increase of speed makes his movement look kinda funny (at least in my opinion).
3  Games Center / WIP games, tools & toy projects / Re: SixtyGig - Open World Retro RPG. on: 2014-03-28 18:47:19
Rayvolution, you seem to be very good at pixel art. May I know what program do you use to paint? And, if possible, any tutorial link?
4  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [LibGDX]Making a game work for desktop AND android? on: 2014-03-17 03:28:52
Start learning LibGDX for a couple of days and then you will realize that with a couple of "if" statements you can make the input work in any platform.
5  Games Center / WIP games, tools & toy projects / Re: Square World 0.3.4 on: 2014-03-17 00:31:30
It freezes when I try to break a block.
6  Discussions / General Discussions / Re: What things should I learn? on: 2014-03-05 20:09:37
When I created this thread I didn't think it was going to receive such an amazing feedback.

I'm already putting your advices in practice Smiley

Thank guys, you are the best.
7  Game Development / Newbie & Debugging Questions / Re: JBox2D Raycast: I just can't pull it off on: 2014-03-05 16:31:20
You are right.

Dermetfan raycasting tutorial:
8  Discussions / General Discussions / Re: What things should I learn? on: 2014-03-05 06:07:59
Thanks to all of you guys.

Ok, so, I will just code and code and get better at it.

I knew you were going to help me.
9  Discussions / General Discussions / Re: What things should I learn? on: 2014-03-05 06:02:40
So, can I make a full fledge game with what I already know?
10  Discussions / General Discussions / Re: What things should I learn? on: 2014-03-05 05:59:55
No, seriusly. What other techniques you recommed me to learn.
11  Game Development / Newbie & Debugging Questions / Re: JBox2D Raycast: I just can't pull it off on: 2014-03-05 05:55:12
Thank you Spacebeans but I already pull it off thanks to a Dermetfan tutorial.
12  Discussions / General Discussions / What things should I learn? on: 2014-03-05 05:53:13
Hello once again JGO.

I have been in java for about a year right now. I use LibGDX so I already know common things like box2d, tmx maps, few other sfuff and want to start to learn about shaders.

My question is: What should I learn after all that?

I know you can help me. This is the best community  Grin
13  Game Development / Newbie & Debugging Questions / Re: [Collision Detection] Thinks it's colliding even though it isn't on: 2014-03-05 00:19:03
Yeah you are right. Its cool to know that kind of stuff and its a good programming habit as well.
14  Game Development / Newbie & Debugging Questions / Re: [Collision Detection] Thinks it's colliding even though it isn't on: 2014-03-05 00:03:57
You can just use JBox2D and chill...  Cool
15  Game Development / Newbie & Debugging Questions / Re: Do colored images take longer to load? on: 2014-03-04 23:58:17
Probably they load faster, but, wouldn't it take some time to add color to each image?

I think you should do it the normal way just to keep it simple, plus, any modern day device will load textures pretty fast i think.
16  Game Development / Newbie & Debugging Questions / Re: [LibGDX] Screen scaling on: 2014-03-01 01:45:24
If you are using an OrthographicCamera use the OrthographicCamera.setOrtho() method and give it your monitor size, then in your Main Class set the width and height of the LwjglApplicationConfiguration to the device screen size. That does the trick (for me at least). And for mouse/touch scaling you can use the OrthographicCamera.unproject() method that will transform the Vector3 that passed to a scaled version of itself.
17  Games Center / WIP games, tools & toy projects / Re: SixtyGig - Open World Retro RPG. on: 2014-02-21 20:22:21
I don't know if you did it because you wanted to but it is Freud not Frued.
18  Game Development / Newbie & Debugging Questions / Re: Using Swing in game development. on: 2014-02-08 23:28:12
My advice is simple: Don't re-invent the wheel.

Use an engine or library such as LibGDX or Slick. I'd recommend LibGDX. It takes just a few days to get used to it and it has pretty useful tools and has JBox2D integrated.

So yeah, just keep it simple and everything will go just fine.
19  Game Development / Newbie & Debugging Questions / Re: Shooting towards the mouse on: 2014-02-01 00:00:41
I'd add mousex and mousey integers to my bullet class then set the velocity of the bullet with it's own mouse position field.
20  Game Development / Newbie & Debugging Questions / JBox2D Raycast: I just can't pull it off on: 2014-01-31 02:03:59
Hi JGO. I have been looking for JBox2D raycast tutorials but all I find is C++ tutorials (I know you will say "just use the same code but in java").

All i'm asking for is a clear, easy, and fast java box2d raycast tutorial because every java raycast tutorial I found was just not exactly what I expected to be.

Hope you can help this lost coder.

Thank you.
21  Game Development / Game Mechanics / Re: any experience with gravity simulations? on: 2013-11-09 18:52:50
Well you can always use box2d for that, but it's understandable if you want to create your own physics engine for learning purposes.
22  Game Development / Newbie & Debugging Questions / Re: Problems with gameloop and threading on: 2013-09-20 05:01:07
Well you could use LibGDX... It has its own built-in gameloop set at 60 fps by default and a delta value that you can use for efficient character movement.

Of course you may be doing it with runnable interface for learning purposes.
23  Game Development / Articles & tutorials / Need practice developing games? on: 2013-09-14 04:16:08
Do you have an average programming experience and want to start game development but you don't know where to start?

Then this list is for you:

It's a list that feature 49 games that you can clone to gain experience in game programming. The list is intended to be for python programmers but you shouldn't have problems to make it in java.

It's a great game programming exercise because the difficulty of each game increases as you go down the list.

Good luck and happy game development  Cheesy
24  Game Development / Shared Code / Re: The perfect solution to handling circle and rectangle collisions on: 2013-09-13 20:23:20
I'd just use box2d
25  Discussions / General Discussions / Re: How long were you programming with Java before you made your first game? on: 2013-09-05 04:21:56
Well, if you know the basics, a little bit of swing and a bit of java2d, then you can do some simple games.

I made some kind of ping pong game when I had like 2 or 3 week of study, it was a simple ball bouncing off a moving platform and colliding with the frame bounds.

In that time I had a few beginner problems but now I can do that in like 10 minutes  Grin. All you have to do is practice a lot over and over again untill gain enough experience to make a decent game.

Good luck  Smiley
26  Game Development / Game Mechanics / Re: Box2D Map Collision on: 2013-08-12 21:12:47
I manage to do that yesterday with this:

BodyDef def = new BodyDef();
      PolygonShape shape = new PolygonShape();
      int current_body = 0;

      for (MapObject object : mapa.getLayers().get(1).getObjects()) {
         if (object instanceof RectangleMapObject) {
            Rectangle rect = ((RectangleMapObject) object).getRectangle();

            shape.setAsBox((rect.width / 2) / 10, (rect.height / 2) / 10);

            def.position.x = (rect.x / 10) + ((rect.width / 10) / 2);
            def.position.y = (rect.y / 10) + ((rect.height / 10) / 2);

            cuerpos.get(current_body).createFixture(shape, 1);

         else if (object instanceof PolygonMapObject) {
            Polygon poly = ((PolygonMapObject) object).getPolygon();

            float vertices[] = poly.getTransformedVertices();

            for (int x = 0; x < vertices.length; x++) {
               vertices[x] /= 10;
            def.position.x = poly.getOriginX() / 10;
            def.position.y = poly.getOriginY() / 10;

            cuerpos.get(current_body).createFixture(shape, 1);


This code works only for rectangles and polygons but if think a bit you will be able to make it ellipse and polyline friendly
27  Game Development / Game Play & Game Design / Re: Switching from LibGDX to LWJGL good choice? on: 2013-08-12 06:16:33
Having problems finding LibGDX tutorials?

There you go:

28  Game Development / Game Mechanics / Re: Top down shooting rendering[SOLVED] on: 2013-08-12 04:06:34
Well if are going to use a projectile instead of a ray, I'd recomend you to use jbox2d and if you are using LibGDX then it's perfect because jbox2d is already built-in the library
29  Game Development / Shared Code / Re: Power of 2 Converter on: 2013-08-11 18:39:06
This programming thread became a language thread  Grin
30  Game Development / Shared Code / Re: Power of 2 Converter on: 2013-08-08 17:02:46
Alright I want to apologize to you and anyone who read my rude post. I admit totally overreacted.

In fact, for the sake of the comunity and to make peace with you, I will change the language of the program.

And about the fact that this is the sourcecode section, can somebody tell me where can I move it to?
Pages: [1] 2

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (75 views)
2014-04-15 18:08:23

BurntPizza (68 views)
2014-04-15 03:46:01

UprightPath (80 views)
2014-04-14 17:39:50

UprightPath (65 views)
2014-04-14 17:35:47

Porlus (81 views)
2014-04-14 15:48:38

tom_mai78101 (105 views)
2014-04-10 04:04:31

BurntPizza (165 views)
2014-04-08 23:06:04

tom_mai78101 (261 views)
2014-04-05 13:34:39

trollwarrior1 (210 views)
2014-04-04 12:06:45

CJLetsGame (220 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30 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!