Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

ryuukk/arc_d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Run the samples

  • Make sure you got D installed in your system
  • Clone the repo
  • ./run_samples.sh

Hello World

import std.stdio;

import arc;

int main()
{
    auto game = new MyGame;
    auto engine = new Engine(game);
    engine.run();

    return 0;
}

public class MyGame : IApp
{
    public void create()
    {
        writeln("Hi");
    }
    
    public void update()
    {}

    public void render()
    {}

    public void resize(int width, int height)
    {}

    public void dispose()
    {}
}

Releases

No releases published

Packages

No packages published