Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - profk

Pages: [1]
SFML projects / Simple Fast SFML Physics
« on: April 26, 2022, 07:17:33 pm »
I have written a VERY simple physics library that is designed to be used with SFML.  At its highest level it has pre-integrated physics shape classes.  The API is designed to be easy and mimics the SFML pointerless API approach.

Right now it ONLY handles AABBs and circular bounds and that is all I expect to add to it myself.  It has "PhysicsShape" classes right now for RectangleShape and CircleShape.  I do intend to add similar wrappers for the other SFML shape classes soon.

There is NO documentation yet, sorry, I'll get to it when the examples and features are done.  There is however a working breakout example.

The library is available on github as https://github.com/profK/SFPhysics and as a nuget package at https://www.nuget.org/packages/SFPhysics/

The breakout example is also in github at https://github.com/profK/Breakout2

The actual code for collision detection and response is heavily borrowed from:

I should note that, although individual collision resolutions are very fast, it over-all scales at O(n^2).  Optimizations are on the dev list.

SFML projects / Simple SFML/Box2D example
« on: January 17, 2022, 08:09:02 pm »
I just released the following example project for my students.
I am still working on adding audio and complete documentation.


SFML projects / Working C++ Nuget package for Visual Studio 2019
« on: January 12, 2022, 05:54:24 pm »
Based on SFML 2.5.1 releases
Supports all build modes (Win32/x64, Debug and Release)
By default it builds with the dynamic libs and copies them to the output directory automatically.

Created for my C++ students.

Nuget: https://www.nuget.org/packages/SFML_VS2019/

Github:  https://github.com/profK/SFML-VS2019-

Pages: [1]