Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [LibGDX] Game implementation  (Read 329 times)
0 Members and 1 Guest are viewing this topic.
Offline grevius
« Posted 2013-07-29 13:37:25 »

i want to create a game where there are some .tmx level with monster and a simple character that moves into the level.
For a few days i think about this and i don't know what is better for implements the player movement.
I have tryed to check manually the collision of the player but iìm not able to do a good work, so i think i can use box2D for check collision and apply the force that need to move the player. For my kind of game is correct use box2D for the collision and movement or is better an other implementation?
Sorry for the question but i'm new in the game developing and i'm trying to learning how to do all well.
Offline sirkarpfen

Junior Member


Medals: 2
Exp: 2 years



« Reply #1 - Posted 2013-07-29 14:35:59 »

Well Box2d is very well suited for games that require physics. I would normally go with box2d in case of collision detection, because it simplifies the whole process very much.

On the other hand, if you try to learn game developing, it would be wiser to make your own implementation of a collision detection system. That way you learn about those mechanics... Also if this will be your first game and you dont have very much knowledge in developing games, maybe you should check out java2d to start with, because its so much simpler and basically better to start with, if you're new to game mechanics.
Offline Andre Lopes
« Reply #2 - Posted 2013-07-29 17:50:13 »

i want to create a game where there are some .tmx level with monster and a simple character that moves into the level.
For a few days i think about this and i don't know what is better for implements the player movement.
I have tryed to check manually the collision of the player but iìm not able to do a good work, so i think i can use box2D for check collision and apply the force that need to move the player. For my kind of game is correct use box2D for the collision and movement or is better an other implementation?
Sorry for the question but i'm new in the game developing and i'm trying to learning how to do all well.

I think DermetFan may know a way.There are some videos that can help you. His last video he joins box2D + sprites. But, there is some other video where he uses tmx and collision in a simple way.Which works perfectly.
Anyway, i think that you shouldnt use box2D, unless it requires a lot of physics... What kind of game it is ?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline grevius
« Reply #3 - Posted 2013-07-29 18:05:28 »

i want to create a game where there are some .tmx level with monster and a simple character that moves into the level.
For a few days i think about this and i don't know what is better for implements the player movement.
I have tryed to check manually the collision of the player but iìm not able to do a good work, so i think i can use box2D for check collision and apply the force that need to move the player. For my kind of game is correct use box2D for the collision and movement or is better an other implementation?
Sorry for the question but i'm new in the game developing and i'm trying to learning how to do all well.

I think DermetFan may know a way.There are some videos that can help you. His last video he joins box2D + sprites. But, there is some other video where he uses tmx and collision in a simple way.Which works perfectly.
Anyway, i think that you shouldnt use box2D, unless it requires a lot of physics... What kind of game it is ?
thanks for your answer! i want to create a simple 2D survivor game, bot i need some level for the zone of the world and i nedd collision to walk in terrain tha is not always flat.
I think my game can be lot intresting, when i have a playable version i wolud share it on this forum  Cheesy
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

pw (7 views)
2014-07-24 01:59:36

Riven (8 views)
2014-07-23 21:16:32

Riven (10 views)
2014-07-23 21:07:15

Riven (10 views)
2014-07-23 20:56:16

ctomni231 (41 views)
2014-07-18 06:55:21

Zero Volt (37 views)
2014-07-17 23:47:54

danieldean (31 views)
2014-07-17 23:41:23

MustardPeter (33 views)
2014-07-16 23:30:00

Cero (48 views)
2014-07-16 00:42:17

Riven (49 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!