Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from https://www.youtube.com/watch?v=pOj4oyUOU2Q
- logo = loadSpritesheet( "halloweenFuzeLogo.png", 3314, 7
- happy = loadSpritesheet( "halloweenFUZE.png", 3729, 460,
- sp = loadSpritesheet( "pumpkin.png", 1371, 1218, 1 )
- sprites = 20
- spritesX = []
- spritesY = []
- spritesYSpeed = []
- spritesXSpeed = []
- bounced = []
- active = []
- angle = []
- for i = 0 to sprites loop
- spritesX[i] = rnd( 1280 )
- spritesY[i] = 720
- spritesXSpeed[i] = 4.0 - rnd( 8.0 )
- spritesYSpeed[i] = 0.0 - rnd( 1.0 )
- angle[i] = 1.0 - rnd( 2.0 )
- bounced[i] = 0
- repeat
- paper( 0 )
- loop
- clear()
- gyroXYZ = gyro()
- gravityX = gyroXYZ[0] * 16
- drawSpritesheet( logo, 0, 0, 160, 300, 0, 0.3, 0 )
- drawSpritesheet( happy, 0, 0, 100, 100, 0, 0.3, 0 )
- for i = 0 to sprites loop
- if active[i] == 1 then
Add Comment
Please, Sign In to add comment