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
vor 3 Jahren
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
vor 3 Jahren
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
vor 3 Jahren
Ray
dcf52c132f
Remove trail spaces
vor 3 Jahren
Ray
45c964c1e6
Update core_vr_simulator.c
vor 4 Jahren
Ray
bafa13f207
Update core_vr_simulator.c
vor 4 Jahren
Ray
ed96bc6441
Update core_vr_simulator.c
vor 4 Jahren
Ray
b3f75b91ff
REDESIGNED: Vr stereo mode
vor 4 Jahren
Ray
84d0d21f23
Reviewed Vr stereo
vor 4 Jahren
Ray
71b86bf4d0
REDESIGNED: Vr stereo rendering
vor 4 Jahren
raysan5
736d5920c7
Update core_input_gamepad.c
vor 4 Jahren
Jeffery Myers
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
Ray
a76fcaba3e
BIG CHANGE: REDESIGNED: Vr device simulator #1582
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
vor 4 Jahren
Ray
442abaab72
Updated example assets
vor 4 Jahren
Ray
8527dbc6e2
WARNING: REMOVED: GamepadNumber enum
vor 4 Jahren
Ray
07d82a91c5
WARNING: BREAKING: RENAMED: camera.type to camera.projection
vor 4 Jahren
Ray
fe3256be9f
Renamed some functions to use latest raylib version
vor 4 Jahren
Ray
915b0780d6
Update core_3d_picking.c
vor 4 Jahren
Jeffery Myers
48a7cd3c87
[Examples] Fix typecast warnings in examples. ( #1601 )
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
Rabia Alhaffar
d96b422809
Fixed example doesn't show gamepad for Xbox 360 controllers with different drivers ( #1597 )
vor 4 Jahren
raysan5
00a0461c7a
REDESIGNED: VS2019 build paths
REMOVED: core_basic_window.cpp
vor 4 Jahren
raysan5
abdd57db0b
Review comments formating
vor 4 Jahren
Matheus Duarte
227496bea7
providing and example on how to apply the screen scale (as done in the virtual mouse) to the real mouse, to work with raygui ( #1481 )
vor 4 Jahren
raysan5
b68e522ffc
Updated several files while porting examples to web
vor 4 Jahren
raysan5
d9a9bacb48
Review formatting
vor 4 Jahren
Ray
62406259d7
Corrected minor windows flags issues
vor 4 Jahren
Ray
7955381fb3
Update core_basic_window.c
vor 4 Jahren
Ray
7e9028ae08
Update user name
vor 4 Jahren
Ray
1c9726fd8c
Update core_window_flags.c
vor 4 Jahren
Ray
3d1ae3500c
REVIEWED: Window state flags -WIP-
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()
vor 4 Jahren
Ray
468a0bedd8
REDESIGNED: Window state config #1367 -WIP-
Some flags not working properly yet...
vor 4 Jahren
Ray
8e15dae5ed
Review contributed examples
vor 4 Jahren
Ray
41192c6d4a
Replace 0.f by 0.0f
vor 4 Jahren
Ray
a4ea9f872f
Review "aggregate initializations" #1403
vor 4 Jahren
chriscamacho
d140dc81c0
work on quat and matrix math - deleted multiple copies of raymath.h causing issues ( #1359 )
Co-authored-by: codifies <nospam@antispam.com>
vor 4 Jahren
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
vor 4 Jahren
raysan5
6fb5207694
Update resources LICENSE
vor 4 Jahren
raysan5
fed4716c3b
resources PNG chunks cleaning
vor 4 Jahren
Mickaël Malécot
0bd64b7975
Gamepad axis bug fixes and improvement ( #1228 )
* Fix gamepad axis count
* Fix Xbox axis drawing
* Ignore low axis values
* Revert "Fix gamepad axis count"
This reverts commit f08ae4bf
* Fix GamepadAxis API
* Fix conflict with master
* Revert Gamepad MAX definitions
* Revert MAX_GAMEPAD_AXIS update
vor 4 Jahren
raysan5
6a8e4795da
Update core_input_multitouch.c
vor 4 Jahren
raysan5
00b3199859
Added raymath to examples
vor 4 Jahren
raysan5
44961d1975
Update core_basic_window.c
vor 5 Jahren
raysan5
a5e1aff99b
[example] Integrate virtual mouse in main example
vor 5 Jahren
raysan5
05abaee0e0
Update core_window_letterbox_virtual_mouse.c
vor 5 Jahren
Anata
c45fe62abc
Add files via upload ( #1147 )
Virtual mouse with window letterbox, and Clamp
vor 5 Jahren
Ray
5ff0776235
Remove trail spaces and some tweaks
vor 5 Jahren
Ray
23bde477e5
REDESIGN: LoadStorageValue()/SaveStorageValue()
Using new file I/O ABI
vor 5 Jahren
Ray
2294947660
Update core_storage_values.c
vor 5 Jahren
Ray
cacd4a9d90
Some examples tweaks
vor 5 Jahren
Ray
9f79ed2972
Create core_2d_camera_platformer.png
vor 5 Jahren