This commit is contained in:
Schluffe
2026-03-17 21:09:17 +01:00
parent a2af7b9940
commit 3242e8cbbb
6 changed files with 57 additions and 34 deletions
+2
View File
@@ -1,3 +1,4 @@
import { createCircle } from "#/engine/Circle.ts";
import { defineEntity } from "#/engine/Entity.ts";
import {
createSprite,
@@ -13,4 +14,5 @@ defineEntity("portal", {
position: createVector(),
sprite: createSprite(portalSrc),
animation: createSpriteAnimation(400, 0),
collider: createCircle(createVector(), 8),
});