Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Frame skip in Pygamer
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Frame skip in Pygamer

by Quaddam on Sat May 02, 2020 10:18 pm

I have created a small game following the "How to make a Platformer Game" tutorials. When I upload it to my PyGamer seems to skip a frame. I can tell because my 2 frame walk animation doesn't play on the PyGamer, and it certainly is much choppier than when I am in chrome. Any help is appreciated, link to game: https://makecode.com/_V12fC75e7Upb thnx

Quaddam
 
Posts: 4
Joined: Fri Nov 11, 2016 1:49 pm

Re: Frame skip in Pygamer

by johnpark on Mon May 04, 2020 1:45 pm

Cute game! I uploaded it to a PyGamer and am getting the same issue. I would try reducing some elements (effects, mushrooms, enemies, music, background) until it plays smoothly and then start adding them back in to see where the limits are.

johnpark
 
Posts: 764
Joined: Wed Mar 25, 2009 2:15 pm

Re: Frame skip in Pygamer

by Quaddam on Mon May 04, 2020 6:14 pm

Great! Thanks for your help, I will try that.

Quaddam
 
Posts: 4
Joined: Fri Nov 11, 2016 1:49 pm

Re: Frame skip in Pygamer

by Quaddam on Mon May 04, 2020 10:44 pm

It was the animated lava, too much of that must slow down the game, thnx again!

Quaddam
 
Posts: 4
Joined: Fri Nov 11, 2016 1:49 pm

Re: Frame skip in Pygamer

by johnpark on Fri May 08, 2020 2:52 pm

Right on, good sleuthing!

johnpark
 
Posts: 764
Joined: Wed Mar 25, 2009 2:15 pm

Please be positive and constructive with your questions and comments.