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

#81
Anyone got any good solutions to avoid this for fast paced games on Android?

Basically I monitor the pause state and if paused I tend to only draw a basic pause screen.

Is anyone doing anything different?

Code (glbasic) Select

IF app_pause=0

updatestuff()
drawstuff()

ELSE

drawpausescreen()

ENDIF


myshowscreen()


SUB GLB_ON_PAUSE:
app_pause = 1

music.pause()
IF ISMUSICPLAYING()=TRUE THEN STOPMUSIC

ENDFUNCTION
#82
HI Guys

Does anyone know of a working way to get Social FB sharing to work on Android for GLB?
#83
Reduced majority of crashing issues for one of my problem apps!

The app was reported to be crashing 8% of sesssions on Android.

Now it is less than 1% - I wasn't even sure to trust the Google stats as no users are reporting crashes or giving bad reviews due to crashes but anyhow even if the stats are only improved it all helps!

The issue might be done to a few things but the biggest change I did was removing the Virtual Keyboard in AE.
Instead I coded my own high score capture for the name. Others have said there are a few bugs in VKeyboard such as it shows your android menu panel after 1st use etc.

Removing (not using) this I suspect fixed a great deal of the crashing issues.

Just thought I would share with other Android devs on here.



#84
My new shooter title...tried to capture what invaders might have been like if done on color Vector Screen before rasters took over.

https://goo.gl/bAotMG


#85
Guys

Would like to invite you to play and rate my Pachinko type app

Its fun and addictive....:)  :S


https://play.google.com/store/apps/details?id=com.gazzappergames.gazinko.pachinko

#86
Off Topic / Coins
2018-Jan-04
Guys
Lots of press about Crypto lately...If you not looking at it already I would suggest you do before its too late...
Its a gamble so only play (invest) with what you can afford to lose - its like an addictive new 'game' for some...
#87
GLBasic - en / Admob version
2017-Dec-28
AE with Admob

Can Spacefractal or someone else tell me what version of Admob was used in older AE 2.9 etc.?

Google announced stopping ads for certain versions soon -  Jan 23rd.
#88
Hi Guys

Is it a good or bad thing to use AUTOPAUSE in PC game?

Should I just leave the game in a running state or pause it if the user switches windows?

#89
Hi Guys!

After a few delays it looks like I should be able to stick to 5th Dec for the release of my game....created with GLB!

https://goo.gl/r6tgq4

Please check it out :)

Christmas is coming!
#90
GLBasic - en / Detect win
2017-Nov-20
Hi
I know how to detect for WIN32 but what about 64 bit - should DEFINED(WIN64) ?

Anyone know if that works?
#91
Hi Guys

What is the best location for saving game files for Steam game so that updates will not overwrite the old files?

Do I use the Media folder, documents or other?

Ta
#92
Hi

Say I have a windows portrait game and I want to put the portrait game within the window of a landscape backdrop.

Is that easy or possible with createscreen or viewports?

Has anyone done this?
#93
Never seen this before but one of my apps is getting large % crashes....

native: pc 000000000005c8dc  /data/app/com.gazzappergames.centiplode.centipedeshooter-1/lib/arm/libmain.so (_ZNK5QueueIN7DXInput8MousePosEE4SizeEv+20)
  native: pc 000000000005bc58  /data/app/com.gazzappergames.centiplode.centipedeshooter-1/lib/arm/libmain.so (_ZN7DXInput14RefreshMouseXYEv+72)

All related to touch issues....the controls are drag and I have limited the mousecounts....but it must be something else.
Anyone got any bright ideas on this one?
#94
Hi Guys

Can anyone tell me what i have dont wrong in this function...
or did I stumble on a bug?


The prizes array is always the same size.

Code (glbasic) Select
FUNCTION savecoin:co%
LOCAL test$ //= GETCURRENTDIR$()+"Media/data/scr.txt"
test$ = PLATFORMINFO$("APPDATA") + "/g34222-g.dat"
LOCAL vv% = 0
LOCAL ok=TRUE

ok=OPENFILE(1,test$,FALSE)
IF ok=TRUE

WRITELINE 1,ENCRYPT$("mystuff",co%)

FOREACH pp IN prizes[]
vv% = pp.frm
WRITELINE 1,ENCRYPT$("mystuff",vv%)
DEBUG vv
NEXT

CLOSEFILE 1
ENDIF


ENDFUNCTION


FUNCTION loadcoin:

LOCAL test$ //= GETCURRENTDIR$()+"Media/data/scr.txt"
test$ = PLATFORMINFO$("APPDATA") + "/g34222-g.dat"

LOCAL hsc$ = ""
LOCAL ok
LOCAL line$=""
LOCAL pz$=""
LOCAL pz=0

//KILLFILE PLATFORMINFO$("APPDATA") + "/g34222-g.dat"

ok= OPENFILE(1, test$, TRUE)
//KILLFILE PLATFORMINFO$("APPDATA") + "/g34222-g.dat"

IF ok=TRUE
READLINE 1,line$
hsc$ = DECRYPT$("mystuff",line$)
IF hsc$ <> "" THEN RETURN hsc$

FOREACH pp IN prizes[]

READLINE 1,pz$
pz$ = DECRYPT$("mystuff",pz$)
DEBUG pz$
pz=pz$
pp.frm=pz
NEXT

CLOSEFILE 1
ENDIF



ENDFUNCTION



Basically the writing seems to work fine but the read version does not.
#95
Gazinko

Casual clicker style pinball-type
Click the score panel to release balls

Now sure about whether to keep the cutesy balls or go minimalist with just clean circles?
(edit: I have since removed the cute faces and gone with flat circle balls...makes for less distraction while playing)


Still to come...
- Aimed at mobile
- Extra bonus scoring rules
- Special table items
- Possible in-app purchase




BTW - Guys,
I think beta section should be like the Bonus section - hidden from public.
#98
Hey guys

I am having a bit of brain freeze trying to get a Createscreen to clear for virtual screen sprite USESCREEN 1
I try to clearscreen it and drawrect to blank it but nothing works?

This is bound to be something really easy.
#99
Off Topic / Map Editor
2017-Aug-29
Hi Guys

One of you might be able to help me..
I am looking for a program called TMEditor by Robert Jaralova (i think)
Its a map editor for use with games similar to Lords of Midnight.

I had a copy couple of year back but cant find it now.

Perhaps one of you tried it in the past...?
the site it was on is now gone.

#100
GLBasic - en / Android AE
2017-Aug-25
Is there an easy way to fix the issue that after virtual keyboard appears the bottom android back options are showing?
I want to re-hide them?

Would adding Android.EnableBackButton(FALSE) after VKeyboard work?