Yes have a look at the glFont class. It's used in some of the examples including Alien Runner: http://www.jpct.net/download.html
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
SimpleVector vcoll = new SimpleVector();
if(nDebug == 0) vcoll = newpos;
if(nDebug == 1) vcoll = player.checkForCollisionSpherical(newpos, 2f);
if(nDebug == 2) vcoll = player.checkForCollisionEllipsoid(newpos, new SimpleVector(2f,2f,2f), 1);
if(nDebug == 3) vcoll = player.checkForCollisionEllipsoid(newpos, new SimpleVector(2f,2f,2f), 5);
if(nDebug == 4) vcoll = player.checkForCollisionEllipsoid(newpos, new SimpleVector(2f,2f,2f), 50);
obj = Primitives.getPlane(2, 2);
obj.setTexture("bb");
obj.setTransparency(50);
obj.setLighting(Object3D.LIGHTING_NO_LIGHTS); //?
obj.setBillboarding(true);
obj.setScale(0.02f); //?
world.addObject(obj);
onFrame()
{
// move my object forward incrementally
myPosZ += 0.1f;
// Reset the object's position back to it's origin (0,0,0)
object1.clearTranslation();
// Set position of object
object1.translate(myPosX,myPosY,myPosZ);
}
// Load video
MediaPlayer mediaPlayer = MediaPlayer.create(m_context, R.raw.videofile);
// Somehow attach the output to a texture
SurfaceHolder sh = ??? (Texture Surface)
mediaPlayerVid.setDisplay(sh);
// Play video
mediaPlayer.start();
Page created in 0.018 seconds with 9 queries.