Recent Posts

Pages: [1] 2 3 ... 10
GLBasic - de / Re: Laufwerke
« Last post by D2O on Today at 09:06 am »

Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

Bug Reports / Re: SHOEBOX does not work on ANDROID
« Last post by spacefractal on Today at 08:44 am »
This is due file copy issue on Android. ALL files from the APK files require to been copy to the internal memory, before its can been used.

What you can try to do is do a DOESFILEEXISTS() before any file checking. That command make sure the file got extracted from the APK file to internal memory before uses.

Also a file copy from Android APK to internal is required for ALL files when used on Android. This is just a bit crappy design, but nothing im can do. So Shoebox can been fiffly on Android. Sorry about it.

So this is a issue im will not fix.
Im have in this morning removed all AndroidTV scaling code, so its dont interfere normal devices, actuelly forced 720p is only happens on Ouya and GameStick. Android 5 devices TV is normally quite much faster than Android 4 consoles anyway.

Im have updated the Android update thread in the top. here only the java file is requried update. Howover its wont fix the issue in the bottom about system buttons, as im wrote due system.

Howover im will not support the Immersive Android 4.4, you need to have the system buttons, which is also pretty normal way.

Make sure to make a proper use of the back button eventuelly.
This topic has been moved to Bug Reports.

This is really more a bug. so moved to there.
GLBasic - de / Re: Valentines Destroyer
« Last post by WPShadow on Today at 08:02 am »
at the moment you only can upgrade the "time" of the wizard spawns.

If you change the heroTimerAdd from

heroTimerAdd = 5000


heroTimerAdd = 50

then you can finish the game in arround 1 minute.

It was only a small project without a good idea!  :D
Bug Reports / Re: ANDROID - Immersive full screen question
« Last post by spacefractal on Today at 12:32 am »
Ahhh,  I'm know why that happens. Actuelly it's a confirmed bug.

That Java file Should fix it, but not in 100% correct way around android TV/ouya scaling stuff, which got kicked in and Should skip it when it's in portrait mode, which its did not. But the Java thing it howover no more forced anyway in above file, except when a string in string.xml is set.

 It's a stupid bug really. Nice spotted. I'm do a better fix later (even I'm stopped android support, except thing like this).
Bug Reports / Re: ANDROID - Immersive full screen question
« Last post by spacefractal on Today at 12:15 am »
Can you try this Java file?

Its proprety some Android TV that kick in and you using fullhd in a portrait mode, which im have set a default max. Mousestate should have works anyway, but might have failed with the mousestate, which im should checkout here. but anyway its now not forced anymore. Only when contain string is set in strings.xml.

Make sure to overwrite that one that is inside glbasic android folder (search after that in the glbasic folder). Not in your app distrubtion folder. Glbasic will overwrite (unlike the manifest file).
Bug Reports / Re: ANDROID - Immersive full screen question
« Last post by adaz on Yesterday at 11:56 pm »
Spacefractal, you're very kind by helping me in this!

1. I used portrait, but now I tried it with sensorPortrait, no luck.

2. X does nothing wrong, it's OK.

3. Logcat output:

Code: GLBasic [Select]
Android Debug Bridge version 1.0.32
List of devices attached
7EX7N17803000238        device

int logctl_get(): open '/dev/hwlog_switch' fail -1, 13. Permission denied

Note: log switch off, only log_main and log_events will have logs!
--------- beginning of main
02-18 23:48:51.888 30161 30161 I glbasic : OnResume()
02-18 23:48:51.889 30161 30161 I glbasic : OnResume() end
02-18 23:48:51.903 30161 30161 I glbasic : surfaceCreated()
02-18 23:48:51.907 30161 30161 I glbasic : surfaceChanged()
02-18 23:48:51.907 30161 30161 I SDL     : pixel format RGB_565
02-18 23:48:51.907 30161 30161 I glbasic : Window size:929x1560
02-18 23:48:51.907 30161 30161 I glbasic : startApp, resume
02-18 23:48:51.907 30161 30161 I glbasic : startApp, resume 1
02-18 23:48:51.907 30161 30161 I glbasic : startApp, resume 4
02-18 23:48:51.907 30161 30200 I SDL     : ceateGLContext
02-18 23:48:51.907 30161 30161 I glbasic : hint screensize to glb
02-18 23:48:51.907 30161 30161 I glbasic : glb_notify_screen_size 929x1560
02-18 23:48:52.409 30161 30200 I glbasic : pause loop ended
02-18 23:49:04.560 30161 30161 I glbasic : OnPause()
02-18 23:49:04.574 30161 30200 I glbasic : pause loop in showscreen/hibernate
02-18 23:49:04.609 30161 30161 I glbasic : surfaceDestroyed()

4. Yes, I do. I removed the old one, and downloaded from the link you provided. (How can I check its version? In the chm file it says 2.8.)
I don't know what is SDL resolution. The phone reports 929x1560 every time.

Thank you!

EDIT: I read your inserted lines later. So after I commented out these lines, something happened: the lines are WAY FAR from my fingers now. The top left is OK, but when I approach the bottom left, they reach the screen edges much sooner than before.
Bug Reports / Re: ANDROID - Immersive full screen question
« Last post by spacefractal on Yesterday at 10:42 pm »
1. do you use sensorLandscape or sensorPortrait in manifest (not set to any orientation or such, which might fail too)? dont use other values than one of the two.

2. Does X also the same (your code only show Y, but what does X)?

3. Also can you give me the Logcat output? (can been called from _Logview.bat). This logout various info on startup.

4. do you use Android Extras 3.01.2?

if you in LOGCAT can see Screen Resolution is different than SDL resolution, its could been that issue. This was more designed for Android TV and not on a device.

Then you can try to comment those two Java lines out in around line 1885 (its in onTouch() function):
         if (SDLActivity.mSingleton.ViewWidth!=0) x=x/SDLActivity.mSingleton.ViewWidth;
         if (SDLActivity.mSingleton.ViewHeight!=0) y=y/SDLActivity.mSingleton.ViewHeight;

That why im want to checkout the Logcat to information what its does in the startup.....

please note:
Android 4.x system will also only report the screen resolution in the screen area you can use for your app. THIS IS BY DESIGN. Immersive fullscreen in Android 4.4 is not supported by glbasic, nor its ever do. But fullscreen from Android 5 is howover supported.

PS. Yes even im did stopped Android support, then im might eventuelly fix SDLActivity issues like this. But new features and SDK updates wont been happens for supports new Android features.
GLBasic - de / Re: Laufwerke
« Last post by Worebu on Yesterday at 09:40 pm »
genau das war's. Ich hatte die Originaldateien von den Grafiken und Sounds in einem Unterordner von "Media" und GLB
hat den ganzen Media Ordner ins Projekt Compiliert nicht nur die benutzten Files (wie dachte). Meine Kopien raus genommen
und weg ist der Müll. Also merken: nur benutzte Files in den Media Ordner. Dank Dir und eine schöne Arbeitswoche  :whip:
Pages: [1] 2 3 ... 10