Giter Site home page Giter Site logo

xeltica-studio / dotfeather Goto Github PK

View Code? Open in Web Editor NEW
46.0 5.0 5.0 7.39 MB

A closs-platform generic gameengine built on C#/.NET 6

License: MIT License

C# 100.00%
csharp game-engine dotfeather opengl openal cross-platform multi-platform dotnet6 silk-net game

dotfeather's People

Contributors

acid-chicken avatar akiyori avatar ebiselutica avatar imgbotapp avatar marihachi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dotfeather's Issues

API 整理

互換性維持の為に無駄なところも多いので

文書化を DocFX に統合

現在、マニュアルをGitHub Pagesに、APIリファレンスをDocFX+netlifyで運用しているが、これを全てDocFXに統合する

DocFX に Markdown によるページ作成機能があるので、うまくいくはず。

TextureDrawableBase

Sprite, Tile, TextDrawable などのテクスチャを描画するクラスのロジックを纏める

public abstract class TextureDrawableBase : IDrawable
{
    public int Width { get; set; }
    public int Height { get; set; }
    public Vector Size { get; set; }
    public Texture2D Texture { get; set; }
    public void Draw(...) { ... }
}

Gamepad Input

ゲームパッドの入力を受けるInputを作成

Graphic レイヤーがバッファー上に図形を描画して持っておくようにする

現在グラフィックレイヤーは各描画オブジェクトをオブジェクトインスタンスとして保持して、毎フレーム描画している。これはグラフィックレイヤー上に描画された図形が多いほどドローコールが増え、メモリの使用量が多くなるという結果を招く。

(まだよくわかっていないが)バッファ上にレンダリングを行うことができるらしいのでやってみる

DFKey の機能追加

  • DFKey.IsKeyDown
  • DFKey.IsKeyUp
  • DFKey から bool への暗黙キャスト(IsPressed プロパティに変換される)

Tile を実装する

  • ITile
    • Tilemap 上にマッピング可能なオブジェクト。全てのタイルがこれを実装する
  • Tile
    • 1枚のテクスチャ、あるいは複数枚のテクスチャをアニメーションして表示するタイル
      • アニメーションのプロパティなどを持つ

TextDrawable を実装する

現在Graphic APIとして存在しているものを移動する

ttps://github.com/opcon/QuickFont が使えそう

QuickFont 依存性が地獄になっているのでダメ

System.Drawing.Graphics 使って文字列描画して、そのビットマップを引っ張ってくれば良いだけの話だった(何故思いつかなかった)

Coroutine API

UnityライクなコルーチンAPI。PromiseライクなAPIをしており、終わった後にコールバックを呼ぶこともできる。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.