Skip to content

Commit 5a10383

Browse files
Karine91r4pt0s
andauthored
fix issue with sprite load and spawned position (#284)
Co-authored-by: Wolfgang Kreminger <r4pt0s@protonmail.com>
1 parent efe5c08 commit 5a10383

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/scenes/start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export async function start() {
3030

3131
// Create player with temp sprite
3232
const player = k.add([
33-
k.sprite('characters', { frame: 0 }),
34-
k.pos(spawnpoint.pos),
33+
k.sprite('player', { frame: 0 }),
34+
k.pos(spawnpoint.player),
3535
k.area(),
3636
]);
3737

0 commit comments

Comments
 (0)