Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # In C++ code i can do CutsceneVM->playScene("intro");
- # it searches for the 'scene' defined as intro
- Scene intro;
- # background to draw over the map
- bg="data/textures/bg/cutscenes/background.png"; # no collision will happen nor gravity if using another bg
- # which actors are in the scene and where are their starting positions
- archduke (400,200); # duke is the sprite type (so I can use its animations)
- maid (100,200); # maid (another sprite type)
- magnus (100,200); # player sprite type
- # the scene's operations
- fadein
- archduke say "She's a WHORE!"; # say command
- wait 10; # wait 10 seconds before next line
- magnus move right 20; # move command moves the player x pixels towards direction
- waitmove # wait until movement is done
- magnus say "Screw you!"; # again say command
- magnus move left 100 # run off the screen
- maid move left 100 # make her come with
- fadeout # fade the scene to darkness
- play scene intro2 # and plays the scene named intro2
- end # end of the scene
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement