params.h 748 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. // CORES
  20. #define COLOR_back Color4B(39, 40, 34, 255)
  21. #define COLOR_pink Color4B(249,38,114, 255)
  22. #define COLOR_blue Color4B(102,217,239, 255)
  23. #define COLOR_green Color4B(166,226,46, 255)
  24. #define COLOR_orange Color4B(253,151,31, 255)
  25. #define COLOR_grey Color4B(120,120,120, 255)
  26. #define COLOR_red Color4F(0.988, 0.147, 0.030, 1)
  27. // TAGs
  28. #define BALL_TAG 15
  29. #define BLOCK_TAG 10
  30. #define CORE_TAG 11
  31. #define BOTTOM_TAG 12
  32. #endif /* params_h */