Skip to content
Alexandre Poumaroux edited this page Nov 26, 2018 · 20 revisions

Welcome to the AdaPhysics2D wiki! This will describe how to use the engine easily.

Creating a world

First, you need to create an World object, and initialize it with its delta time dt.

with Worlds;

procedure Main is
    W1 : Worlds.World;
    fps : Float := 30;
    dt : Float := 1.0 / fps;
begin
    W1.Init(dt);
end Main;
Clone this wiki locally