Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon Join the GFS Discord Server!
24. June 2020


CocosCreator, a free Cocos2d-x powered cross platform game engine, just released a version 2.4.0.  If you are interested in learning more about Cocos Creator, check out our complete Cocos Creator tutorial series available here.

Details of Cocos Creator 2.4.0:

This update brings more new features, optimizes performance and improves stability. Efficiency is everything! This version contains many new features and updates, such as resource management system refactoring, asset bundles, optimized the performance of graphic rendering.

The key new feature being the new asset manager with the following features:

  • Supports loading and pre-loading of all resources, pre-loading can run silently in a lighter way, without affecting operation efficiency.
  • Supports Asset Bundles.
  • Supports a more secure automatic release mechanism, no need to consider its reference when releasing resources, to avoid mistaken release of resources.
  • Support download failure retry, download priority, download concurrent number and other settings, which can be adjusted according to various situations.
  • Support more convenient custom loading process to achieve special effects.

More details of the Cocos 2.4.0 release is available on the blog here.  You can learn more about Cocos Creator and this release in the video below.

GameDev News


18. February 2020


Cocos Creator, the free Cocos2D-x powered cross platform game engine, just released version 2.3.  The 2.3 release adds more 3D functionality to the previously 2D game engine including 3D physics and particle systems, as well as other improvements such as DragonBones and Spine mount point support, an upgrade to the material system and more.  Cocos Creator is available as a free download for both Mac and Windows.

Details from the Cocos Release Notes:

After a long period of development and preparation, and after a memorable Spring Festival, Cocos Creator v2.3 is officially released. v2.3 is a very important version that officially integrates support for 3D physics, collisions, and 3D particles, and is capable of developing more types of 3D games! At the same time, the material system has been upgraded from the experimental version to the official version, which can greatly improve the expressiveness of a game. It is recommended that all developers upgrade! Please perform the necessary technical evaluation and backups before upgrading.

Major new features include:

  • Qutoutiao (QTT) mini game support
  • 3D physics support(rigid body, Box/Sphere collision components, trigger and collision events, physical materials, ray detection, etc)
  • 3D light weight collision system “Builtin”
  • 3D Particle Systems
  • Material System upgrade
  • Spine & DragonBones mount node support
  • Spine binary format support
  • Build Scripts Only option
  • 3D viewport options (Wireframe, Normal)
  • Plus several other fixes and improvements

If you are interested in learning Cocos Creator, check out our complete tutorial series available here or our hands-on video available here.  To learn more about the 2.3 release check out the video below.

GameDev News


3. December 2019


Cocos2d-x, the long running cross platform framework for developer 2D games, just released version 4.0 today.  The biggest new feature is Metal support for iOS and MacOS platforms, pretty much a requirement with Apple deprecating support for OpenGL.

Details of the 4.0 release from the Cocos2d-x forums:

  • support metal on iOS/macOS
  • use CMake for all platforms
  • update GLFW to 3.3
  • update minizip to 1.2
  • remove deprecated functions
  • remove h5 engine and JSB
  • remove tiff
  • remove SimpleAudioEngine
  • remove experimental namespace
  • fix bug that system font can not work correctly on macOS 15
  • fix lua crash on 64-bit devices
  • fix bugs for iOS 13
    • UIWebView uses WKWebView instead
    • VideoPlayer uses AVPlayerController instead

Cocos2d-x 4.0 is currently only available for download using the link above, as the main site has not yet been updated.  The above link also contains some documentation on migrating your project to 4.0.

If you are interested in learning more about Cocos2d-x be sure to check out our tutorial series available here.  Cocos2d-x is a completely open source project hosted on GitHub.  To learn more about the 4.0 release and Cocos2d-x in general, be sure to check out the video below.

GameDev News


27. September 2019


Cocos2D-x, a popular open source cross platform C++ powered game framework, just released the first release candidate of Cocos2D-x 4.0.  Highlight features of RC0 over that last Beta 0 release include:

  • optimize Sprite creation speed
  • add some documentations
    • migration from v3 to v4 or using using v4 with cocopod can refer to this doc 4
    • new concept of v4 can refer to the docs 6
    • API changes doc is here 1
    • some examples can be found here 2
  • update luajit to latest 2.1
  • update GLFW to 3.3
  • remove tiff
  • Webview and VideoPlayer adapt to iOS 13
  • fix system font issue on macOS 15
  • fix memory leak on mac
  • many bugs fixed

Cocos2D-x 4 RC0 is available for download here.  If you are interested in learning Cocos2D-x, we have a 3.x based tutorial series available here.

GameDev News


30. April 2019


When Cocos Creator 2 was released, a major new feature was the new 3D renderer under the hood.  The 2.1.1 release starts to take advantage of that new functionality with a new 3D scene editor, a game preview panel, new lighting and 3d primitive support and more.  If you are interested in learning Cocos Creator, be sure to check out our tutorial series available here.


Details of the release from the Cocos Creator forum:

Cocos Creator v2.1.1 released!

