A cross-platform 2D game engine
MIT License
Bot releases are hidden (Show)
This is the third nCine release.
277de2df1ba30362a0cfa2b6aa5faada
)d8786d042e5f2e105581f031a4404bfa
)cdd0aa4779bec50b3bd302394eaa1d03
)3164085c0c95285b1166205d46ba3512
)1575815808cd51580ac8a11e5c5c5264
)flipX()
and flipY()
sprite methods
setFlippedX()
and setFlippedY()
setOpaqueTexture()
sprite method
setBlendingEnabled(false)
Matrix4x4<T>::scale()
static method has been renamed to Matrix4x4<T>::scaling()
dataPath()
and savePath()
methods of IFile
have been moved to the new FileSystem
class
access()
method of IFile
have been superseded by the more powerful query methods of the FileSystem
classnc.application.datapath()
Lua function is now nc.fs.get_datapath()
children()
method of a SceneNode
now returns a nctl::Array
apptest_anchor
application that shows all new node featuresFileSystem
class has been added to help you query and manipulate paths, files, and directories
apptest_filebrowser
application that shows an ImGui based file browserColorHdr
classIAppEventHandler
class now receives onSuspend()
and onResume()
eventsonPreInit()
onPreInit()
Matrix4x4<T>
can now translate, rotate and scale in place, avoiding a full matrix multiplication
AppConfiguration
classconst char *
as key typeIGfxDevice::setSwapInterval()
String::append(const char *)
overload will prevent allocating a string object when appendingcompileSDKVersion
and targetSDKVersion
have all been updated to newer versionsTextNode
boundaries does not introduce a one frame delay on updateThis release is packaged together with:
The Android libraries have been compiled with NDK r21b for armeabi-v7a
, arm64-v8a
and x86_64
.
Published by encelo about 5 years ago
This is the second nCine release.
8e505ffe0ec256688e85e00dbbe7ec17
)63d93c1cdba532c002fd59b0094e1dd2
)99d9fc5b22a51286fe76bf8634316390
)1cff45df92503c773ca2dc1d2f31dc78
)1554b5a3d906d7c3bd62f50c53eb2f85
)Font
constructor has now inverted parameters: fntFilename
as first and texFilename
as second
SceneNode::parentNode()
getter has been renamed to just parent()
, to be consistent with the new setParent()
setterxResolution
and yResolution
fields of the AppConfiguration
class have been replaced by a single 2D resolution vector
setResolution()
helper method has been removed as it is now possible to call resolution.set()
x_res
and y_res
have been replaced by the resolution
2D vectorfontTexFilename
and fontFntFilename
strings in the AppConfiguration
class have been deletedwithProfilerGraphs
and withInfoText
flags in the AppConfiguration
class has been unified into a single withDebugOverlay
flag
true
to enable the debug overlay even when your application is compiled in debug modenctl::String::copy()
methods have been turned into assign()
methods in order to be more consistent with STLTimer::now()
method has been removed, refer to the new TimeStamp
classIGfxDevice
interface has been enriched with methods to query the current video mode, the list of available ones and to set a new modedeferShaderQueries
flag has been added to the AppConfiguration
classes
true
all the shader error checks and introspection queries are deferred upon the first use of the shader, if it is ever used.Font
class now relies on FntParser
class to extract all the data from a FNT file
Font
class can be constructed with a single parameter: the FNT file. The texture will be loaded according to the file specified in the first page
tag.SceneNode
classes has seen the addition of long awaited helper methods in the shape of setParent()
, alpha()
and absAlpha()
parent->addChildNode(this)
set_parent()
, get_alpha()
and set_alpha()
TimeStamp
class can be used to collect timestamps at the full precision of the internal clock
Time
class has been enhanced with stop()
and totalTime()
methods to aggregate multiple time spansTimeStamp
class are also accessible through the Lua APIassign()
a certain numbers of characters from a C string to an nctl::String
objectGLBlending
, GLDepthTest
and the new GLCullFace
classFont
class has a new query method, numKernings()
, to retrieve the number of kerning pairs in a font (it is called num_kernings()
in Lua)AnimatedSprite
and the array of rectangles in a RectAnimation
nctl::UniquePtr
wrapping forward declared classes have been fixed. They could have sometimes led to incorrect object deletions and possible leaks. ๐จncTemplate
project
nCine-data/icons/icon.ico
file instead of the old nCine.ico
CPACK_PACKAGE_VENDOR
and CPACK_PACKAGE_HOMEPAGE_URL
variables correctly setGL_MAX_UNIFORM_BLOCK_SIZE
is now clamped to 64kB because some OpenGL drivers might return very big numbersThis release is packaged together with:
The Android libraries have been compiled with NDK r20 for armeabi-v7a
, arm64-v8a
and x86_64
.
Published by encelo about 5 years ago
This is the first release of the project and it is based on the source code initially published at the end of May 2019.
e080f1573e0796e7c46932aca12f3164
)bfec0f3d9915d251c3615bd94cdb1cf2
)3d27b7eca1ea9fa831c66e470f614baa
)ced631b0d69e11f3190c0026871ecbea
)58abb3a9bffc619b789363aa0c123c8b
)This release is packaged together with:
The Android libraries have been compiled with NDK r20 for armeabi-v7a
, arm64-v8a
and x86_64
.