Adding texture/background_scrolling example (#91)
Adding textures_background_scrolling example Signed-off-by: Sebastian Lukas <sisasebbl@googlemail.com>
This commit is contained in:
parent
9abd48b147
commit
b5330624d6
5 changed files with 129 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue