Hi guys am new to android programming.
am trying to create a game.
Consider the flower bracket ({) as my screen.
(||||) lines as a wall.
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{}
{ }
{ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| }
{ | }
{ | }
{ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| }
{ }
{ }
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{}
how to detect collision if i touch wall assume i have ball moving on the screen.
how to make a rectangular bound for bitmap?
All ideas and advice are appreciated.
3 replies to this topic
Sponsor:
#3 Members - Reputation: 466
Posted 27 November 2012 - 11:26 AM
Don't think of this as an android specific problem. Your question isn't very clear, but if you're looking for collision detection and physics there is a nice android port of box2d.
http://code.google.com/p/androidbox2d/
As for the "rectangular bound bitmap," I'm unsure of what you're talking about. Rendering is done with Opengl ES and is pretty much the same as Opengl.
Take a look at andEngine, It'll make development alot easier if you're a novice.
http://www.andengine.org/
http://code.google.com/p/androidbox2d/
As for the "rectangular bound bitmap," I'm unsure of what you're talking about. Rendering is done with Opengl ES and is pretty much the same as Opengl.
Take a look at andEngine, It'll make development alot easier if you're a novice.
http://www.andengine.org/






