BASIC

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MrPlow

Pages: [1] 2 3 ... 15
1
GLBasic - en / Android Stuck Wake Lock
« on: 2019-Feb-12 »
Hi Guys

This might be usual info for some of you...
I was investigating the wakelocks for some of my busier apps - in the region of 2 - 3% of sessions have stuck wakelocks - Google bad behaviour allows for 0.10% so it's a problem and Google said it would affect store visibility if not addressed.

The main tag that seems to be the culprit is Audiomix (so sound and music) - possibly related to users switching jumping in and out of apps or due to adverts.

In order to try and fix this I modified some of the SDL Java file slightly...to perform a release of sound resources before native pause - and so far, it seems to be reducing my wakelocks!! Yay!!

My test app was 2.10% wakelock and is now down to 1.49% and that is with only a small portion of the total installs on the new version...If it gets down even further I will let you know.

Code: Text [Select]
 public void surfaceDestroyed(SurfaceHolder holder) {
        Log.i("glbasic", "surfaceDestroyed()");
                if (SDLActivity.usePauseCall==true)
                        SDLActivity.glbasicOnPause(1); // 1=pause
        if (!SDLActivity.mIsPaused) {
            SDLActivity.mIsPaused = true;
                         SDLActivity.androidAudio.pauseMusic(); // gp
                        SDLActivity.androidAudio.release(); // gp - releasing sound resources
                        SDLActivity.nativePause(); // SDL2 - moved down in sequence
           
                }
        enableSensor(Sensor.TYPE_ACCELEROMETER, false);
    }

2
Off Topic / New Vectrex Game - Vector Patrol
« on: 2019-Jan-23 »
Check out this fab looking Moon Patrol!
<a href="http://www.youtube.com/watch?v=0XFHNw0akaI" target="_blank">http://www.youtube.com/watch?v=0XFHNw0akaI</a>

3
Announcements / new book
« on: 2018-Dec-04 »
Hi guys

Trying to finish my new book in time before xmas...
http://gazzapper.com/games/the-micro-kids-a-new-book-about-micro-computing-in-the-80s/


4
Off Topic / Could be nonsense?
« on: 2018-Nov-04 »
My brother invited me to this and while not sure about how it will supposedly make money and such I saw no harm just signing up with my email - I mean - I give my email to 100s of sites a year so whats one more!

Its supposedly like crypto but my brother thinks its gonna make him money :) - bless him!

Anyhow if u want there are 4 slots left - then you get your own slots to invite - I am curious about this as a method or experiment for exponential growth...

https://initiativeq.com/invite/H4Qev8chQ


5
GLBasic - en / Android query
« on: 2018-Oct-12 »
Hi Guys

I have a couple of apps that are reporting Background Partial Stuck Wake Locks for 3% of sessions of late.
It doesn't sound a lot but Google guidelines are to aim for less than <1%

one culprit is Audiomix and the Android os version involved is 8.0+ but wondering if anyone else fixed this issue in the past?
In the meantime I will try to find the cause before the novemeber update deadline.


6
Announcements / Zen Blocks on Steam
« on: 2018-Sep-30 »
I am hoping my little game will be sleeper and will get some xmas downloads :)

So far people like it, and got a couple of reviews but because they were given free copies the reviews don't show on the stats :(

<a href="http://www.youtube.com/watch?v=E_zMp7QA5e4" target="_blank">http://www.youtube.com/watch?v=E_zMp7QA5e4</a>

<a href="http://www.youtube.com/watch?v=P-g22wHEzm0" target="_blank">http://www.youtube.com/watch?v=P-g22wHEzm0</a>

https://store.steampowered.com/app/733020/Zen_Blocks/

I anyone GLB users wants to try it - I would rather send you paypal and re-imburse u instead giving free keys :)
That way any review u do will count :)

7
Hi Guys

Wondering if a couple of you could install and test that the turtle performs as it should.
Getting a few 1 stars from people saying Turtle wont accept commands...but it works for me just fine.

https://play.google.com/store/apps/details?id=com.gazzappergames.simpleturtle.logo.educational

Appreciate the feedback - thanks!

8
Hi Guys

SF and Gernot - any update on a possible API 26+ SDK / Android studio workaround or fix for submitting to the playstore?

Thanks! :)  :help:

9
GLBasic - en / Polyvector query
« on: 2018-Jun-28 »
Hi Guys

I am using polyvector as a replacement for Stretchsprite but having an issue  with the border image getting cut off from the left side.

using this..were shx is a shift offset from the left.

ssxmod and ssymod are my scaled down width and height.

basex and basey are my 960 and 600 createscreen sprite dims

Code: GLBasic [Select]
          STARTPOLY 99
                                POLYVECTOR 0+shx,0+shy,0+shx,0+shy,0xffffff
                                POLYVECTOR 0+shx,0+ssymod+shy,0+shx,basey,0xffffff
                                POLYVECTOR 0+ssxmod+shx,0+ssymod+shy,basex,basey,0xffffff
                                POLYVECTOR 0+ssxmod+shx,0+shy,basex,0+shy,0xffffff
                          ENDPOLY

but as long as shx = 0 or not added then the image is shown in full...anyone know if I am missing something here ... perhaps I did not use the

Code: GLBasic [Select]
         
shx = 0
shy = 0
STARTPOLY 99
                                POLYVECTOR 0+shx,0+shy,0+shx,0+shy,0xffffff
                                POLYVECTOR 0+shx,0+ssymod+shy,0+shx,basey,0xffffff
                                POLYVECTOR 0+ssxmod+shx,0+ssymod+shy,basex,basey,0xffffff
                                POLYVECTOR 0+ssxmod+shx,0+shy,basex,0+shy,0xffffff
                          ENDPOLY

10
GLBasic - en / GameInput
« on: 2018-Jun-15 »
Hi
Does anyone have a newest version of the Gameinput files and example snippet of use...
Also if there is a corresponding gameinput.java file?

Thks!

11
GLBasic - en / inApp issues
« on: 2018-Jun-10 »
Hi

Anyone know of a method for verifying the inapp purchase without using inAvailable() function?

My isAvailable is just returning the same value regardless of purchase!

IsAvailable() = fetches value but it always the same
Activate() = works are normal and allow purchase

I am trying out using the inapp_purchase$ string value as the means to record a hidden text file to validate the purchase if the text file is detected...my assumption is that the inapp_purchase$ string is populated after a successful purchase transaction and then I create the file.

Unless anyone can think of a better way to fix this issue - the app was initially in Beta so that might be the cause of the breaking of inAvailable value return.

Thanks

12
Announcements / Asteroids Vector Game
« on: 2018-Jun-07 »
Just published to production only yesterday...
Hope you guys like my Vector screen emulation :)

https://play.google.com/store/apps/details?id=com.gazzapper.asteroids.vector.shooter

If you can please leave a little review or rating :)


13
GLBasic - en / API targetsdk
« on: 2018-Jun-01 »
Hi Guys

Gernot advised me to just change the target api value from 22 to 26 in line with new playstore requirements...
I Googled around and lots of other frameworks are using the same approach until they can get proper fixes in place.

On change for one app I immediately got lots of unsatified link errors...perhaps one of you had issues with this before and know a fix...

  at java.lang.Runtime.loadLibrary0 (Runtime.java:977)
  at java.lang.System.loadLibrary (System.java:1530)
  at org.libsdl.app.SDLActivity.<clinit> (SDLActivity.java:235)
  at java.lang.Class.newInstance (Native Method)
  at android.app.Instrumentation.newActivity (Instrumentation.java:1079)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2616)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2785)
  at android.app.ActivityThread.-wrap12 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1532)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:163)
  at android.app.ActivityThread.main (ActivityThread.java:6342)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:880)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:770)


Offending line in SDLacitivty seems to be....

        System.loadLibrary("main");


14
Beta Tests / New App for Early access testing
« on: 2018-May-31 »
Hi Guys!

My latest retro app for beta testing - after seeing / playing the original I was delighted with the vector screen and it got me thinking how I could emulate the effect.

I hope my version has that vector display feel to it...
For Best results make sure phone or tablet brightness is not dimmed.

https://play.google.com/store/apps/details?id=com.gazzapper.asteroids.vector.shooter

still to add enemy ships and some other features....

15
Announcements / Fun snake
« on: 2018-May-15 »
I wanted to see if I could build and launch a small Snake game in a day.
Done in Pico-8 style (same limits)

Done.

https://play.google.com/store/apps/details?id=com.gazzapper.pico.snake.retro

By no means perfect - but the Snake versus Snake feature works well and is quite addictive.


Pages: [1] 2 3 ... 15