params.h 810 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // params.h
  3. // RedCore2
  4. //
  5. // Created by Gabriel Capella on 31/05/17.
  6. //
  7. //
  8. #ifndef params_h
  9. #define params_h
  10. // BALL
  11. #define BALL_SIZE 15
  12. #define THROW_ANG 20 // in degrees
  13. #define INITIAL_SPEED 500
  14. // CORE
  15. #define CORE_RADIUS 50
  16. // RAQUETE
  17. #define RAQUETE_WIDTH 120
  18. #define RAQUETE_HEIGHT 10
  19. #define RAQUETE_ALTURA 90
  20. // CORES
  21. #define COLOR_back Color4B(39, 40, 34, 255)
  22. #define COLOR_pink Color4B(249,38,114, 255)
  23. #define COLOR_blue Color4B(102,217,239, 255)
  24. #define COLOR_green Color4B(166,226,46, 255)
  25. #define COLOR_orange Color4B(253,151,31, 255)
  26. #define COLOR_grey Color4B(120,120,120, 255)
  27. #define COLOR_red Color4F(0.988, 0.147, 0.030, 1)
  28. // TAGs
  29. #define BALL_TAG 15
  30. #define BLOCK_TAG 10
  31. #define CORE_TAG 11
  32. #define BOTTOM_TAG 12
  33. #define INDESTRUCTIBLE_BLOCK_TAG 13
  34. #endif /* params_h */