summaryrefslogtreecommitdiffhomepage
path: root/games
AgeCommit message (Collapse)Author
2020-04-13WARNING: REMOVED raylib/games - Moved to raysan5/raylib-gamesraysan5
Move raylib games to another repo. It will reduce repo size for new clones. I considered also removing the related history with [`git filter-repo`](https://github.com/newren/git-filter-repo) (the current sane alternative to the deprecated `filter-branch`) but it has some implications: It would had made a new repository with distinct history and checksums. If the repo was previously published, the history of the new one won't have been compatible with the history others have pulled.
2020-03-09Revert "Always use latest raylib version for cmake (#1123)" (#1126)Ahmad Fatoum
We didn't use the latest version, but a compatible version, which is established by raylib-config-version.cmake. It's ok to have a minimal version, so revert b7c0d5b6ddfb8fd958803db837e1839ea54f6d37.
2020-03-08Always use latest raylib version for cmake (#1123)G3bE
* Always use latest raylib version * Always use latest raylib version * Always use latest raylib version
2020-02-06Review ALL games to raylib 3.0Ray
2020-02-03Develop branch integration (#1091)Ray
* [core] REDESIGNED: Implement global context * [rlgl] REDESIGNED: Implement global context * Reviewed globals for Android * Review Android globals usage * Update Android globals * Bump raylib version to 3.0 !!! * [raudio] REDESIGNED: Implement global context * [raudio] Reorder functions * [core] Tweaks on descriptions * Issues with SUPPORT_MOUSE_GESTURES * [camera] Use global context * REDESIGN: Move shapes drawing texture/rec to RLGL context * Review some issues on standalone mode * Update to use global context * [GAME] Upload RE-PAIR game from GGJ2020 -WIP- * Update game: RE-PAIR * [utils] TRACELOG macros proposal * Update config.h
2019-11-01Fix generation of web examples (#1007)Pablo Marcos Oltra
At least on Linux, CMake seems to add automatically the '-rdynamic' flag. As a result, Emscripten generates a fat HTML file that does not work. Removing it allows HTML+JS+WASM generation.
2019-08-03Replace tabs with spaces and update year of copyright notices (#927)Leandro Gabriel
* Update year of copyright notices * Fix mistake in comment * Fix typo ("algorythms") * Replace tabs with spaces * Remove trailing whitespace and fix mistake in comment * Fix ExportImageAsCode missing comment rectangle corner * Replace tab with spaces * Replace tabs with spaces
2019-07-27#917 This commit changes the path to 'shell.html' in all Makefiles (#918)Antonio Radovcic
2019-07-24Some tweaks revisiting an old game...Ray
2019-07-24BREAKING CHANGE: Read descriptionRay
Changes: - Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font. - CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph. - REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data. - REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added. - REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions. - ADDED: ImageFromImage() to generate a new image from a piece of another image. - REVIEWED: GetNextCodepoint(), renamed parameters to be more clear. Also all examples and games that were affected by those changes have been reviewed.
2019-06-09Update MakefileXiaochuanWang
corrected file location for "raylib.rc.data", which will cause an error during compilation
2019-06-07Updated games buildingRay
2019-06-06Remove wrong filesRay
2019-06-06Update exampleRay
2019-05-29Define standard examples sizeRay
2019-05-22Update MakefileRay
2019-05-22Update MakefileRay
2019-05-22Move emscripten web shell to srcRay
2019-05-21Review gamesRay
2019-05-21Update MakefileRay
2019-05-21Review sample gamesRay
2019-05-21Review MakefilesRay
2019-04-07Happy new year 2019ChillerDragon
2019-01-27Added new game: Cat vs RoombaRay
GGJ2019 game
2019-01-03REMOVED: ShowLogo()raysan5
Same functionality could be achieved using FLAGS... but also considering removing raylib logo animation...
2018-12-26WARNING: BREAKING CHANGEraysan5
Added a bunch of useful text management functions. Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names. raylib version bumped to 2.3.
2018-12-25Support float texture data on OpenGL ES 2.0raysan5
2018-12-25REVIEWED: LoadFontEx()raysan5
Changed parameters order for consistency with LoadFontData() and other functions when an array is passed by parameter and array size is the following parameter.
2018-12-24Some code tweaksraysan5
2018-11-19Review resources namingRay
raylib resource data file for Windows platform (containing raylib icon and metadata for executable file) has been renamed to a more consistent name: raylib.rc.data Also required to work with tcc compiler.
2018-11-19Review RenderTexture drawing usageRay
Now `BeginTextureMode()` does not clean buffers automatically, that behaviour has been changed because there could be some case (i.e. painting software) where texture buffer does not ned to be cleared; user is responsible of clearing buffers using `ClearBackground()`
2018-10-103 minor sample game cleanups:noshbar
* changed bitwise & to logical && * removed redundant state check * moved a strcpy inside a NULL check to prevent a crash. NOTE: nothing sensible will happen as a result, but no crash at least.
2018-09-25PNG image size optimizationRay
2018-09-18enjoy!Ray
2018-08-13Games: Snake: Fixes snake head collision with fruitJoseph-Eugene Winzer
CheckCollisionRecs() returns true on edge-collision what means that the snake eats the fruit when colliding with it but also when sliding by one unit above or below the fruit.
2018-08-13Games: Snake: Fixes fruit spawn positionJoseph-Eugene Winzer
If the initial fruit position collides with the snake's body a new position for the fruit is generated but without adding the grid offset.
2018-08-06Reviewed spacings on latest PRRay
2018-07-29CMake: Major cleanup to support find_package(raylib)Ahmad Fatoum
Remove that link_libraries_to_executable() hack and defines a proper raylib target that can be used with target_link_libraries. The same target is also available for external (user) code by using find_package(raylib). This results in: - Remove hardcoded build directories from examples and games CMakeLists.txt - Allow rlgl_standalone and other special examples to be built easily - Allow CMake projects to find_package(raylib instead of fiddling with pkg-config - Makes code a little more maintainable - Fixes #471, #606. - Makes code less confusing by removing the double use of PLATFORM (#584). Note that this is still not _The Right Way_(TM), because normally raylib-config.cmake (or its includes) would be automatically generated. I didn't manage to get that to work though, so I went the easier route of just wrapping pkg_check_modules for consumption by find_package.
2018-07-25Fix HTML5 examples and games using CMake (#589)Pablo Marcos Oltra
Mimic the Makefile by outputting html + js instead of LLVM IR.
2018-07-21Added Android Makefile for gamesraysan5
2018-07-21Review formattingraysan5
2018-07-21Looking for a place for raylib resource fileraysan5
2018-06-23Added support OpenBSD, NetBSD, DragonFly[email protected]
2018-06-03Improved game drawingRay
Reduced draw calls
2018-05-29Reviewed Windows resource file nameRay
2018-05-21Move utils.cmake to separate cmake/ directoryAhmad Fatoum
2018-05-12Makefile: Remove unnecessary -no-pie for older GCC supportAhmad Fatoum
Currently, if: * GCC doesn't supports -no-pie: Build error * GCC supports -no-pie * GCC is not configured with --enable-default-pie: No-op * GCC is configured with --enable-default-pie: Slightly worse performance because we still generate -fpie code (-pie affects linker, -fpie affects compiler) So instead of probing for existence of -fno-pie -no-pie, remove it altogether. Fixes #540: Build breakage on Debian 8 with gcc 4.9.
2018-05-11Updated raylib_icon resourceRay
2018-05-04BREAKING CHANGE: Renamed SpriteFont type to FontRay San
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-04-03Updated to latest raylib changesRay
Removed OpenAL and GLFW3 dependencies on building. Reviewed platforms and flags