Attachments
Last edited:
Looks really great! Well done. 5 stars...
Can you share some technical details on this app?
Nice latch, good graphic. Run smooth on my Lenovo A800 (ICS, 4.5inch screen), but sluggish on my G-Tab 7" P1000 (Gingerbread). I've found some bug:
When i'm exit your game via back button or menu button and then enter your game again, i've got black screen with a voice and clink sound (rockets number increased when play it again after force close). That bug is also occurred when i turn off/on the screen. i have to force close your game to make it normal again
Anyway 5star from me
Both of those beat coding opengl by hand(which I did last year at this time- the code was ugly and I really had to keep my head straight)
every surface draw event(timer1.interval=40) the game draws 256 blocks, a 2048x2048 background, up to 200 bullets, up to 50 foes, up to 50 rockets, shadows for all players, and controls and displays. Menus are draw on canvas/pnls with transparency and visible=false when I don't need them.
Why do you set the interval to 40?
When I started to write it, I wasn't sure how well it would perform so I set it high knowing I could get a little speed increase by decreasing the interval.
Small bug: the text that shows in the window when you finish the level is not scaled correctly. On Galaxy Nexus it is much too large. Make sure that you are not using 'dip' for the text size.
Dim scale As Float
scale=100/100dip
If msgtime>0 Then ac.DrawText(msg,w/2,50,Typeface.DEFAULT,50*scale,Colors.white,"CENTER")
WOW this is really 5 stars, did you make everything with B4A?