Skip to content

Commit 8911f05

Browse files
committed
deadcscroll: fix images rel URLs
1 parent 3acdc4a commit 8911f05

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

website/guides/deadcscroll.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,49 +288,49 @@ The values in the table can dramatically change the effect. For example, if the
288288

289289
Also, you could create a 'glitch' effect during a cut-scene, perhaps in a sci-fi game to simulate a slightly dirty transmission.
290290

291-
![X Sine](/deadcscroll/gif//xsine.gif)
291+
![X Sine](/deadcscroll/gif/xsine.gif)
292292

293293
### Y (Vertical) Sine
294294

295295
This effect is structured very similar to X Sine, in that there is a table of sine values driven by 3 states. The only difference is that `SCY` is changed instead of `SCX`.
296296

297297
This is a really good way to simulate water reflections.
298298

299-
![Y Sine](/deadcscroll/gif//ysine.gif)
299+
![Y Sine](/deadcscroll/gif/ysine.gif)
300300

301301
### X and Y Sine
302302

303303
This is simply a combination of the X Sine and Y Sine effects so you can see how different it looks compared to just the X or Y changing.
304304

305305
Instead of a full-screen image like this tutorial uses, imagine if you had a repeating image in VRAM (bigger than the screen) that looked like water ripples. This would move just like water!
306306

307-
![XY Sine](/deadcscroll/gif//xysine.gif)
307+
![XY Sine](/deadcscroll/gif/xysine.gif)
308308

309309
### Smear On
310310

311311
This is like a flood fill effect used as an appearance transition. It's quite simple in that it repeats the lines to achieve the 'smear' effect and is perhaps more interesting than a fade in.
312312

313313
The specific image used in the tutorial is light along the bottom so it looks better if the screen was already light before the effect starts. You would change this to suit your image.
314314

315-
![Smear On](/deadcscroll/gif//smearon.gif)
315+
![Smear On](/deadcscroll/gif/smearon.gif)
316316

317317
### Smear Off
318318

319319
This is a disappearance transition and the reverse of Smear On. Due to the specific image that was used (i.e. it is light along the bottom), it looks better in this tutorial to have the effect reveal a light screen instead of dark. Again, you would change this to suit your image.
320320

321-
![Smear Off](/deadcscroll/gif//smearoff.gif)
321+
![Smear Off](/deadcscroll/gif/smearoff.gif)
322322

323323
### Roll On
324324

325325
This effect simulates an image unrolling onto the screen. This might be useful for fantasy RPGs to transition to a map screen or perhaps a message written on a scroll. The image unrolls over a dark screen because the top of the image is mostly dark so it looks better to keep it dark than the contrast of using a light screen.
326326

327-
![Roll On](/deadcscroll/gif//rollon.gif)
327+
![Roll On](/deadcscroll/gif/rollon.gif)
328328

329329
### Roll Off
330330

331331
This effect simulates an image rolling off screen. This might be useful for fantasy RPGs to transition away from a map or scroll screen. This reveals a dark screen because the first thing you see in the roll is dark (because that's what's in VRAM below the screen). Keeping it dark made the transition more seamless.
332332

333-
![Roll Off](/deadcscroll/gif//rolloff.gif)
333+
![Roll Off](/deadcscroll/gif/rolloff.gif)
334334

335335
The roll effects look complicated but the implementation is probably one of the simpler ones. The key to make this look good is the values in the table. The roll size is 32 pixels, but you can change this to whatever size you want, provided the table values support it. This [SpecBas demo](https://www.youtube.com/watch?v=j04TKI9WKfo) was used as a reference to obtain those values.
336336

0 commit comments

Comments
 (0)