dofile("Engine.lua");
--Call startUp function
startUp("Content/Levels/test/test.map", "Content/Levels/test/test.mapc");
--Create FPS Timer
fps = 0
current_fps = 0
timer = pge.timer.create()
while pge.running() do
if pge.timer.peekdelta(timer) >= 1.0 then
current_fps = fps;
fps = -1;
timer = pge.timer.create();
end
Main();
end