Commit Graph

49 Commits

Author SHA1 Message Date
Tchan0 8dbf371244
Examples makefiles: align /usr/local with /src Makefile (#4286)
* align /usr/local with src Makefile

Align /usr/local with the /src Makefile, where it can be overriden.

* /usr/local: allow override

align /usr/local with the /src Makefile, where it can be overriden
2024-08-25 11:23:08 +02:00
Reese Gallagher 7bde76ca2c
[rmodels] More performant point cloud rendering with `DrawModelPoints()` (#4203)
* Added the ability to draw a model as a point cloud

* Added example to demonstrate drawing a model as a point cloud

* polished the demo a bit

* picture for example

* adhere to conventions for example

* update png to match aspect ratio

* minor changes

* address code convention comments

* added point rendering to makefiles

* added point rendering to readme and renumbered examples

* comment formatting

---------

Co-authored-by: Reese Gallagher <re325479@ucf.edu.com>
Co-authored-by: Ray <raysan5@gmail.com>
2024-08-24 18:42:38 +02:00
Alex ZH 43b0c9410e
[examples] Add new example: `shaders_vertex_displacement` (#4186)
* shaders-vertex_displacement init

* implement simulation of wave in ocean

* update examples/README & add some comments

* update comments

* add gl100 shaders
2024-08-04 21:58:26 +02:00
Dalton Overmyer 077ab6d56b
Add an example that generates a random sequence. (#3846) 2024-02-29 18:26:49 +01:00
Ray e52ae870f2 Reverted Makefile `GL_ENABLE_GET_PROC_ADDRESS` #3713 2024-02-05 21:38:13 +01:00
Ray ea31bd47e5 REVIEWED: PLATFORM_WEB build flags, added GL_ENABLE_GET_PROC_ADDRESS
Reviewed flags formating
2024-02-05 21:12:57 +01:00
Ray 3f1e59a7cf Update copyright to 2024 2024-01-02 20:58:12 +01:00
TheManTheMythTheGameDev 1fc3d9aeb2
Add shadowmapping example (#3653) 2023-12-19 10:37:41 +01:00
Sergey Zapunidi ce26e26177
Added missing textures_image_kernel example in web makefile (#3555)
* Added missing textures_image_kernel example in web makefile

* Added missing --preload-file for textures_image_kernel

---------

Co-authored-by: zap <zap@physlab.ru>
2023-11-20 20:49:58 +01:00
Jussi Viitala 25c6c12150
Added glsl 100 and 120 shaders to lightmap example. (#3543)
* Added glsl 100 and 120 shaders to lightmap example.

* Fixed lightmap example resource loading on web.
2023-11-18 20:02:33 +01:00
Ray 040b945fef Reviewed some examples and warnings 2023-11-08 20:09:32 +01:00
Ray bee6d7f065 Update Makefile.Web 2023-11-08 19:34:44 +01:00
Ray 21354119cc REVIEWED: `Makefile.Web`, reorganize and add examples 2023-11-08 18:10:29 +01:00
Ray bbf0c3a46d REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
Justin 3645244f9f
examples/shaders: Add an example for deferred shading (#3496)
* add example for deferred rendering/shading

* adapt convention

---------

Co-authored-by: 27justin <me@justin.cx>
2023-10-31 20:13:12 +01:00
Ray 2da8cc383c Update Makefile.Web 2023-10-29 19:46:34 +01:00
ubkp 8f517b7651
Fix compilation for PLATFORM_WEB examples (#3454) 2023-10-23 10:05:40 +02:00
Ray fc6152613f REVIEWED: `raylib 5.0-dev` version for a future release 2023-10-18 00:33:05 +02:00
Ray 1896268775 Reviewed examples for consistency 2023-09-08 13:27:13 +02:00
Gabriel dos Santos Sanches 2d5d0c2999
examples: core: adds 2D camera two player split screen (#3298) 2023-09-08 12:22:12 +02:00
MichaelFiber 18e9784c6d
Remove PLATFORM_RPI (#3232)
* Remove PLATFORM_RPI

* remove build artifacts

---------

Co-authored-by: MichaelFiber <michael@cubeofb.org>
Co-authored-by: Ray <raysan5@gmail.com>
2023-09-07 17:42:28 +02:00
bXi c03ab03627
Added rudimentary SVG support. (#2738)
* Added rudimentary SVG support. Added 2 functions ImageLoadSvg and ImageLoadSvgWithSize.

* Added an example on how to use ImageLoadSvgWithSize and adjusted Makefiles accordingly.

* Added actual correct example file.

* Reviewed the code to keep the raylib coding conventions in mind.
Moved the LoadImageSvg() code into LoadImage() guarded by SUPPORT_FILEFORMAT_SVG.
Renamed LoadImageSvgWithSize() to LoadImageSvg().
Added a LoadImageSvgFromString() function to parse the loaded SVG into an actual image. This does the bulk of the work.

* Fixed typo.

---------

Co-authored-by: Ray <raysan5@gmail.com>
2023-09-02 13:00:18 +02:00
Asdqwe 46bac461ce
Add examples/shaders/shaders_lightmap.c to Makefiles (#3276) 2023-08-30 22:40:24 +02:00
ubkp b980268ba7
[example] Core Input Gestures for Web (#3172)
* [example] Core Input Gestures for Web

* Fix Doubletap for web

* Changes TAP_TIMEOUT and rgGetCurrentTime to seconds
2023-07-16 13:07:29 +02:00
Ray 1a361fdfe2 Update Makefile.Web 2023-03-13 23:24:30 +01:00
Ray 5a2c49b954 Updated Makefiles to include all missing new examples 2023-03-13 23:13:02 +01:00
Ray 1b873b028f WARNING: REMOVED: Multichannel audio support API
It was quite restrictive and hacky implementation, just load multiple types same sound to play multiple instances.
2023-03-07 19:48:47 +01:00
Ray 0ccc1d3686 Update year to 2023 2023-01-01 19:07:58 +01:00
Ray 483f10397e review note 2022-10-20 20:09:54 +02:00
Ray d9f434afb9 Added `-s EXPORTED_RUNTIME_METHODS=ccall` to examples web build #2739 2022-10-20 20:07:29 +02:00
Ray 328d65b1b3 Update Makefile.Web 2022-08-02 10:22:22 +02:00
Ray d68ddda766 Added note for multi-threading web compilation 2022-08-02 09:59:12 +02:00
Ray 191c340409 Update Makefile.Web 2022-08-02 09:26:46 +02:00
Ray ed7548051b Update version to 4.2 2022-08-02 09:21:03 +02:00
Ray b20d416131 Added latest examples 2022-08-02 00:30:26 +02:00
Ray a0b4b28427 Update Makefile.Web 2022-08-01 23:57:09 +02:00
Ray e121058eb6 RENAMED: example: textures_rectangle -> textures_sprite_anim 2022-07-07 12:09:30 +02:00
Ray d0f53db65f REMOVED: example: core_quat_conversion 2022-07-05 00:54:50 +02:00
Ray 043fa4cba7 Removed extras directory 2022-06-12 21:13:46 +02:00
Ray 8da566d6e7 WARNING: Removed `physac` from raylib sources/examples
`physac` is available on its own repo
2022-06-06 11:00:06 +02:00
raysan5 a940f41b4b Update year to 2022 2021-12-31 20:06:22 +01:00
Ray 611e54e67e Reviewed makefiles 2021-12-27 19:01:07 +01:00
Ray 31dd7b95bc Update Makefile.Web 2021-12-23 11:01:52 +01:00
Ray 7787102573 Remove hardcoded path #2200 2021-12-10 10:42:13 +01:00
Ray ae13f438ba Update Makefile.Web 2021-10-22 23:08:42 +02:00
Ray fba117478d Update Makefile.Web 2021-10-20 11:40:46 +02:00
raysan5 2e151408bb REVIEWED: models_yaw_pitch_roll 2021-10-19 14:58:04 +02:00
raysan5 f437f7b405 Reviewed makefile and examples building 2021-10-17 21:00:52 +02:00
raysan5 6243466770 Create Makefile.Web 2021-10-17 19:10:33 +02:00