You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let ground = Block(size: size, spriteSheetName: "Ground")
ground.position = center
add(ground)
Player
let player = Actor()
player.position = center
add(player)
player.textureNamePrefix = "Player/"
let idleAnimation = Animation(name: "Idle", frameCount: 1, frameDuration: 1)
The ground is visible, but the player is hidden.
The text was updated successfully, but these errors were encountered:
Hi @woaiios 👋 The problem is that Xcode groups are not translated into real folders in your app's bundle, so the player's idle texture will actually be at the path /0@2x.png. To fix this you can use folder references instead of groups, that way a folder will also be created in your app bundle 👍
Place image in the workspace.
Block
Player
The ground is visible, but the player is hidden.
The text was updated successfully, but these errors were encountered: