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 / [SOLVED] Having severe performance issues only on HTML5 build?

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 5th Nov 2019 21:52 Edited at: 6th Nov 2019 09:29
FIXED!

Current HTML5 Version With Persistent Data Saving Is Live On Below Webpage URL:
http://fallenangelsoftware.com/stuff/files/PixelArtist/HTML5/index.html

More To Come!

_________________________________________________________________________________________________________________
Hi,

Having severe performance issues only on HTML5 build?
(Windows/Linux desktop and Android mobile are 100% OK)

Can you look over our source code and tell us what is wrong with it?
Game is now open-source and current build was uploaded to our GitHub account.

You can see/download the entire project on GitHub below:
https://github.com/FallenAngelSoftware/AppGameKitClassic-PixelArtist3110Percent

NOTE: The above project contains preliminary support for HTML5 Internet Cookie loading/saving so it won't build on your AppGameKit.

The performance issue is when game is won and staff credits are shown.
When game is won the staff credits texts are outlined in black color.
Normal staff credits accessed via [About] button on title screen does not have performance issue.

_________________________________________________________________________________________________________________
Key Parts Of The Source Code:

(1) Staff credit text texts:
https://github.com/FallenAngelSoftware/AppGameKitClassic-PixelArtist3110Percent/blob/master/visuals.agc#L18

(2) Staff credit text creation:
https://github.com/FallenAngelSoftware/AppGameKitClassic-PixelArtist3110Percent/blob/master/screens.agc#L1114

(3) Universal create text with outline function:
https://github.com/FallenAngelSoftware/AppGameKitClassic-PixelArtist3110Percent/blob/master/visuals.agc#L213

(4) Staff scroll screen:
https://github.com/FallenAngelSoftware/AppGameKitClassic-PixelArtist3110Percent/blob/master/screens.agc#L1205

_________________________________________________________________________________________________________________


Any help you can provide would be greatly appreciated!

Thank you...

Jesse
JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Nov 2019 22:34
Have you tried;
1. Using an outline font
2. Laying out all the text and using SetViewOffset() to scroll the screen
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 5th Nov 2019 23:07
Quote: "Have you tried;
1. Using an outline font
2. Laying out all the text and using SetViewOffset() to scroll the screen"


Hi,

Thanks for the reply...

(1) "Outlined Fonts" are built into AppGameKit Classic??
Please show my some code, would make my life alot easier!

(2) "using SetViewOffset() to scroll the screen"
Will look into above!

Thanks!

Jesse
JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 6th Nov 2019 00:01
Quote: ""Outlined Fonts" are built into AppGameKit Classic??"

No. I meant choose a outline font
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 6th Nov 2019 03:16 Edited at: 6th Nov 2019 03:19
Quote: "2. Laying out all the text and using SetViewOffset() to scroll the screen"


Hi,

Would above be faster than below?:
Below uses "SetTextVisible()" - visible when only within visible screen coordinates.
Let me know, thanks!

Jesse

JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 6th Nov 2019 07:15
This post has been marked by the post author as the answer.
Hi,

Fixed now...
We used suggested: "SetViewOffset()".

Thanks!

Jesse

JeZxLee
Fallen Angel Software
Video Game Design Studio
http://www.FallenAngelSoftware.com

Login to post a reply

Server time is: 2024-11-22 10:18:54
Your offset time is: 2024-11-22 10:18:54