Ploblem in AndEngine Game

Problems with Canvas, OpenGL, etc...

Ploblem in AndEngine Game

Postby viv » Tue Jan 11, 2011 7:36 am

Hey all,
I am having an unusual problem with my Game. I am loading six textures in my Game, the initial one is a type of Game Background. Now at click of a Sprite i load a Dialog with infalted XML. The problem occurs here, when it first loads my game Background becomes black, when it reloads again it returns to it's original, when it reloads again it's black and it continues like this. It's a big code and that's why i cannot post it here, may be any one of you help me in this. I am stuck since many days in this, I have not unloaded any Texture, but still it's looking like that...............

Below is the logCat output:


01-11 11:39:53.497: DEBUG/AndEngine(1925): FPS: 52.97 (MIN: 3 ms | MAX: 55 ms)
01-11 11:39:57.257: DEBUG/AndEngine(1925): onSurfaceCreated
01-11 11:39:57.257: DEBUG/AndEngine(1925): RENDERER: NVIDIA AP
01-11 11:39:57.257: DEBUG/AndEngine(1925): VERSION: OpenGL ES-CM 1.1
01-11 11:39:57.257: DEBUG/AndEngine(1925): EXTENSIONS: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_query_matrix GL_OES_compressed_paletted_texture GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_point_sprite GL_OES_point_size_array GL_OES_draw_texture GL_OES_matrix_get GL_OES_compressed_ETC1_RGB8_texture GL_OES_texture_cube_map GL_OES_framebuffer_object GL_OES_fbo_render_mipmap GL_OES_stencil8 GL_OES_rgb8_rgba8 GL_OES_vertex_half_float GL_OES_EGL_image GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_ARB_texture_non_power_of_two
01-11 11:39:57.257: DEBUG/AndEngine(1925): EXTENSIONS_VERXTEXBUFFEROBJECTS = true
01-11 11:39:57.257: DEBUG/AndEngine(1925): EXTENSIONS_DRAWTEXTURE = true
01-11 11:39:57.257: DEBUG/AndEngine(1925): onSurfaceChanged: pWidth=1024 pHeight=600
01-11 11:39:57.297: DEBUG/dalvikvm(1925): GC_EXTERNAL_ALLOC freed 1536 objects / 75152 bytes in 37ms
01-11 11:39:57.737: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 634 objects / 42448 bytes in 21ms
01-11 11:39:57.767: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 65 objects / 2576 bytes in 20ms
01-11 11:39:57.787: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 21 objects / 800 bytes in 20ms
01-11 11:40:01.747: DEBUG/AndEngine(1925): FPS: 46.92 (MIN: 2 ms | MAX: 578 ms)
01-11 11:40:06.737: DEBUG/AndEngine(1925): FPS: 52.96 (MIN: 5 ms | MAX: 42 ms)
01-11 11:40:12.297: DEBUG/AndEngine(1925): onSurfaceCreated
01-11 11:40:12.297: DEBUG/AndEngine(1925): RENDERER: NVIDIA AP
01-11 11:40:12.297: DEBUG/AndEngine(1925): VERSION: OpenGL ES-CM 1.1
01-11 11:40:12.297: DEBUG/AndEngine(1925): EXTENSIONS: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_query_matrix GL_OES_compressed_paletted_texture GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_point_sprite GL_OES_point_size_array GL_OES_draw_texture GL_OES_matrix_get GL_OES_compressed_ETC1_RGB8_texture GL_OES_texture_cube_map GL_OES_framebuffer_object GL_OES_fbo_render_mipmap GL_OES_stencil8 GL_OES_rgb8_rgba8 GL_OES_vertex_half_float GL_OES_EGL_image GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_ARB_texture_non_power_of_two
01-11 11:40:12.297: DEBUG/AndEngine(1925): EXTENSIONS_VERXTEXBUFFEROBJECTS = true
01-11 11:40:12.297: DEBUG/AndEngine(1925): EXTENSIONS_DRAWTEXTURE = true
01-11 11:40:12.297: DEBUG/AndEngine(1925): onSurfaceChanged: pWidth=1024 pHeight=600
01-11 11:40:12.327: DEBUG/dalvikvm(1925): GC_EXTERNAL_ALLOC freed 728 objects / 38720 bytes in 30ms
01-11 11:40:12.767: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 517 objects / 37528 bytes in 21ms
01-11 11:40:12.797: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 65 objects / 2576 bytes in 21ms
01-11 11:40:12.817: DEBUG/dalvikvm(1925): GC_EXPLICIT freed 21 objects / 760 bytes in 20ms
viv
Freshman
Freshman
 
Posts: 6
Joined: Thu Aug 05, 2010 7:13 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests