summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Collapse)Author
2021-01-31out is a keyword in shaders and can't be used as a variable name. (#1558)Jeffery Myers
Co-authored-by: Jeffery Myers <[email protected]>
2021-01-31Update models_first_person_maze.craysan5
2021-01-28Gltf animation support (#1551)hristo
* Added example for gltf animation and split some functions for loading model animations into IQM and GLTF similar to how models are being loaded. * Removed wrongly duplicated function * Bone loading for gltf model (not working at this point) * Loading info about vertex to joint connection but animation is still not working * Skeleton and pose is correctly loaded. Need to communicate about interpolation in GLTF * The model almost looks like a real person on animation. * Fixed model loading with bones. Also updated license info on the model. * Cleaned up some code and updated examples. * Fix identation issues * Fix identation issues * Fix identation issues
2021-01-26Documentation cmake (#1549)hristo
* Documenting the compiler flags * Moved some android compiler flags and added documentation on them too. * Some more restructuring. Removed unnecessary comments that were self described by the code. Added some more explanations around certain parts of CMake and especially around compiler flags.
2021-01-25Replace tabs by 4 spacesraysan5
2021-01-20REVIEWED: physac module and examples #1525Ray
2021-01-13Big cmake changes (#1514)hristo
* Delete emscripten.cmake This file is not needed at this point. EMSDK provides a toolchain file that has a lot more things in it and is better supported. Project currently works fine with the documentation provided in Emscripten SDK on how to build projects. * First pass file separation. The main two files are cleaner now. Only important things can be seen. Major changes include: - raylib_static is now the alias instead of raylib - Repeating segments are removed and pulled into separate files into <root>/cmake - File is reordered to make more sense - Installs are better structured - Library is build into an output directory "raylib" instead of "src" - All public header files are now set as a public header file - Source files need to be listed (it is a bad practice to capture them using wildcards and file globs) - CMakeLists are better commented * Second pass on the example dirs. They are quite complex so I'm more hesitant to do major changes. Also it works pretty well. Noticed that I forgot one of the seperated files and added it into src/CMakeLists.txt. * Returned the header copy as it was convenient to have the public headers copied. * A better description to the variable RAYLIB_IS_MAIN Co-authored-by: Rob Loach <[email protected]> * Remove debug message Co-authored-by: Rob Loach <[email protected]> * Improvements based on review. * Simplify the install condition to not be platform specific as it was before. Co-authored-by: Alexander Neumann <[email protected]> * Remove some CMAKE variables as they don't affect the build in any way Co-authored-by: Alexander Neumann <[email protected]> Co-authored-by: Rob Loach <[email protected]> Co-authored-by: Alexander Neumann <[email protected]>
2021-01-02Update year to 2021raysan5
2020-12-30added missing constants (#1493)Artur Mustafin
Co-authored-by: funcelot <[email protected]>
2020-12-29Review rlights helper module #1489raysan5
2020-12-28Review comments formatingraysan5
2020-12-28providing and example on how to apply the screen scale (as done in the ↵Matheus Duarte
virtual mouse) to the real mouse, to work with raygui (#1481)
2020-12-26Fix use of GuiSliderBar in examples. (#1470)badlydrawnrod
2020-12-24Minor tweakraysan5
2020-12-24Replace TABS by 4 spacesraysan5
2020-12-24Update README.mdraysan5
2020-12-24Update README.mdraysan5
2020-12-24Updated several files while porting examples to webraysan5
2020-12-23Review example formatingraysan5
2020-12-23Review formattingraysan5
2020-12-23Remove dup exampleraysan5
2020-12-23Review Android Makefiles to required versionraysan5
2020-12-23Update Makefile(s)raysan5
2020-12-23Remove trailing spacesraysan5
2020-12-23Update raylib versionraysan5
2020-12-19Set version for raylib 3.5Ray
2020-12-18WARNING: GetKeyPressed() <-> GetCharPressed() #1336Ray
Previous GetKeyPressed() method was actually returning unicode codepoints equivalent values instead of the key-code of the pressed key. So, it has been replaced by GetCharPressed(), returning unicode codepoints and GetKeyPressed() now returns key-codes.
2020-12-18Support mouse input on example #1465Ray
2020-12-13Fixed the build for web using CMake. (#1452)hristo
* Fixed the build for web using CMake. I found that the build for me was failing and I added some if defined checks in the core.c file where the glfwSetWindowAttrib was used. (error: implicit declaration of function 'glfwSetWindowAttrib' is invalid in C99 [-Werror,-Wimplicit-function-declaration]) I also changed some values in the toolchain file so that it correctly uses the .bat files when on windows. * Cleaned up the additional variables (they are not important) * Added more improvements to cmakelists Added the option to use the system provided Emscripten toolchain to be more uniform with other libraries. Fixed and issue which prevented example being built from cmake and also building with html extensions properly. * Fixed ENUM to STRING because of a missed warning
2020-12-13Fixed #1455 (#1456)Alexander Buhl
* Fixed #1455 Fixed writing out of array bounds Adjusted FPS comment to match value Deleted unused function at the end, which has never been in use in the history of this file * Fixed #1455 Readded the function
2020-12-12Reviewed SetAudioBufferPitch() #1450Ray
2020-12-03Corrected minor windows flags issuesRay
2020-12-03Update core_basic_window.cRay
2020-12-03Update user nameRay
2020-12-03Update core_window_flags.cRay
2020-11-29Added GLFW_OPENGL_FORWARD_COMPAT for Apple Support (#1445)Seth Archambault
Without GLFW_OPENGL_FORWARD_COMPAT, running this as a standalone will yield the error: ``` NSGL: The targeted version of macOS only supports forward-compatible core profile contexts for OpenGL 3.2 and above ```
2020-11-29Added Apple Compilation Instructions (#1444)Seth Archambault
Stumbled on this example and I love this! Adding instructions that work for me on MacOS.. Note that glfw3 will need to be statically built locally and copied to this external/libs directory on mac. I can upload my static version, but it probably makes sense to do this only if there's some general naming convention for adding platform specific folders. Like "external_osx/lib" or "external/lib_osx". Then I'll drop my static libs in there.
2020-11-23REVIEWED: Window state flags -WIP-Ray
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users. ADDED: ClearWindowState() to reset window state REMOVED: HideWindow() / UnhideWindow() REMOVED: DecorateWindow() / UndecorateWindow()
2020-11-23REDESIGNED: Window state config #1367 -WIP-Ray
Some flags not working properly yet...
2020-11-01Review contributed examplesRay
2020-10-31Update shaders_multi_sample2d.cRay
2020-10-31REDESIGNED: Multiple sampler2D usage on batch systemRay
New implementation allow enabling additional textures per batch only.
2020-10-29Support multiple sample2D on batch drawing #1333Ray
2020-10-29Updated assetsRay
Reduce size and better license CC0
2020-10-28Simplified example and resources sizesRay
2020-10-21Reviewed PR #1407Ray
2020-10-21Added desktop cursor getter and setter functions (#1407)Chance Snow
* [core] Added desktop cursor getter and setter functions * Example: Set mouse cursor in text input box * Setup standard cursors _after_ GLFW window initialization * Remove old `int GetMouseWheelMove` declaration
2020-10-10Review undesired changesraysan5
2020-10-10Updated miniaudio #1402raysan5
2020-10-05Replace 0.f by 0.0fRay