Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
glfw_php8.3_nts_x64.zip | 2024-11-19 | 384.3 kB | |
glfw_php8.3_ts_x64.zip | 2024-11-19 | 384.3 kB | |
glfw_php8.2_nts_x64.zip | 2024-11-19 | 383.2 kB | |
glfw_php8.2_ts_x64.zip | 2024-11-19 | 383.1 kB | |
glfw_php8.1_ts_x64.zip | 2024-11-19 | 383.3 kB | |
glfw_php8.1_nts_x64.zip | 2024-11-19 | 383.4 kB | |
README.md | 2024-11-19 | 1.8 kB | |
v2.2.1 source code.tar.gz | 2024-11-19 | 2.0 MB | |
v2.2.1 source code.zip | 2024-11-19 | 2.5 MB | |
Totals: 9 Items | 6.9 MB | 3 |
What's Changed
- We now officially support PHP 8.3.
- You can now install php-glfw via
pie
on linux and macOS. Windows will follow.
Gamepad and Joystick Support
- New GLFW Functions Implemented:
glfwGetJoystickAxes
glfwGetJoystickButtons
glfwGetGamepadAxes
glfwGetGamepadButtons
- Examples:
- Joystick Input Example: Demonstrates accessing joystick/gamepad input.
- Asteroids Game Example: A simple game showcasing the vector graphics library with gamepad support.
Video Mode Functions
- New GLFW Functions Implemented:
glfwGetVideoModes
glfwGetVideoMode
- Features:
- Retrieve available video modes for monitors.
- Access current video mode settings.
New Examples Added
- Joystick Input:
examples/vg/input_joystick.php
- Asteroids Game:
examples/vg/fun_asteroids.php
- Video Modes Display:
examples/vg/videomodes.php
GLFW Functionality Enhancements
- Nullable Parameters:
glfwSetWindowMonitor
now accepts a nullablemonitor
parameter, allowing the function to set a window to windowed mode by passingNULL
.
Fixes
NanoVG Library Update
- Texture Wrapping Fix:
- Vector Graphics API images changed
GL_CLAMP_TO_EDGE
toGL_CLAMP_TO_BORDER
, addressing potential texture wrapping issues.
PRs
- Gamepad & Joystick Support by @mario-deluna in https://github.com/mario-deluna/php-glfw/pull/34
Full Changelog: https://github.com/mario-deluna/php-glfw/compare/v2.2.0...v2.2.1
Windows DLL
You can find the windows dll
files attached to the release:
- PHP 8.x Thread Safe x64
glfw_php8.x_ts_x64.zip
- PHP 8.x Non Thread Safe x64
glfw_php8.x_nts_x64.zip