Doc update
This commit is contained in:
11
README.md
11
README.md
@@ -47,18 +47,23 @@ $ ./sdl-glisseur_10
|
||||
$ top (or ps ax) ---> get PID of the glider proccess
|
||||
$ kill -9 PID
|
||||
```
|
||||
|
||||
- - - - - - -
|
||||
# Adjust image size
|
||||
Update i and j on lines 122 and 123
|
||||
Update WIDTH and HEIGHT on lines 36 and 37
|
||||
```
|
||||
i=320;
|
||||
j=240;
|
||||
#define WIDTH 640
|
||||
#define HEIGHT 480
|
||||
```
|
||||
|
||||
- - - - - - -
|
||||
# Change glider moving rules
|
||||
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 !
|
||||
|
||||
|
||||
Reference in New Issue
Block a user