Message: blue102 is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
I'm working on making a Contra-like game and to teach myself I am working on replicating Contra Level 1 Jungle.
I am unable to get the side-scrolling smooth. There is a stutter about once a second in the motion when walking. It's especially noticeable once you walk to the right enough to get past the water area (Controls are WASD, Space, Enter). Also the screen appears to get a bit brighter and dimmer when motion stops / starts. Possibly it's the same issue. And in debug FPS is about 40 for me (Chrome).
I have a tilemap for the background and one for platform tiles (same source pic but with jump-thru behavior). Also there is a player sprite with a few animations, a couple bullet objects, and a couple invisible rectangles for detecting when in the water. Not many objects. Is the tilemap too big?
Below is the link to the folder with the capx file in my public Google drive. If this isn't accessible please let me know and I'll use Megaupload or open a Dropbox account.I thank you in advance for any help. I can't proceed unless I can be sure performance will not be an issue...
I tried your game in FireFox and Chrome. The only difference with PixelRound off is that the scrolling is smother but for small hiccups in the beginning the game scrolls without problems with PixelRound on or off. It has stable 60 FPS and a CPU Usage from 2-6%. Be aware that if you use Debug with the tab Inspect it consumes a lot of CPU-Time.
Thanks again for the help, Asmodean. I had a CPU crash, did a reboot, and now everything is smooth again ftmp. Occasional "stutter" after landing on a platform. I hope I didn't wast anyone's time just because my computer was possessed.... :S I appreciate all the help and quick responses. Love this site!
Edit: Also great to know about the debug CPU usage, thx.