Since the release of Cocos Creator 2.1.0, we have received a lot of valuable suggestions from users. Based on previously announced plans, we will continue to speed up the iteration of the v2.1 series to implement user suggestions as quickly as possible. At the same time, in order to prevent these changes from affecting the stability of old projects, we only recommend upgrading projects with 3D requirements to v2.1. Other projects can continue to use v2.0, and wait until v2.2 is released before upgrading. This v2.1.1 upgrade mainly supports 3D scene editing, camera preview, lighting system, and also incorporates the latest 2.0.x changes.

What’s New

Support 3D scene editing

The Scene Editor allows you to switch to 3D editing mode with one click, making it easy to edit 3D objects, cameras, and lights. See the 3D Scenes document 4 for details.

Add game preview panel

A separate preview panel has been added to visually preview the images seen by the camera during scene editing. Panel Open: Main Menu → Panel → Game Preview, the preview panel can be placed in a separate window or dragged into the main editor window.

s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553237527640_image

s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553237527640_image.png985×427 40.6 KB

Add 3D lighting and shadows

A Light component has been added to lay out lights in the scene, and a shadow effect can be set in conjunction with MeshRenderer. See the Light Source Component Reference 2 documentation.

s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553235837568_image

s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553235837568_image.png1100×746 307 KB

Upgraded EditBox component

Now, developers can set the Text Label, Placeholder Label and Background nodes separately, making them more flexible, simple, and more in line with the component development. See the EditBox Component Reference documentation.

Add text shadow rendering component

A new LabelShadow component has been added to add a shadow effect to the Label component, similar to the LabelOutline usage. See the Label Component Reference documentation.

Support for dynamically creating 3D Primitive models

Added cc.primitive module to dynamically create 3D models at runtime, including: box, cone, cylinder, plane, etc. See the Basic 3D Objects documentation.

Integrated Material System (Beta)

Added support for material systems, allowing users to create Material and Effect (Shader) resource types. It should be noted that the current material system is mainly provided to the internal use of the engine and is only for developer preview. We plan to upgrade the material system in v2.1.2, however it will not be back-ported to this version.

Improved features

Editor improvements
  • Added shortcut Ctrl/Cmd + Shift + F to align the currently selected node to the perspective of the scene editor.

  • When you click in the scene editor, you can hold down Ctrl/Cmd for multiple selections at the same time.

  • Improve fault tolerance processing for custom engines to avoid editor startup failure

  • Improve the search performance of the resource manager under very large projects

  • Add menu File -> Open project in new window to support simultaneous opening of multiple projects on Mac

  • Hide the component’s enabled checkbox when the component does not define the enabled associated lifecycle function

  • Upgrade the TypeScript version to 3.3.3333

Engine improvements
  • Make cc.Vec3 compatible with related APIs of cc.Vec2

  • Improved Label positioning accuracy in the editor and on different browsers (thanks to “Dacheng Xiaopeng” for advice)

  • Optimization 3D skeletal animation performance and volume

  • The cc.macro.CLEANUP_IMAGE_CACHE flag is enabled by default on the native platform to reduce texture memory usage

  • Native platform automatically verifies the maximum supported texture size of the current device

  • Add WeChat Mini game XMLHttpRequest support for timeout event [#87]

  • Added cc.sys.HUAWEI_GAME enumeration to determine if it is currently Huawei’s fast game platform

  • Optimized Android 5 system’s WebView compatibility

  • Allow iOS browser to play automatically when VideoPlayer is muted

Bug Fixes

Editor Fix List
  • Fixed an issue where BuildResults.getNativeAssetPath might not get the texture path

  • Fixed removal animation editor error message caused by the Animation Clip being edited

  • Fixed an object already destroyed warning that appears when you repeatedly enter Prefab edit mode

Engine Repair List
  • Fixed an issue where enabledInHierarchy is always false when the component does not define onEnable

  • Fixed an issue where ToggleGroup is not fully disabled when the active node is false

  • Fix Label’s opacity is not working

  • Fix Slider’s anchor settings will affect clicks [#4163]

  • Fix Particle System after playing, hide the node and display the problem of residual particles [#4243] 1

  • Fixed a memory leak issue that could be caused by too many particles in the particle system [#4256]

  • Fix native platform resources Download, XMLHttpRequest, WebSocket, SocketIO possible crash after request [#1721] [#1716]

  • Fix native platform XMLHttpRequest may crash due to timeout [#1724]

  • Fix native platform loading via IPV6 under the telecom network (WeChat avatar) file may fail [[#1713]] (https://github.com/cocos-creator/cocos2d-x-lite/pull/1715)

  • Fix native platform OpenGL draw error #4017

  • Fix native platform Label there may be black border issues when rendering system text [#130]

  • Fixed an issue where the audio file on the Android platform could not be loaded when it was not in OBB[#1611]

  • Fixed an issue where the Android platform received a touch event before the engine initialization was completed could cause a crash [#1715]

  • Fix Windows platform window may report an error when minimizing restore [#129]

  • Fixed Windows platform error when opening window [#1732]

  • Fixed an issue where the volume setting to 0 is invalid on Browser

  • Fix 3D Project incompatibleWeChat game Open Data Domain issue

  • Fix 3D model bone penetration problem [#4188]

Removed

  • Removed the creation entry for the CoffeeScript script. CoffeeScript scripts can still be created manually, and we plan to remove full support for CoffeeScript in v3.0.

See the new 3D functionality in action in the video below.

GameDev News


See More Tutorials on DevGa.me!

Month List