Skip to content

Commit

Permalink
Default cameras (#324)
Browse files Browse the repository at this point in the history
* modernize demo with new camera features

* add mobile and gamepad controls

* rename controls class

* add [Y] to HUD

* whoopsies

* fix flash CI

* more flash CI fixes

* revert border to normal FlxSprite for mac perf

* add back BorderSlice and fix perf on windows

* more slice optimizations
  • Loading branch information
Geokureli authored Sep 1, 2023
1 parent 5778fbd commit 0aa1f45
Show file tree
Hide file tree
Showing 12 changed files with 605 additions and 318 deletions.
Binary file added Features/FlxCamera/assets/BorderSlice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 0 additions & 75 deletions Features/FlxCamera/source/HUD.hx

This file was deleted.

3 changes: 3 additions & 0 deletions Features/FlxCamera/source/Main.hx
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
package;

import flixel.FlxGame;
import flixel.FlxSprite;
import openfl.display.Sprite;

class Main extends Sprite
{
public function new()
{
super();

FlxSprite.defaultAntialiasing = true;
addChild(new FlxGame(640, 480, PlayState));
}
}
36 changes: 0 additions & 36 deletions Features/FlxCamera/source/Orb.hx

This file was deleted.

Loading

0 comments on commit 0aa1f45

Please sign in to comment.