Doc update

This commit is contained in:
blz
2026-03-08 02:03:23 +01:00
parent c01289f14b
commit 028014830c

View File

@@ -47,18 +47,23 @@ $ ./sdl-glisseur_10
$ top (or ps ax) ---> get PID of the glider proccess $ top (or ps ax) ---> get PID of the glider proccess
$ kill -9 PID $ kill -9 PID
``` ```
- - - - - - - - - - - - - -
# Adjust image size # Adjust image size
Update i and j on lines 122 and 123 Update WIDTH and HEIGHT on lines 36 and 37
``` ```
i=320; #define WIDTH 640
j=240; #define HEIGHT 480
``` ```
- - - - - - - - - - - - - -
# Change glider moving rules # Change glider moving rules
Update the direction adding parameters, check examples from line 158 to line 205 Update the direction adding parameters, check examples from line 158 to line 205
- - - - - - -
# Border bounce or pass through
Comment / uncomment bounce and pass through blocks on line 288 to 351
- - - - - - - - - - - - - -
# Let's glide ! # Let's glide !