Skip to content

Commit

Permalink
Adds BulbAmbienceSprite() test case
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Nov 14, 2023
1 parent b961b42 commit 3793d9d
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 4 deletions.
1 change: 1 addition & 0 deletions Bulb.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions objects/oAmbientUnderlay/CleanUp_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ambient.Destroy();
8 changes: 8 additions & 0 deletions objects/oAmbientUnderlay/Create_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ambient = new BulbAmbienceSprite(oRenderer.lighting);
ambient.sprite = sprite_index;
ambient.x = x;
ambient.y = y;
ambient.xscale = image_xscale;
ambient.yscale = image_yscale;
ambient.blend = image_blend;
ambient.angle = image_angle;
37 changes: 37 additions & 0 deletions objects/oAmbientUnderlay/oAmbientUnderlay.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions rooms/rmTest/rmTest.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3793d9d

Please sign in to comment.