summaryrefslogtreecommitdiffhomepage
path: root/examples/core
AgeCommit message (Collapse)Author
2022-11-15Avoid using `DrawCubeTexture()`Ray
2022-10-11Update core_basic_window.cRay
2022-09-16Fix typo (#2696)murilluhenrique
2022-09-08examples/core/core_custom_logging.c: Fix typo (#2692)hartmannathan
2022-09-04Update core_custom_frame_control.cRay
2022-09-04Fixed a bug in the 2d camera platformer example (#2687)skylar
canJump used to alternate between true and false when on ground
2022-08-11Revert "Update core_3d_camera_mode.c"Ray
This reverts commit 4f6fbaed4137be6ba41609ce9a96c11fd240953d.
2022-08-11Update core_3d_camera_mode.cRay
2022-08-02Remove unneeded commentRay
2022-07-31removing typo in line 41 line, presssed -> pressed (#2602)sDos280
2022-07-20REVIEWED: examples descriptionsRay
2022-07-19Reviewed example formatingRay
2022-07-19Update core_2d_camera.cRay
2022-07-19add mouse zoom example (#2583)Jeffery Myers
2022-07-07ADDED: example: `core_window_should_close`Ray
2022-07-05WARNING: BREAKING: REMOVED: `*StorageValue()` functionsRay
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05REMOVED: example: core_quat_conversionRay
This example requires a complete remake to be more clear. Also current quaternion maths could have issues.
2022-06-21Added new comment to examplesRay
2022-06-12Update core_drop_files.cRay
2022-06-12Update core_drop_files.cRay
2022-06-11WARNING: BREAKING: REDESIGNED: Filepath loading APIRay
REDESIGNED: `LoadDirectoryFiles()` ADDED: `LoadDirectoryFilesEx()` REDESIGNED: `LoadDroppedFiles()` ADDED: `IsPathFile()` This BIG BREAKING change simplifies the functions and gives more control to the user: - A new `struct FilePathList` has been added to avoid exposing complex pointers. - User is responsible of memory loading/unloading - Filepaths loading support recursive directories and file extension filters
2022-06-06WARNING: RENAMED: `GetDroppedFiles()` to `LoadDroppedFiles()`Ray
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
2022-04-24Fix for vr rendering not taking render target size into account (#2424)Maiko Steeman
2022-03-22Minor tweaks `const`Ray
2022-03-14Improve joystick visualisation in gamepad example again (#2391)Kristian Lein-Mathisen
As prior commit, but complete fix for XBox controller and trigger buttons too. > The joystick range is a float from -1 through +1. Casting this to int > yields only three possible values: -1, 0, and 1. This gives a > misleading joystick placement in the demo. > > By casting to int after the multiplication to get pixel values, the > demo reveals the analog feel of the joystick.
2022-03-14Improve joystick visualisation in gamepad example (#2390)Kristian Lein-Mathisen
The joystick range is a float from -1 through +1. Casting this to int yields only three possible values: -1, 0, and 1. This gives a misleading joystick placement in the demo. By casting to int after the multiplication, the demo reveals the analog feel of the joystick.
2021-10-22Update core_input_gamepad.craysan5
2021-10-22Reviewed multitouch example #1988raysan5
2021-10-20Reviewed uniform nameRay
2021-10-17Update examples screenshotsraysan5
2021-10-17Remove trailing spacesraysan5
2021-10-17Reviewed examplesraysan5
2021-10-03WARNING: REVIEWED: Follow a set of conventionsRay
CONVENTIONS: - Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside - Functions input parameters are always received by value - Functions use always a "result" variable for return - Functions are always defined inline - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
2021-08-26REVIEWED: Examples compilationRay
2021-07-16Improve assets license informationraysan5
2021-06-30Create core_basic_screen_manager.pngraysan5
2021-06-30ADDED: EXAMPLE: core_basic_screen_managerraysan5
2021-06-26WARNING: REMOVED: Some deprecated function names mappingraysan5
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-24Update core_basic_window.cRay
2021-06-23Review BeginTextureMode() usageRay
Moved outside BeginDrawing()/EndDrawing() to illustrate drawing is happening to an external texture (not screen)
2021-06-23Reviewed exampleRay
2021-06-22Update core_custom_frame_control.cRay
2021-06-22ADDED: Example: core_custom_frame_controlRay
2021-06-03Reviewed example: core_split_screenRay
2021-06-03Add a split screen example showing render texture use and multiple cameras. ↵Jeffery Myers
(#1806) Co-authored-by: Jeffery Myers <[email protected]>
2021-05-31Update core_3d_picking.cRay
2021-05-14Hotfix for smooth pixel-perfect camera example ↵Gianni Alessandroni
[core_2d_camera_smooth_pixelperfect.c] (#1771) * Hotfix for glitchy camera Super small fix that was causing the camera to glitch every x amount of seconds/pixels. Works much better now, 3/4 lines changed. * fixed dumb visual studio formatting problems
2021-05-10Added smooth pixel-perfect camera example + Small typo fix in ↵Gianni Alessandroni
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-08Added support for additional mouse buttons (#1753)Lambert Wang
* Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang <[email protected]>
2021-04-25Fixes for 64 bit typecast warnings (#1733)Jeffery Myers