Commit Graph

9 Commits

Author SHA1 Message Date
Ray c8a6093d52
Update examples creation requirements 2023-09-23 11:13:11 +02:00
Wytek01 3c4ce9c99b
Update examples_template.c to raylib 4.5 (#3156) 2023-07-05 16:39:38 +02:00
Ray b59fab7ee6 Update year to 2023 2023-01-01 16:00:56 +01:00
Ray 4a9391ae83 REVIEWED: examples descriptions 2022-07-20 01:28:37 +02:00
Ray c1b01c0d5d Added new comment to examples 2022-06-21 19:53:18 +02:00
Ray 3ae40c35e6 Update examples_template.c 2021-06-16 14:09:28 +02:00
Gianni Alessandroni 4ab28fffb4
Added smooth pixel-perfect camera example + Small typo fix in examples_template.c (#1760)
* Typo fix

Changed "bsasic" to "basic" in the comments.

* Added pixel-perfect camera example

Added pixel-perfect camera example, both the .c file and the cover .png image. The example works with any resolution you want, as long as the ratio stays the same
(ex. 16:9, 4:3) ecc.

* Fixed Typecasts

Fixed compiler errors (implicit conversions)

* Precomputed rectangles, time-based movement and whitespace fix

Moved the source and destination rectangles for the renderTexture into their own variables, modified the animation to be time-based instead of frame-based, fixed the bug with whitespaces.

* Fixed spacing and added more consistency with sinf() and cosf()

* Fixed *= operator spacing
2021-05-10 20:16:12 +02:00
Ray dcf52c132f Remove trail spaces 2021-04-22 18:55:24 +02:00
Ray f53395694d Create examples_template.c 2019-05-03 17:56:58 +02:00