Skip to content

Instantly share code, notes, and snippets.

View DaVince's full-sized avatar

Vincent DaVince

View GitHub Profile
@eonarheim
eonarheim / ExcaliburGraphicsAPI.md
Last active May 12, 2020 14:03
New Graphics API documentation

Excalibur Graphics API

Excalibur has a new graphics system that has been developed to hide the underyling implementation. This allows optimizations like webgl batch rendering and shader programs to increase the speed and power of our drawings. This new system does a great deal to reduce the complexity of the drawing stack for both developers using Excalibur and the maintainers.

This implementation is being tracked here

Folder: https://github.com/excaliburjs/Excalibur/tree/feature/drawing-graphics-redo/src/engine/Graphics

@postcasio
postcasio / BitmapFont.d.ts
Created September 14, 2019 22:31
BitmapFont
export default class BitmapFont {
fileName: string;
height: number;
constructor(path: string);
drawText(surface: Surface, x: number, y: number, text: string, color?: Color, wrap_width?: number): void;
getTextSize(text: string, wrap?: number): {
width: number;
height: number;
};
heightOf(text: string, wrap?: number): number;
@MarcDiethelm
MarcDiethelm / Contributing.md
Last active April 1, 2024 13:55
How to contribute to a project on Github

This text now lives at https://github.com/MarcDiethelm/contributing/blob/master/README.md. I turned it into a Github repo so you can, you know, contribute to it by making pull requests.


Contributing

If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.