Recent Posts

Pages: [1] 2 3 ... 10
1
GLBasic - en / Re: Android screen orientation
« Last post by dreamerman on Yesterday at 08:44 pm »
Also use GLB_ON_LOOP and all that stuff...
For now to set landscape/portrait I was using different resolutions in project options.. something like 9999x9998 for landscape, and reversed for portrait, tested on older OS versions, all was working fine..

One thing about device ID's, how is that PLATFORMINFO$(ID) generated? Currently on those systems there is so many id generating options for apps made with standard SDK's. Recommended way to generate random guid for android is:
Code: GLBasic [Select]
String uniqueID = UUID.randomUUID().toString();
There is also Advertising ID that can be used to track ads (similar thing is on WindowsPhone). I never used Android Extras in-app purchase code, how there particular device/user is recognized?

Such 'coding guide' would be great as sometimes it's hard to track little things that can cause problems on mobile devices. Even in form of forum topics..
2
Announcements / Re: Reggie World ( Pandora , PC )
« Last post by nabz32 on Yesterday at 06:44 pm »
That the way i will do it from now on, easter then up Loading it to an external server anyways.
3
GLBasic - en / Re: Android screen orientation
« Last post by Moru on Yesterday at 12:04 pm »
That's a good idea, does anyone have time to put together a "Best practises coding guide" for Android and iOS? I think that would be incredible useful to get started with those platforms. There seems to be all sorts of edge cases that needs special treatment and a lot of compile/upload/test-cycles to get working right.

I know I would love such a guide :-)
4
GLBasic - en / Re: Android screen orientation
« Last post by spacefractal on Yesterday at 10:19 am »
The Id is a random based key, not based on hardware. You not allowed to do that on Android and iOS anymore. It's also limited on Windows. Don't use it to restrict users. It's not trusted. and If you ask me, it's should been deprecated. Sorry about that.

Keywait should not been used on Android. Use GameInput Api instead for game pad supportm

Orientation is just what how android works. Cannot do anything with it at all. Same with iOS, where orientation is set in xcode option. You only do that once anyway.

Sensor portrait can also been flipped on Tables, which is right way to do.
5
Announcements / Re: Reggie World ( Pandora , PC )
« Last post by erico on Yesterday at 06:14 am »
Yep, I still have it too. Why not upload the images to the board? That way they won´t get lost in the future in case the host disappears.
6
GLBasic - en / Re: Android screen orientation
« Last post by Paul Smith on Yesterday at 12:22 am »
Sorted, changed sensorLandscape to sensorPortrait. ( I guess the sensor bit is for the flip in Landscape mode)
It would be nice to have this option in GLB directly, rather then compiling, changing the XML file then recompiling again.

Cant wait till the next update and hope it fixes KEYWAIT
mousewait has slowdown issues on Windows and Keywait just gets ignored.

Is the PLATFORMINFO$(ID) key totally unique, Ive written a lock on my app to restrict parts from running with out a valid key.

 
7
Announcements / Re: Reggie World ( Pandora , PC )
« Last post by nabz32 on 2017-Apr-25 »
Changed the Image Host and still got the problem you mentioned, I attached the image to the post instead.

Also I made a short video of the latest version, so you can see it in motion without having to install the game.

https://youtu.be/w7R5mmv8dXg

8
Announcements / Re: Red Wizard Island
« Last post by r0ber7 on 2017-Apr-25 »
I´d sure wish to try out, but I need to finish that avocado game first. :)

Heh sounds familiar. Looks good though.
9
GLBasic - en / Re: Android screen orientation
« Last post by erico on 2017-Apr-25 »
Like Space said, it should work out of the box on landscape mode without any command...and tell you what, it works like a charm, it even auto rotates if you flip the phone.
One thing that comes to mind, consider creating a landscape resolution, like 1280x720 instead of otherwise (720x1280).

My older code had to be adapted a bit to it, but very little, just the resolution set, no hassle at all.
10
GLBasic - en / Re: Android screen orientation
« Last post by spacefractal on 2017-Apr-24 »
Don't use set orientation which is set automatic in newer android extras versions.

It's also respect was set in Androidmanifest.xml orientations as well. By default landscape only. This due possible to support example android TV and game pads.
Pages: [1] 2 3 ... 10