GLBasic forum

Main forum => Beta Tests => Topic started by: svenart on 2011-Oct-31

Title: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Oct-31
Hello all,

I just have finished the first "demolevel" of my veryfirst Glbasic game for android. The game should work on tablets as well as on smartphones.

Please test it and feel free to let me know what you think.

On my tablet, It takes 20-30 seconds when starting the game the first time. But it should run. After starting it once, It will start much faster next time...

here the download link:

http://www.megaupload.com/?d=KM7CSVTJ




[attachment deleted by admin]
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: MrTAToad on 2011-Oct-31
Does look good - will have to try that!
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: matchy on 2011-Oct-31
Cool. Care to post a video preview?
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Nathan on 2011-Oct-31
Looks really good, superb graphics, did you draw them yourself?  Dunno if you know, just tried the link and said it's temporary unavailable.
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Oct-31
thanks for your comments so far :booze:

@ Nathan: Most of the Grafix is made by myself (Im more artist than programmer actually), but a few of the shipmodels are from Sender Pinarci (free downloads at Turbosquid). Also the earth model in the mainscreen is made by my friend Kerem Gogus (also from Turbosquid).

I checked the link some moments ago and It seems to work now.

@ matchy: Good Idea, I will try to make a short preview in the next days.

@ MrTAToad: Feel free to let me know what you think, also If you dont like something, no problem
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Gary on 2011-Oct-31
On an Xperia play it looks like the screen has been zoomed in a lot, the ship is about a 3rd of the width of the screen, the menu text is badly cropped and you can hardly get out of the way of the rocks.

I will get some screen shots if you need them

Gary
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Hatonastick on 2011-Nov-01
On my Optus My Tab ZTE V9 tablet (Android 2.2):  Looks good (no distortion or display issues), but came awfully close to running out of RAM while loading (actually switched me to the active processes window first time I ran it to see if I could close anything to free up RAM).  However the game itself ran about 5FPS once it got going.  Not surprised to be honest.  This is only a 600MHz processor (bottom of the range Android tablet).  If this tablet runs something, should pretty much run on any other Android device. ;)  Plus while testing GLB demos I've noticed it seems to run 3D far better than 2D.  In any case 5FPS isn't what I'd call playable.

On my Samsung Galaxy Mini (Android 2.3.4): Woah...  Ok loads fine, but the display doesn't fit the screen.  Basically it's like my screen has zoomed in on your title screen graphic to the point that all I can see is "-TYP" and "TART GAM".  Ok, when I click on "TART GAM" it starts and displays the main game screen ok for the most part.  Well text etc. is fine, just that there's hardly any room to move and because the play area is greatly reduced it makes it much harder to react.  FPS was over double the tablet but still not great.  Around 13FPS this time.  Still I think the display issues are by far a bigger issue than game speed as it was playable at 13FPS.

Now overall I love the graphics and the sound effects/music.  If you can fix the display issues on smaller devices and maybe tweak the speed (if possible) you should be good to go to make more levels.
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: mentalthink on 2011-Nov-01
HI I test in my Archos 70 , and goes vey slowly, about 14 ~ 20 FPS.

The graphics are superb, and it´s very fun, but for me, in my tablet don´t it´s too much playable, it´s strange, the graphics I´m not sure if are 3d real, but not are too much dense for make the game slowly.

Kinds Regards,
Iván J.
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Wampus on 2011-Nov-02
On Galaxy S II most of the screen isn't viewable, i.e. outside the viewing area, but what is viewable runs smoothly at around 30 FPS. Looks and sounds promising.
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Nov-12
thank you all very much for your feedback. Meanwhile I have found a way to fix the resolution problems and changed a lot of other minor things. Also, I was able to make it run a bit faster. I hope I will be able to post a updated version soon.

Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: MrTAToad on 2011-Nov-13
Quote from: svenart on 2011-Oct-31
@ MrTAToad: Feel free to let me know what you think, also If you dont like something, no problem
Got to find the phone first :)
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Minion on 2011-Nov-13
Just tried this, and Im afraid to say, it didn`t work well. On the main screen i get at the top "-TYP", followed underneath by "TART GAM" etc ;(

It looks like theres only 1 quarter of a screen shwon as in the game, the score details fill the top half of the screen, and the pause button fills almost the top right quarter of the screen ;(
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Nov-13
hello minion

What device are you using and wich resolution has your device? On tablets it is running well, but on smartphones I have problems with the resolutions. EVen if a smartphone has good resolution the game will be displayed in much smaller resolution.

for example, I testes with a samsung galaxy note (1280x800) but it run only on 640x400

I already have found a solution to fix it, but that will take a little bit time.

thanks for testing:)

Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Minion on 2011-Nov-13
Its a Sony Ericsson Xperia Arc, 854,480 resolution. iT was also running at 24.5 fps
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Nov-14
I have now updated the demo that It should run on much more different resolutions and also on smartphones. Also I added a menue, bombs to pickup (activate with double tap), iron meteors (cant destroy them), and a few other things.

The game should run faster now. If it is still slow running, you can set the graphics to "low" or "medium" in the options menue.

here the new link:

http://www.megaupload.com/?d=KM7CSVTJ
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: MrTAToad on 2011-Nov-15
Yes, tried the previous one, but fps was at 0.7 :)

Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: svenart on 2011-Nov-15
Wow... that really low... what smartphone/tablet have you used? Can you try the new demo please and tell me the fps? If the new one is still running slow you can change graphics in the optionsmenue.
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: MrTAToad on 2011-Nov-15
Its to be quite expected - its a generic Chinese android phone... I do get an extra 0.1 FPS out of your update though!

I suspect its the background slowing things down...

Very nice graphics though.

I get around 1.8 with low graphics settings.

These are the specs for the wretched device :

Code (glbasic) Select
Browser UserAgent : Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; Android Build/MASTER) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Android ID : 9774d56d682e549c

Uptime : 0 days, 0 hours, 5 minutes, 8 seconds

Uptime (without sleeps) : 0 days, 0 hours, 5 minutes, 8 seconds


BuildInfos
Android version : 2.2.1
Release Codename : REL
API LEVEL : 8
CPU ABI : armeabi
Manufacturer : unknown
Bootloader : unknown
CPU ABI2 : unknown
Hardware : mt6516
Radio : unknown
Board : unknown
Brand : yusu
Device : e1000_klx2
Display : ALPS.10Y.W10.48.MP.V2.03
Fingerprint : yusu/e1000_klx2/e1000_klx2/unknown:2.2.1/MASTER/eng.root.20110210.163906:user/test-keys
Host : yinhongli-desktop
ID : MASTER
Model : Android
Product : e1000_klx2
Tags : test-keys
Type : user
User : root

Battery
Not charging...
Level : 92 %
Technology : Li-ion
Temperature : 25.0 °C (77.0°F)
Voltage : 4032 mV

Memory
Download Cache Max: 59.98MB/ Free: 55.07MB
data Max: 271MB/ Free: 57.39MB
External storage Max: 3.67GB/ Free: 3.61GB
Total RAM: 190MB
Free RAM: 74.11MB
Threshold RAM: 12.00MB


CPU
Processor ARM926EJ-S rev 5 (v5l)
BogoMIPS 207.66
Features swp half thumb fastmult edsp java
CPU implementer 0x41
CPU architecture 5TEJ
CPU variant 0x0
CPU part 0x926
CPU revision 5
Hardware MT6516 E1K
Revision 659e8b01
Serial 0000000000000000
Frequency Stats (time):

Screen
Resolution: 320 x 480
Refresh Rate: 0.001
X factor for DIP: 1.0
Density: 160 dpi
Pixel per inch X: 159.37254 dpi Y: 160.42105 dpi

OpenGL
OpenGL Version supported : 1.1
OpenGL Version supported : OpenGL ES-CM 1.0
Vendor : Android
Renderer : Android PixelFlinger 1.3
Extensions :
GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_point_size_array GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap

Sensors
AMI304 Orientation sensor: 0.25 mA by Aichi Steel
AMI304 3-axis Magnetic Field sensor: 0.25 mA by Aichi Steel
MT6516 3-axis Accelerometer: 0.13 mA by The Android Open Source Project
CM3623 Proximity Sensor: 0.13 mA by Capella
CM3623 Light Sensor: 0.13 mA by Capella

Environment
Root Directory: /system
Data Directory: /data
Download Cache Directory: /cache
External Storage State: mounted
External Storage Directory: /mnt/sdcard

Medias Directories
Alarms: /mnt/sdcard/Alarms
DCIM: /mnt/sdcard/DCIM
Downloads: /mnt/sdcard/Download
Movies: /mnt/sdcard/Movies
Music: /mnt/sdcard/Music
Notifications: /mnt/sdcard/Notifications
Pictures: /mnt/sdcard/Pictures
Podcasts: /mnt/sdcard/Podcasts
Ringtones: /mnt/sdcard/Ringtones

Features
android.hardware.location.network
android.hardware.wifi
android.hardware.telephony
android.hardware.location
android.hardware.touchscreen.multitouch
android.hardware.sensor.compass
android.hardware.camera
android.hardware.bluetooth
android.hardware.sensor.proximity
android.hardware.microphone
android.hardware.sensor.light
android.hardware.location.gps
android.hardware.telephony.gsm
android.software.live_wallpaper
android.hardware.sensor.accelerometer
android.hardware.touchscreen
android.hardware.camera.flash
glEsVers=1.1
Title: Re: XTYPE Demo for android (2d spaceshooter)
Post by: Wampus on 2011-Nov-18
Getting 40FPS on high settings with the Galaxy II.