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
for games, it's often more important to provide a constant game speed than drawing every single frames.
it would be nicer for wasm4 to provide a mechanism for skipping frames.
especially for graphics-heavy games on slow hardware.
eg. a simple timestamp (maybe in fps) on the shared memory area.
staticunsigned intn=0;
update()
{
if (TIMESTAMP>n++) {
/* somehow reduce computation for this frame */
}
}
The text was updated successfully, but these errors were encountered:
for games, it's often more important to provide a constant game speed than drawing every single frames.
it would be nicer for wasm4 to provide a mechanism for skipping frames.
especially for graphics-heavy games on slow hardware.
eg. a simple timestamp (maybe in fps) on the shared memory area.
The text was updated successfully, but these errors were encountered: