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.

Newcomers AppGameKit Corner / Question: wich are the best physic values for a platform sprite

User Offline
Joined: 2nd Oct 2017
Posted: 18th Feb 2018 21:34
I try now since hours with several values(Force, Impulse, Friction, Mass and so on)
I habe a simple playersprite with a circle-physic-shape and a tilemap(most of them boxed shapes)
But i don´t find the best values.
Most of it the sprite is to light, fly around, to fast and so on....

Have anybody try this anytime and can give any tips to get the best values for spritemoving like an old retro platformer?
AGK Developer
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 20th Feb 2018 19:54
If you want to code a retro platformer, I wouldn't use physics for the player movement, unless it's part of the gameplay.
Use simple sprite collision instead.

Coders don't die, they just gosub without return
User Offline
Joined: 2nd Oct 2017
Posted: 20th Feb 2018 20:24
After some nights with testing many many value constallations i think too.
For slopes and such things i set a polygonshape for the tiles wich needed.
And than collsions as you say.

That´s the best way i think.

Login to post a reply

Server time is: 2018-03-19 16:16:15
Your offset time is: 2018-03-19 16:16:15