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

#41
Announcements / Book
2019-Nov-08
Hi Guys

For any of you that like to read! *prepare for shameless plug*

My book is available on all the best online bookstores :) And is a popular Gift Item in the Game Programming categories...

https://www.amazon.co.uk/Micro-Kids-Adventure-Spectrum-Commodore/dp/0993474462/

Aimed at those who grew up with Micros...




#42
Bug Reports / Netwebget$
2019-Oct-31
For those that might experience this issue in v16

I notice strange block chars appearing in my highscore tables at the start and end of a netwebget$.
It must be unicode issue or something...

Below is my fix for the issue..

Code (glbasic) Select

scoretable$=NETWEBGET$("www.domain.com","/scoresxxxxxx.php",80,512,4000)

// cleanup string
LOCAL mstr$
FOR x = 1 TO LEN(scoretable$)
mstr$=MID$(scoretable$,x,1)
  IF ASC(mstr$)<32 OR ASC(mstr$)>96
      IF mstr$="|" THEN newscore$=newscore$+mstr$
  ELSE
      newscore$=newscore$+mstr$
  ENDIF
NEXT




#43
I get this when I compile:

!!! EnableMouseInPointer() not found in user32.dll. If this is >=Win8, you get no mouse messages.

Is there a simple fix for this?
#44
Hi

Is there a simple way to copy styles from GLB vX to GLB v16.?

#45
Hi

Just wondering if anyone has tried the android studio update to build 32/64 versions of GLB apps for mobile?

Can't seem to find any docs on it - how to start / steps involved / etc.
#46
Hi Guys

Looking for one that works without needing seedrnd?

Thks!
#47
I know I am using an older versions of the GLB at the moment - I need to for my android apps (for now)
But my issue is that SEEDRND seems to be broken on it.

Is that the case or is there a workaround for it?

both version generate completely differently results for a seed.
Is it possible I am placing it in the wrong position in the code - does that factor into it?

#48
Hi Guys,

For anyone that ready any of my books, I am looking for reviews on goodreads - they don't require anything other than reviewers are goodreads members. If you add to the shelf-tag of "Video Games" - that would be a bonus.

https://www.goodreads.com/book/show/43468726-the-micro-kids?ac=1&from_search=true
https://www.goodreads.com/book/show/28242414-zx-spectrum-games-code-club?ac=1&from_search=true

:)
#49
GLBasic - en / IDE question
2019-Jul-05
Does anyone know how to disable the 'clean project' icon?
I just clicked on it and undid tons of custom changes for me...

Luckily I had a backup but I want to avoid doing this again...

I have managed remove dy disabling the 'toolbar' panel - but ideally I just want the 'cleanup' icon removed.
#50
GLBasic - en / A bit rusty!
2019-Jul-05
Hi Guys

I am having problems getting shift+wasd keys working to detect if shift was depressed...It must be something painfully simple that i am doing wrong....

my code looks like so

keyLeft =key(30)
keyshift = key(42)

if keyleft and keyshift then do something

#51
Hi Guys

Anyone know why this is appearing...what could cause it?
The app in question was compiling fine recently.

-setup:
     [echo] Project Name: glbasic
  [gettype] [Fatal Error] :39:1: Content is not allowed in trailing section.

BUILD FAILED
C:\GLBasic_v123\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:407: org.xml.sax.SAXParseException; lineNumber: 39; columnNumber: 1; Content is not allowed in trailing section.

#52
Hi Guys
On older compiling platforms which is for MacOS Desktop? OSXuni or OSXx86?

I need to know for a steam update
Thanks!
#53
Colour version of Asteroids
Some custom particle effects etc.

:)

Planning to add extra gameplay features...



https://play.google.com/store/apps/details?id=com.gazzapper.asteroids.spaceshooter
#54
Hi

Just wondering if anyone has a solution for setting the fullscreen on GLB
So if a fullscreen fails then the screen window stretches to the desktop width and height...
tried with setscreen but not working for me.
#55
Hi Guys!

Some free codes.
Two US Audible codes for my new audiobook!

http://www.audible.com/acx-promo

HX673GECB4ZN2
N4SYJFCGLE4MY

Plus 1 UK Code (use http://www.audible.co.uk/acx-promo)
S846PWYCSMDNE

Anyone else can get a FREE copy via the Free Trial or their Audible Credits
http://bit.ly/themicrokids (UK)
http://bit.ly/microkidsbook (USA)

#56
GLBasic - en / Inline C++
2019-May-09
I must be doing something wrong but my tries at using past examples of C++ inline code is not working...
is the way I am doing it?

Getting errors like so...
"C:/../..Printtest/stdio.h:39:24: no include path in which to search for stdio.h
C:\Users\..\..\Local\Temp\glbasic\gpc_temp0.cpp:101: error: expected constructor, destructor, or type conversion before ';' "

Code (glbasic) Select

GOSUB main

SUB main:
INLINE
}
#include <stdio.h>

namespace __GLBASIC__{
ENDINLINE

printf1()

PRINT "HELLO",100,100
SHOWSCREEN
KEYWAIT
ENDSUB




FUNCTION printf1:
INLINE

   char z[100] = "I am learning C programming language.";

   printf("%s", z);

   RETURN 0;


ENDINLINE


ENDFUNCTION
#57
I am looking to find the best way to have multicoloured fonts (programmically) in GLB without the need for multiple bitmap fonts.

My own idea is create the font like 8-bit character set or UDGs and re-colour as needed.

Anyone else try this or have an idea or tricks up-their-sleeves of how to go about?

#58
Announcements / Android beta
2019-Apr-24
Little game idea I am working on ....

Apologies in advance as I forgot to enable the quit menu etc.  :D

GOLDBRINGER
https://play.google.com/store/apps/details?id=com.gazzappergames.goldbringer.spacegame

Suggestions for gameplay additions welcome :)
#59
Off Topic / Article
2019-Mar-29
Hey guys - I wrote another article yesterday about "my first steam project" on Medium and it's been put on front page of Design and Gaming categories...
:)

https://medium.com/topic/gaming
#60
Guys

Anyone have any good tricks to force a windowed "landscape" game to go fullscreen?
I currently only get it working on 1366 x 768 and some others but want to get it working on larger screens too