Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Variable that checks the minigame is over
- [eval exp="f.endMinigame = 'false' "]
- ;Read in external JavaScript File
- ;There are no restrictions on how the js will work.
- ;The JS file should be in data/others folder
- [loadjs storage="minigame/phaser.min.js" ]
- [html]
- <div class="game" id="game"></div>
- <style>
- canvas{
- transform: translate(13%, 3.5%);
- }
- .game{
- position:fixed;
- width:100%;
- height:100%;
- background-color:#333;
- }
- </style>
- [endhtml]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement