Releases: 123outerme/CoSprite
CoSprite v0.12.0
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 andcheckFile()output - Fixed memory error in
cGetInputStatedefault output - Fixed errors in
cSpriteandc2DModelcollision functions - Converted
getDistance()into adouble-using function - Added
csSpriteCurlvariable cert path and verbose options, and POST/PUT/PATCH functions - Added add/remove functions to
csMapfunctionality - Added functions that automatically transposes between camera coords and pixel (window) coords
- Added
cFontstruct and appropriate functions, and placed one in thecoSpritestruct for access to font information - Added
cLoggerstruct 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
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
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
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
globalvariable of typecoSprite. This hosts your coSprite's initialization data such as window information, custom transparent color key, and more. - Added
c2DModelexport/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
Another version is available! CoSprite is a 2D game engine using SDL2.
Changelog:
- All drawing functions use
doubleinstead ofintuntil finalSDL_Rectis used to draw - Implemented double-type rect and point structures,
cDoubleRectandcDoublePtto increase the precision of drawing. Graphics struct init functions now usecDoubleRectandcDoublePtin drawing drawCScene()now has aclearScreenargument. 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
Another version is available! CoSprite is a 2D game engine using SDL2.
Changelog:
- Removed
csMain.c/csMain.h, and merged intocsGraphics.candcsGraphics.h, respectively. - Fixed issue with some objects not properly rotating around the center of the screen.
- Added extra
fixedOverrideargument todrawCSprite(). This is used bydrawC2DModel()to pass inc2DModel.fixed. - Added extra
centerfield and argument tocSpriteandinitCSprite(), alsoc2DModelandinitC2DModel, 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
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).