Menu

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.

Show posts Menu

Topics - MrPlow

#61
Off Topic / Hacker News
2019-Feb-25
Hi Guys

An article I wrote last week about 80s BASIC - and how I rediscovered it is trending as a top story on Hacker News :)

Maaad! But great!

https://news.ycombinator.com/

https://hckrnews.com/
#62
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 (html) 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);
    }
#63
Check out this fab looking Moon Patrol!
#64
Announcements / new book
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/

#65
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

#66
GLBasic - en / Android query
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.

#67
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 :(





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 :)
#68
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!
#69
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:
#70
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
#71
GLBasic - en / GameInput
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!
#72
GLBasic - en / inApp issues
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
#73
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 :)

#74
GLBasic - en / API targetsdk
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");

#75
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....
#76
Announcements / Fun snake
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.

#78
Off Topic / Revival
2018-Apr-29
Hi Guys

I am planning to go to Retro Revival in UK this May.
Any other GLB users going? If so might get to say hi!

https://www.revivalretroevents.co.uk/
#79
Announcements / New Galaxia
2018-Apr-25
Hi Guys

I wanted to do an classic version of my galaxia game hope you like it - please play and review if you have the time :)

https://play.google.com/store/apps/details?id=com.gazzapper.galaxia.invader.shooter

Improved diving and increase attack flow rate over time.
#80
Hi Gernot,

Just wanted to ask if GLB in theory is capable of working with the newer APIs for Android?

From Aug 2018 onwards Google requires minimum target API level that 5 levels below the current release (API-28 today).
So if nothing changes then API-23 is the minimum until the next release.

Do you think that is going to be okay or will this near future update ruin Android app building on GLB?

I'm sure other frameworks are facing the same issues with this new Android requirement.