Skip to content

Releases: ThatGuy-GEWP/SFML-GE

v0.6.1

16 Oct 23:12
Compare
Choose a tag to compare

v0.6.1

NuGet Package

Changes

RandomGen:

  • RandomGen.Next() is now identical to Random.Next(), old functionality is now in RandomGen.NextSingle()
  • RandomGen.Next(float max) now moved to RandomGen.NextSingle(float max)
  • RandomGen.Next(float min, float max) now moved to RandomGen.NextSingle(float min, float max)
  • RandomGen.NextBool() added.

Project Stuffs:

  • Project.ResourceDir can now properly be null to indicate that no resources should be loaded.

Gradients:

  • Changes Gradient1D to ColorGradient
  • Changes FloatCurve to FloatGradient
  • Adds GradientEasing enum, Linear and Constant.
  • Fixes up some typos and missing documentation in both classes

GUI Fixes:

  • GUIButton hover ended events should now fire correctly, and it also resets the cursor properly.

Scene Stuffs:

  • Scene.ClearScreen and Scene.ClearColor added

Project stuff:

  • Tests are now shorter
  • added tests for making sure random isnt biffed
  • added tests for seeing if scene clearing works
  • Makes tests use a smaller screen size to avoid texture errors with OpenGL

As always, the template is attached below.

0.6.0-beta

11 Oct 19:32
946b2fc
Compare
Choose a tag to compare

Big Changes to Project Structure

The basis of this repository was built on an upgraded local project when my internet was out for a month ages ago, as a result the project name was "SFML-GE local deps" and stayed that way for almost a year despite the namespace not even remotely matching

This release changes the structure of the repository to fix that, and also switches it to a class library and now includes a tests folder that uses MSTests to, well test stuff.

Changes:

  • Tests: Some basic tests have been added to validate that any changes made don't break stuff and are release ready
  • Namespaces: SFML_Game_Engine changed to SFML_GE
  • Publicity changes: Now that this is in its own proper package, lots of functions that shouldn't be called by the end user are now properly under the internal access modifier, such as AudioManager RenderManager ect..
  • More Documentation: lots of undocumented classes got that fixed, and so did many undocumented properties and methods
  • Camera fixes: camera bounds were not aligned properly due to that 3am coding i did when making them awhile ago
  • Mouse position fixes: due to Scene getting its own shader layer, the app view was sometimes reset to default, and Scene.GetMouseWorldPosition() wouldn't work correctly and return the screen position always, this has been fixed.
  • more I'm forgetting: Its hard to see exactly everything that's changed, since its all in a new folder.

This should be the last time a big file structure change like this is made, i have no plans to migrate the namespace name again.

NuGet versions will also have an extra 0 on them, so 0.6.0 will be 0.60.0 on NuGet.
I also biffed up tags in the process of this all, shouldn't happen again!

As always, the template is attached below.

v0.5.0-beta

16 Jun 15:36
d04eb3e
Compare
Choose a tag to compare

The beta version of v0.5.0,

Contains the new GUI system, RichText, and many other small fixes/changes

The most notable commits in this version are:
eb4a64f
7eb053f
ea02300

Skipping to 0.5 due to the many changes to names and methods that would break older versions, such as ZOrder moved to gameObject, naming conventions that weren't followed in the previous version, and the GUI rewrite.

The attached ZIP is a Template for Visual Studio 2022, you can add it to:
"C:\Users\{user name here}\Documents\Visual Studio 2022\Templates\ProjectTemplates"

v0.5.7-beta

09 Oct 10:42
Compare
Choose a tag to compare

NuGet Package

NuGet packages will now be released alongside GitHub releases more or less.

General Changes:

  • GameObjects can no longer share names 96a665c
  • GameObject.GetComponentsOfDecendents() added 96a665c
  • Destroy has been streamlined, and should run properly now
  • Massive XML Documentation pass
  • A Basic debug viewer/editor "GUIEditor" added.
  • Vector2 fixes and improvements f8dc07a 8bc1974
  • Boundbox improvments 3835810
  • A Basic particle system prototype 9374f8e
  • A new shorthand for creating a GameObject and attaching a component to it in one line 8af459e
  • Get Scene by name with Project.GetScene()
  • Name changes for position 7a7e7c4
  • CursorState added to Project, to read and change the state of the cursor more easily

ZOrder Changes:

  • ZOrder is now a GameObject property
  • IRenderables have a "ZOffset" property to change how they are rendered relative to the GameObject's ZOrder
  • GameObject ZOrder is now part of a tree in Scene.ZTree, a dictionary with lists at the given key (I.E ZTree[5] will contain a list of gameobjects in that ZOrder)

Bugfixes:

  • LOTS of GUI fixes

As always, a QuickStart template for Visual Studio 2022 is below
(Template name in studio is v0.56 but its actually v0.57!)

v0.4.0

29 Apr 00:05
Compare
Choose a tag to compare

Currently semi-stable release, not too many known bugs so please report any you find! or better yet, fix em!!