Adding texture/background_scrolling example (#91)

Adding textures_background_scrolling example

Signed-off-by: Sebastian Lukas <sisasebbl@googlemail.com>
This commit is contained in:
Sebastian Lukas 2024-05-20 20:38:22 +02:00 committed by GitHub
parent 9abd48b147
commit b5330624d6
Failed to generate hash of commit
5 changed files with 129 additions and 1 deletions

View file

@ -223,6 +223,11 @@ pub fn build(b: *std.Build) !void {
.path = "examples/textures/sprite_anim.zig",
.desc = "Animate a sprite",
},
.{
.name = "textures_background_scrolling",
.path = "examples/textures/textures_background_scrolling.zig",
.desc = "Background scrolling & parallax demo",
},
// .{
// .name = "models_loading",
// .path = "examples/models/models_loading.zig",
@ -301,7 +306,7 @@ pub fn build(b: *std.Build) !void {
const run_cmd = b.addRunArtifact(exe);
const run_step = b.step(ex.name, ex.desc);
run_step.dependOn(&run_cmd.step);
examples_step.dependOn(&exe.step);
}