post stuff!! also now every asset can be animated

This commit is contained in:
Yoshman29
2022-11-19 15:23:00 +01:00
parent 1fa0772c9e
commit a16608448d
22 changed files with 38 additions and 42 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ function onPlayerHit(event:NoteHitEvent) {
/**
* CAMERA HACKS!!
*/
function createPost() {
function postCreate() {
if (enablePauseMenu) {
PauseSubState.script = 'data/scripts/week6-pause';
}
@@ -147,7 +147,7 @@ var pixellyShaders = [];
// n.offset.x -= 1;
// });
// }
function updatePost(elapsed) {
function postUpdate(elapsed) {
for(e in pixellyCameras) {
if (Std.isOfType(e, HudCamera))
e.downscroll = camHUD.downscroll;