Skip to content

Commit ea613ae

Browse files
canerdoganclaude
andcommitted
fix: Add initial position to platformer player character
Player was invisible because CSS lacked initial left/bottom position. Added explicit positioning and z-index to ensure visibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b557d6b commit ea613ae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs-site/static/demos/platformer-tutorial.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
background: linear-gradient(180deg, #6366f1, #4f46e5);
4848
border-radius: 6px 6px 2px 2px;
4949
transition: left 0.05s linear;
50+
left: 50px;
51+
bottom: 40px;
52+
z-index: 10;
5053
}
5154
.player::before {
5255
content: '👀';

0 commit comments

Comments
 (0)