Josh Posted December 27, 2025 Author Posted December 27, 2025 5.0.2 beta Fixed a bug where max acceleration was being ignored in player physics. Added missing Entity:GetAngularVelocity method to Lua API. 2 Let's build cool stuff and have fun.
Josh Posted December 30, 2025 Author Posted December 30, 2025 5.0.2 beta Added program:SetViewportLayout() to editor scripting API. Start scripts will execute later in the program startup sequence now, right before the main window is shown. Let's build cool stuff and have fun.
Josh Posted December 31, 2025 Author Posted December 31, 2025 5.0.2 beta Update for bug report: 1 Let's build cool stuff and have fun.
Josh Posted 7 hours ago Author Posted 7 hours ago 5.0.2 beta I found a new library Microsoft has for low-latency thread-safe device input that doesn't clog the event queue with thousands of events. This is exactly what we need to support gaming mice with the lowest possible latency. However, there are two downsides to it: When this is implemented, C++ projects will require the GameInput nuget package be added to them. The feature is not guaranteed to be installed on all versions of Windows. There's a redistributable you can include in your installer, but we have seen from experience users will not install it, or the install will occasionally fail, or they will disable the feature, etc. Still, the Microsoft GameInput library is the ONLY way to do what we want. Therefore we will roll this out gradually. The new project template includes the GameInput nuget package by default, but existing projects do not yet require this to compile. Window::GetMouseAxis is removed from the API, to be replaced in the future with another command. The experimental Camera::SetMouseLook feature is removed, to be implemented in the future using GameInput. The only stock script that was using Window::GetMouseAxis was the CameraControls script. That code has been updated to do away with the calls to GetMouseAxis. The idea here is to make it so new C++ projects by default will be compatible with future GameInput support, but I don't think this feature justifies the introduction of incompatibility with existing C++ projects yet. If you want to add the package to your project, just select the Tools > NuGet Package Manager > Manage Nuget Packages for Solution... menu item, search for "GameInput" and apply to the project. YOU DO NOT NEED TO DO THIS. Even when this feature is completed, you will still need to check to see if the feature is installed on the user's computer, so if you want to support high-DPI gaming mice, you will still need a fallback mode in case the feature is not supported on the user's machine. For now I strongly recommend just relying on standard mouse input (Window::GetMousePosition). Let's build cool stuff and have fun.
Josh Posted 4 hours ago Author Posted 4 hours ago 5.0.2 beta Stack reserve size in new C++ projects is increased to four megabytes by default: Let's build cool stuff and have fun.
Recommended Posts