tins2023/src/engine.zig
Sander Schobers 7a89b05f8e Progress over >1 day.
- Added debug overlay.
- Added game scene.
  * Rendering of background, tiles, items & player.
  * Added levels (reading from text file).
  * No collision detection yet.
- Automatic resizing of fonts.
- Added sprites (animate textures).
- Lots of utility methods everywhere....
2023-06-04 17:05:20 +02:00

16 lines
708 B
Zig

const assets = @import("engine/assets.zig");
pub const Fonts = assets.Fonts;
pub const FPS = @import("engine/fps.zig").FPS;
pub const Keys = @import("engine/keys.zig").Keys;
pub const OpaquePtr = @import("engine/opaque_ptr.zig").OpaquePtr;
pub const Point = @import("engine/point.zig").Point;
pub const PointF = @import("engine/point_f.zig").PointF;
pub const Rectangle = @import("engine/rectangle.zig").Rectangle;
pub const RectangleF = @import("engine/rectangle_f.zig").RectangleF;
pub const Scene = @import("engine/scene.zig").Scene;
pub const Sprite = assets.Sprite;
pub const Sprites = assets.Sprites;
pub const Textures = assets.Textures;
pub const Viewport = @import("engine/viewport.zig").Viewport;