Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / splash screen

Author
Message
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 30th Mar 2013 14:19
is agk not loading splash screens in 108 v8, tier 1, basic, image name "AGKSplash.png" ? because none of my splash screens work any more when they used to

kirtnicholls
Tone Dialer
Valued Member
18
Years of Service
User Offline
Joined: 17th Oct 2005
Location: England, well a town in it !
Posted: 30th Mar 2013 14:52 Edited at: 30th Mar 2013 14:55
@ kirtn14

Update to V108 v9, the features text says this bug is fixed.



I hope this helps...

kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 2nd Apr 2013 13:25
sadly it doesnt work still

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 2nd Apr 2013 15:02
kirtn14, these might be dumb questions, but what platform are you not seeing the splash screen on?

And, what directory is it in for that/those platform/platforms?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 2nd Apr 2013 19:55
v108 beta 9

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 2nd Apr 2013 20:34
That wasn't the question I meant.

I mean, are you seeing this in Windows or on an Android or iOS device? And if on a device, are you using the Player (which version) or running directly on the device?

And, again, what directory do you have AGKSplash.png in?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 2nd Apr 2013 23:29
Windows, when made into an apk and put onto a device the splash screen shows up sometimes but only very small and in one corner leaving a big gap. Its in the media file in the protect folder

kirtnicholls
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 2nd Apr 2013 23:52
Quote: "Its in the media file in the protect folder"


The splash screen on Android will only work when placed directly in the assets folder. Also the splash screen will not appear when broadcast to the AppGameKit player, only when built into an APK.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 3rd Apr 2013 03:32
Yup, what Paul said.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 4th Apr 2013 13:59
ahhh, the issue with the spalsh screen is it will only fill the screen when i hold the device in the landscape position if i dont it will come up very small and odd shaped

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Apr 2013 16:45
With iOS, you can provide start up images for all orientations and it will show the correct one.

With Android, it only has the AGKSplash screen and it displays before you do any setup code to force landscape mode. So, if your AGKSplash is a landscape image, it will not display correctly if the device is in portrait mode when you start up.

That is why I gave up trying to use the default splash screen for the Android version of my app. I just have to live with a blank screen for a few seconds.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 9th Apr 2013 00:35
ok thanks

kirtnicholls
Impetus73
12
Years of Service
User Offline
Joined: 28th Aug 2011
Location: Volda, Norway
Posted: 13th Apr 2013 22:55
I remember having to call sync() twice to get my initial screen t show.

----------------
AGK programmer
Did Amiga / AMOS programming in the 90's.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 13th Apr 2013 23:53
Sync() calls don't make the default AGKSplash.png display. That image is handled by the initialization stuff in AGK.

I can get my own splash in the correct orientation displayed once the app gets past the AppGameKit stuff and starts the app::Loop() method (Tier 2) or the first couple of lines of code (Tier 1).

On Android the app assumes portrait mode. I might look into the core Android files and see if there is a way to force it to landscape at the very start.

On Apple, setting the correct stuff in the Xcode project .plist file will force the app to start in the correct orientation. You can also make it appear to be in landscape by creating the default-portrait.png file originally as landscape and then rotate it one way or the other so that it looks like it is in portrait. I've attached an image (my WIP, which is very close to done) as an example.

And I'm not sure I've made the test of AGKSplash.png 'looking' landscape but being portrait. But I suspect it will be an issue either way.

Apple allows files for all orientations as the default images, so it will always show the correct one on startup (before the AppGameKit app code kicks in).

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-05-04 13:49:56
Your offset time is: 2024-05-04 13:49:56