Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeroff committed Oct 4, 2021
2 parents 5b6bb8b + 0e6c969 commit 50ac101
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2 deletions.
Binary file added press/itch.io/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/battery_spin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/cooler_spin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/door_spin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/ff_spin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/nuke_spin4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added press/itch.io/objects/player_spin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions source/states/ModelTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ModelTest extends FlxState {
override public function create() {
super.create();
Lifecycle.startup.dispatch();

FlxG.autoPause = false;
FlxG.debugger.visible = true;

FlxG.game.setFilters([new ShaderFilter(new FlxShader())]);
Expand All @@ -48,7 +48,7 @@ class ModelTest extends FlxState {
FlxG.camera.zoom = 3;

model = new DepthSprite(FlxG.width / 2 - 8, FlxG.height / 2 - 8);
model.slice_offset = 0.5;
model.slice_offset = 1;

add(model);
var define = Macros.getDefine("obj");
Expand Down Expand Up @@ -101,6 +101,14 @@ class ModelTest extends FlxState {
}
camera.bgColor = bgColors[bgColorIndex];

if (FlxG.keys.justPressed.C) {
camera.angle = 0;
camera.update(elapsed);
FlxTween.tween(camera, { angle: 360 }, 2, {
ease: FlxEase.quadInOut
});
}


// camera.angle += 15 * elapsed;

Expand Down

0 comments on commit 50ac101

Please sign in to comment.