Skip to content

Releases: 123outerme/CoSprite

CoSprite v0.12.0

01 Sep 00:19

Choose a tag to compare

CoSprite v0.12.0 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.

Changelog:

  • Fixed strange behavior in drawing objects, especially in non-standard (i.e. not based on pixel/window coordinate) camera coordinate systems
  • Added FPS counter and framecap to drawCScene()
  • Fixed readLine() memory usage and checkFile() output
  • Fixed memory error in cGetInputState default output
  • Fixed errors in cSprite and c2DModel collision functions
  • Converted getDistance() into a double-using function
  • Added csSpriteCurl variable cert path and verbose options, and POST/PUT/PATCH functions
  • Added add/remove functions to csMap functionality
  • Added functions that automatically transposes between camera coords and pixel (window) coords
  • Added cFont struct and appropriate functions, and placed one in the coSprite struct for access to font information
  • Added cLogger struct and appropriate functions

Issues:

  • [unconfirmed] MTV is sometimes spit out incorrectly (I assume in the opposite direction as it is intended)

Note: Unconfirmed issues are ones that are most likely fixed, but not fully tested

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.10.5

30 Apr 03:55

Choose a tag to compare

CoSprite v0.10.5 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.
NOTE: from release of this version up till d032173, there seemed to have been some problem assembling this newer version with csCurl and csMap. The assembled .zips likely do not work.

Changelog:

  • Added loading/unloading functions for individual cScene parts
  • Added a cURL extension, and a JSON interpreter extension
  • Added cInputState, a verbose input state object to be used with the new input function cGetInputState
  • Allowed a cCamera to be passed to cResources when drawing
  • Fixed a lot of issues with intent errors in various functions like initCoSprite, checkFile, the collision functions, and rotatePoint

Issues:

  • [stale] MTV is sometimes spit out incorrectly (I assume in the opposite direction as it is intended)

Note: Stale issues are ones that are most likely not fixed, but not tested since changes that may affect their behaviors

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.10.0

12 Jul 02:48

Choose a tag to compare

CoSprite v0.10.0 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.

Changelog:

  • Added Minimum Translation Vectors (MTVs) to collision routine (note: note entirely bug-proof afaik)
  • Added Window Flags to init function
  • Added text input handling function
  • Updated custom keymap code
  • Optimized cText drawing: now requires cTextUpdate() to be run to change the text, but no longer re-constructs the text texture when not necessary
  • Renamed "priority" to "renderLayer"
  • Added ability to add as many render layers as possible

Issues:

  • MTV is sometimes spit out incorrectly (I assume in the opposite direction as it is intended)
    Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.9.0

17 Oct 15:23

Choose a tag to compare

CoSprite v0.9.0 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.

Changelog (since v0.7.0):

  • All drawing functions now round their positions
  • Implemented window opening and closing routines. More support for that soon.
  • Added global variable of type coSprite. This hosts your coSprite's initialization data such as window information, custom transparent color key, and more.
  • Added c2DModel export/import functions
  • Fixed scaling

Issues:

  • No known issues

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.7.0

17 Oct 15:22

Choose a tag to compare

CoSprite v0.7.0 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.

Changelog:

  • All drawing functions use double instead of int until final SDL_Rect is used to draw
  • Implemented double-type rect and point structures, cDoubleRect and cDoublePt to increase the precision of drawing. Graphics struct init functions now use cDoubleRect and cDoublePt in drawing
  • drawCScene() now has a clearScreen argument. If true, will clear the screen before drawing

Issues:

  • No known issues

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.6.0

30 Aug 17:38

Choose a tag to compare

CoSprite v0.6.0 Pre-release
Pre-release

Another version is available! CoSprite is a 2D game engine using SDL2.

Changelog:

  • Removed csMain.c / csMain.h, and merged into csGraphics.c and csGraphics.h, respectively.
  • Fixed issue with some objects not properly rotating around the center of the screen.
  • Added extra fixedOverride argument to drawCSprite(). This is used by drawC2DModel() to pass in c2DModel.fixed.
  • Added extra center field and argument to cSprite and initCSprite(), also c2DModel and initC2DModel, respectively. Pass NULL to the init functions to receive the default center (w/2, h/2).

Issues:

  • No known issues

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. All modules are perfectly standalone.

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).

CoSprite v0.5.1

28 Aug 18:58

Choose a tag to compare

CoSprite v0.5.1 Pre-release
Pre-release

The first publicly released version is available! CoSprite is a 2D game engine using SDL2.

Included in the packages are the source files and the .a file. You can use the source files to compile into any program you want, or make another static lib with just the library pieces you want. If you include csGraphics, you must include csMain in it. All others are perfectly standalone. Working on this soon!

Download cs.zip if you want libCoSprite.a pre-built. It comes with a test execute folder and the test program, as well.
Download cs-bin.zip if you want to build your own version. It comes with the Makefile, the source code, a pre-built libCoSprite.a, and another test execute folder (without the test program).