Skip to content

Commit 1480c59

Browse files
committed
Update add-time-travel-to-games-with-phaser.mdx
1 parent 32846f2 commit 1480c59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

projects/add-time-travel-to-games-with-phaser/add-time-travel-to-games-with-phaser.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For December 2025’s [Game Jam 2025](https://https://www.codedex.io/community/m
2525
There are tons of games out there that you can check out for inspo, including [Braid](https://en.wikipedia.org/wiki/Braid_(video_game)), [Superhot](https://en.wikipedia.org/wiki/Superhot), [Prince of Persia: The Sands of Time](https://en.wikipedia.org/wiki/Prince_of_Persia:_The_Sands_of_Time), and soooo many more.
2626

2727
<ImageZoom
28-
src="assets/braid.gif"
28+
src="https://github.com/codedex-io/projects/blob/main/projects/add-time-travel-to-games-with-phaser/assets/braid.gif"
2929
style={{ width: "100%", height: "auto" }}
3030
alt="braid video game"
3131
/>
@@ -93,7 +93,7 @@ this.physics.world.timeScale = 2;
9393
## Time Moves Only When You Move
9494

9595
<ImageZoom
96-
src="assets/superhot.gif"
96+
src="https://github.com/codedex-io/projects/blob/main/projects/add-time-travel-to-games-with-phaser/assets/superhot.gif"
9797
style={{ width: "100%", height: "auto" }}
9898
alt="superhot video game"
9999
/>
@@ -114,7 +114,7 @@ if (!cursors.left.isDown && !cursors.right.isDown && !cursors.up.isDown) {
114114
```
115115
Here, we're using the same `timeScale` property as before. This time, we're checking to see if any of the keys are being pressed to determine whether time freezes or moves.
116116
<ImageZoom
117-
src="assets/timescale.gif"
117+
src="https://raw.githubusercontent.com/codedex-io/projects/refs/heads/main/projects/add-time-travel-to-games-with-phaser/assets/timescale.gif"
118118
style={{ width: "100%", height: "auto" }}
119119
alt="timescale example"
120120
/>
@@ -333,7 +333,7 @@ When `timeScale = 2` the text shows `"Speed: Slow"`. When `timeScale = 0.5` the
333333
Here's what the different speed modes should look like!
334334

335335
<ImageZoom
336-
src="assets/speeds.gif"
336+
src="https://raw.githubusercontent.com/codedex-io/projects/refs/heads/main/projects/add-time-travel-to-games-with-phaser/assets/speeds.gif"
337337
style={{ width: "100%", height: "auto" }}
338338
alt="speed modes example"
339339
/>
@@ -392,7 +392,7 @@ function update() {
392392
Here's what time travel should look like!
393393

394394
<ImageZoom
395-
src="assets/time-travel.gif"
395+
src="https://raw.githubusercontent.com/codedex-io/projects/refs/heads/main/projects/add-time-travel-to-games-with-phaser/assets/time-travel.gif"
396396
style={{ width: "100%", height: "auto" }}
397397
alt="time travel example"
398398
/>

0 commit comments

Comments
 (0)