TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Tips for framerate ? [Fixed]
Pages:
1
2
3
...
6
Tips for framerate ? [Fixed]
airman4
Posts: 875
January 02, 2017, 06:55:01 am
I found something and i think it's nothing new but i'd share here
I have some problem issues on my pc trying my new game and tried many thing to make the framerate good 50/60 fps
I managed to do it by reducing apparently the number of LAYERS and BACKGROUND LAYERS
I never read that could be a framerate killer but apparently it is for me
Or maybe i'm mistaken ?
WHat do you guys think about it
(and happy new year 2017 by the way )
Your games who are fluid have how many layers generally , i reduced to 19/20 ones
« Last Edit: January 13, 2017, 11:16:14 am by airman4 »
http://www.hermannkayode.com/
LIBERADO
Posts: 2720
January 02, 2017, 12:35:01 pm
Optimizing Performance 1:
http://www.stencyl.com/help/view/optimize-game-performance/
Optimizing Performance 2:
http://www.stencyl.com/help/view/optimize-actor-performance/
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
airman4
Posts: 875
January 02, 2017, 12:56:52 pm
I know those and tried some techniques
But removing background layers and regulars layers seems more helping in my game
http://www.hermannkayode.com/
Bombini
Posts: 1401
January 02, 2017, 11:54:30 pm
I had perfoemance issues with bigger (bigger then screen) moving background layers. I replaced them with moving actors and that solved it. But i cannot give you further advice or say if that changed (was atleast 1 year ago).
Cheers!
airman4
Posts: 875
January 03, 2017, 04:09:52 am
I see
My game is 1000*450 pixels , so it's kind of big
Before it was 1280*720 and it was kind of unplayable , now it seems constantly fluid and playable (way more than before )
I have removed as much background i can and i remove as much layers i can too
http://www.hermannkayode.com/
squeeb
Posts: 1617
January 04, 2017, 10:11:33 am
anyone else get lower frame rates with flash player.. and higher frame rates in the flash browser?
Like my page
https://www.facebook.com/FirstPassProductions/
Check out my apps and games, more to come
https://play.google.com/store/apps/developer?id=First+Pass+Productions&hl=en
airman4
Posts: 875
January 04, 2017, 10:24:01 am
Kinda yeah
On flash player , it's a slideshow actually , it's like 3 fps
On browser it's a bit fluid for me , like 20 fps , i still can't reach 60 or 50 actually (i was mistaken )
Removing background kinda helps for me now , but still janky and 20 fps like
I keep testing
http://www.hermannkayode.com/
SomeT
Posts: 143
January 04, 2017, 10:29:07 am
You could try optimising at code level in haxe maybe?
airman4
Posts: 875
January 04, 2017, 10:34:58 am
I dont know how to do this ? Any link , plz ?
http://www.hermannkayode.com/
merrak
Posts: 2738
January 04, 2017, 11:58:22 am
Are you sure the bottleneck is in rendering and not in updates or collisions? How many layers do you still have?
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
airman4
Posts: 875
January 04, 2017, 12:05:47 pm
Edit
I just noticed something totally crazy
I spoke here and tried to look for Haxe infos , i didnt found and put the pc where i work my game on Hold , like i closed the Laptop
The game was running at like 20 fps , so i closed up the laptop
I did something else , and later after a 10 mn opened up again to try something
The game was running cause i just closened up and opened the laptop
THE GAME WAS RUNNING AT 60 FPS for like 2 MN O_O
And after something happened and the lag came back
I will do an export to see if people have 60 fps constant
I used google chrome
My computer is virus infected ? did you got this ? What is the cure for that
The game obviously can run 60 fps cause the drop wasnt initiated by something ingame i think
It looked like something external is playing backwards in my comp and kill performance
http://www.hermannkayode.com/
airman4
Posts: 875
January 04, 2017, 12:09:23 pm
Merrak
I dont know about hxScout
I'm checking it right now
http://www.hermannkayode.com/
airman4
Posts: 875
January 04, 2017, 01:36:28 pm
here is the video when i re-open the laptop , before lagg jumps in
Watch entire video PLEASE and check the fps monitor
https://www.youtube.com/watch?v=q4Xnit1bC7M&feature=youtu.be
it dips to 40/50 but i think it's because Bandicam
cause witouth it it's 60/60
After two fluid plays at 50/60 fps , the third starts as a joke one at 10 fps WTF
I also got to windwos feature and desactivated some
I think some windows feature jump in and start dips my whole computer or something
The game is reduced to
12 layers
http://www.hermannkayode.com/
merrak
Posts: 2738
January 04, 2017, 02:25:09 pm
I noticed the frame rate goes down as memory usage goes up. My first hunch would be it's related to the large images being loaded into the scene, but it's hard to tell without looking at something like hxScout output to pinpoint where in the loading process the lag occurs.
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
airman4
Posts: 875
January 04, 2017, 02:31:07 pm
Ok , quick help how to use hxscout ?
i'll eat and try that later , i have installed on my windows 10 laptop
Should i export the swf game before using it ?
http://www.hermannkayode.com/
Pages:
1
2
3
...
6