Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Physics gamedev problem

Physics gamedev problem

Put your problem here if it does not fit any of the other categories.

Physics gamedev problem

Postby zoki » Tue Jan 24, 2012 2:21 pm

Sorry (also for my english), I don't know where to put this question. I'm an Android developer for quite a long time, but now I would like to write my first game :) Because of my complex personality is also my idea for game quite complex. I don't expect that someone will explain me how shoud I do that, it would be enough if you just point me to the right direction where could I found things.
I have three problems. Let's think about them on an example of strange beer pong:
- how should I create a sprite for a beer cup, so that ball could bounce from edges of that cup?
- what kind of library would I need to handle edges detection of a beer cup (and bounce from them in the right direction)?
- if we have a metal ball and a rotating magnetic obstacles on the way to the beer cups, how to handle that obstacle?

Thank you ;)
zoki
Freshman
Freshman
 
Posts: 3
Joined: Tue Jan 24, 2012 11:50 am

Top

Re: Physics gamedev problem

Postby jonbonazza » Thu Jan 26, 2012 10:36 pm

I would recommend using the JBox2D library. It's a java port of the Box2D C++ library and is quite complete. It should have no problem doing what you want.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Re: Physics gamedev problem

Postby zoki » Wed Feb 01, 2012 9:01 am

Thank you
zoki
Freshman
Freshman
 
Posts: 3
Joined: Tue Jan 24, 2012 11:50 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 9 guests