module Opal::Game

Defined in:

opal/game.cr
opal/game/loop.cr
opal/game/pong.cr

Class Method Summary

Class Method Detail

def self.loop(target_fps : Int32 = 60, tick_rate : Int32 = 60, &block : Loop -> Nil) : Loop #

Helper to construct and run a game loop with DSL


[View source]