android - Andengine Troubles, Nothing showing on screen? SimpleBaseGameActivity -


i have code:

public class gameactivity extends simplebasegameactivity{  static final int camera_width = 800; static final int camera_height = 480;  public font mfont; public camera mcamera;  public scene mcurrentscene; public static baseactivity instance;   @override public engineoptions oncreateengineoptions() {     // todo auto-generated method stub     instance = this;     mcamera = new camera(0,0, camera_width, camera_height);     return new engineoptions(true, screenorientation.landscape_fixed, new ratioresolutionpolicy(camera_width,  camera_height), mcamera); }  @override protected void oncreateresources() {     // todo auto-generated method stub     mfont = fontfactory.create(this.getfontmanager(), this.gettexturemanager(), 256, 256, typeface.create(typeface.default, typeface.bold), 32);     mfont.load(); }  @override protected scene oncreatescene() {     // todo auto-generated method stub     mengine.registerupdatehandler(new fpslogger());     mcurrentscene = new scene();     mcurrentscene.setbackground(new background(0.09804f, 0.7274f, 0.8f));       return mcurrentscene; }  } 

my whole goal on screen, simple bitmap. ive followed bunch of tutorials on andengine on youtube , google, reason when start basegameactivity doesnt display @ blank white screen. downloaded example github , copied , pasted code , example gave me same thing blank white screen. can me? id appreciate :]

i think using gles2 andengine branch , may phone not supporting gles2.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -