ProgrammingChicken

fuzebasic

Aug 12th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. from https://www.youtube.com/watch?v=pOj4oyUOU2Q
  2. logo = loadSpritesheet( "halloweenFuzeLogo.png", 3314, 7
  3. happy = loadSpritesheet( "halloweenFUZE.png", 3729, 460,
  4. sp = loadSpritesheet( "pumpkin.png", 1371, 1218, 1 )
  5. sprites = 20
  6. spritesX = []
  7. spritesY = []
  8. spritesYSpeed = []
  9. spritesXSpeed = []
  10. bounced = []
  11. active = []
  12. angle = []
  13. for i = 0 to sprites loop
  14. spritesX[i] = rnd( 1280 )
  15. spritesY[i] = 720
  16. spritesXSpeed[i] = 4.0 - rnd( 8.0 )
  17. spritesYSpeed[i] = 0.0 - rnd( 1.0 )
  18. angle[i] = 1.0 - rnd( 2.0 )
  19. bounced[i] = 0
  20. repeat
  21. paper( 0 )
  22. loop
  23. clear()
  24. gyroXYZ = gyro()
  25. gravityX = gyroXYZ[0] * 16
  26. drawSpritesheet( logo, 0, 0, 160, 300, 0, 0.3, 0 )
  27. drawSpritesheet( happy, 0, 0, 100, 100, 0, 0.3, 0 )
  28. for i = 0 to sprites loop
  29. if active[i] == 1 then
Add Comment
Please, Sign In to add comment