You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on some projects using FlxTween for in-game animations, but they always update and render at the same frame rate as the game, for example, 60 FPS. This makes them look way too smooth compared to the rest of the animations.
It would be reuseful to have a framerate option for tweens so they can achieve a more cartoony look independent of the game's actual framerate, depending on the developer's preference, perhaps rendering at 24 FPS.
It could work something like this:
varsprite=newFlxSprite();
FlxTween.tween(sprite.scale, {x: 4, y: 4}, 1, {
framerate: 24// As an idea, maybe it could work similarly to FlxG.drawFramerate and FlxG.updateFramerate?// drawFramerate: 24// updateFramerate: 60
});
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I've been working on some projects using
FlxTween
for in-game animations, but they always update and render at the same frame rate as the game, for example, 60 FPS. This makes them look way too smooth compared to the rest of the animations.It would be reuseful to have a
framerate
option for tweens so they can achieve a more cartoony look independent of the game's actual framerate, depending on the developer's preference, perhaps rendering at 24 FPS.It could work something like this:
The text was updated successfully, but these errors were encountered: