SHOW:
|
|
- or go back to the newest paste.
1 | # In C++ code i can do CutsceneVM->playScene("intro"); | |
2 | # it searches for the 'scene' defined as intro | |
3 | Scene intro; | |
4 | # background to draw over the map | |
5 | bg="data/textures/bg/cutscenes/background.png"; # no collision will happen nor gravity if using another bg | |
6 | # which actors are in the scene and where are their starting positions | |
7 | archduke (400,200); # duke is the sprite type (so I can use its animations) | |
8 | maid (100,200); # maid (another sprite type) | |
9 | magnus (100,200); # player sprite type | |
10 | # the scene's operations | |
11 | - | fadein |
11 | + | fadein; |
12 | archduke say "She's a WHORE!"; # say command | |
13 | wait 10; # wait 10 seconds before next line | |
14 | magnus move right 20; # move command moves the player x pixels towards direction | |
15 | - | waitmove # wait until movement is done |
15 | + | waitmove; # wait until movement is done |
16 | magnus say "Screw you!"; # again say command | |
17 | - | magnus move left 100 # run off the screen |
17 | + | magnus move left 100; # run off the screen |
18 | - | maid move left 100 # make her come with |
18 | + | maid move left 100; # make her come with |
19 | - | fadeout # fade the scene to darkness |
19 | + | fadeout; # fade the scene to darkness |
20 | - | play scene intro2 # and plays the scene named intro2 |
20 | + | play scene intro2; # and plays the scene named intro2 |
21 | - | end # end of the scene |
21 | + | end; # end of the scene |