From 7ee3133b52a4de2be8522cd561c47030eaf567f2 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 16 Jan 2015 23:12:34 +0800 Subject: [PATCH 1/3] [ci skip] update releasenotes --- docs/RELEASE_NOTES.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index faadb071d5..031f5cf81a 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -126,7 +126,12 @@ Please refer to this document: [ReadMe](../README.md) # v3.4rc1 ##Highlights of v3.4rc1 +* C++: added CC_USE_CULLING macro to control if enable auto culling or not +* FileUtils::fullPathForFilename will return empty string when file can not be found +* VertexBuffer&IndexBuffer: allow setting usage(GL_STATIC_DRAW or GL_DYNAMIC_DRAW) in create method +* Renderer: 3D rendering support for 2d objects +##Features in detail ###3D rendering support for 2D objects This feature enables Sprite, Label, Particle to be rendered in 3D space by adding them as children of Sprite3D or Billboard. You can achieve effects like blob shadow, 3D particle, Visual damage number popups ```c++ @@ -135,6 +140,17 @@ auto label = Label::create(); label->setString("+100"); billboard->addChild(label); ``` +###culling is now an options by CC_USE_CULLING macro +Culling is an important features in cocos2d-x v3.x, but some developer may not want to use culling when all of the scene exist in one screen. A macro `CC_USE_CULLING` in `CCConfig.h` can be used to enable or disable culling. + +##Bugs fixed in v3.4rc1 +* DrawNode: fix random crash because of init opengl buffer wrongly +* DrawNode: drawPoints() can not set ponit size +* EventDispatcher: crash if adding/removing event listeners and dispatching event in event callback function +* GLProgramState: may cause GL_INVALID_VALUE error at start up on Android +* LUA: 0x80000000 can not be converted by lua_tonumber correctly on some devices +* PhysicsBody: can't get correct position in the same frame of adding PhysicsBody to PhysicsWorld +* UI: fix crash when navigation controller is null # v3.4rc0 ##Bugs fixed in v3.4rc0 @@ -150,9 +166,6 @@ billboard->addChild(label); # v3.4beta0 ## Highlights of v3.4beta0 - - - ## Features in detail ### Create Sprite3D asynchronously From 9e073f5445e5516eeaa8ded551be20ec13a1a3fa Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 16 Jan 2015 23:13:59 +0800 Subject: [PATCH 2/3] [ci skip] update releasenotes --- docs/RELEASE_NOTES.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 031f5cf81a..26232032c4 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -3,7 +3,6 @@ **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* -- [cocos2d-x v3.4 Release Notes](#cocos2d-x-v34-release-notes) - [Misc Information](#misc-information) - [Requirements](#requirements) - [Runtime Requirements](#runtime-requirements) @@ -16,12 +15,15 @@ - [How to start a new game](#how-to-start-a-new-game) - [v3.4rc1](#v34rc1) - [Highlights of v3.4rc1](#highlights-of-v34rc1) - - [Adding 3D rendering support for 2D objects](#adding-3d-rendering-support-for-2d-objects) + - [Features in detail](#features-in-detail) + - [3D rendering support for 2D objects](#3d-rendering-support-for-2d-objects) + - [culling is now an options by CC_USE_CULLING macro](#culling-is-now-an-options-by-cc_use_culling-macro) + - [Bugs fixed in v3.4rc1](#bugs-fixed-in-v34rc1) - [v3.4rc0](#v34rc0) - [Bugs fixed in v3.4rc0](#bugs-fixed-in-v34rc0) - [v3.4beta0](#v34beta0) - [Highlights of v3.4beta0](#highlights-of-v34beta0) - - [Features in detail](#features-in-detail) + - [Features in detail](#features-in-detail-1) - [Create Sprite3D asynchronously](#create-sprite3d-asynchronously) - [Frustum culling](#frustum-culling) - [Use less resources to create ui::CheckBox and ui::Slider](#use-less-resources-to-create--uicheckbox-and-uislider) From f59a50a2f6d12937a98db48e46761170130284c0 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 16 Jan 2015 23:16:00 +0800 Subject: [PATCH 3/3] [ci skip] update releasenotes --- docs/RELEASE_NOTES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 26232032c4..b9529c6687 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -17,7 +17,7 @@ - [Highlights of v3.4rc1](#highlights-of-v34rc1) - [Features in detail](#features-in-detail) - [3D rendering support for 2D objects](#3d-rendering-support-for-2d-objects) - - [culling is now an options by CC_USE_CULLING macro](#culling-is-now-an-options-by-cc_use_culling-macro) + - [Culling is now an options by CC_USE_CULLING macro](#culling-is-now-an-options-by-cc_use_culling-macro) - [Bugs fixed in v3.4rc1](#bugs-fixed-in-v34rc1) - [v3.4rc0](#v34rc0) - [Bugs fixed in v3.4rc0](#bugs-fixed-in-v34rc0) @@ -142,7 +142,7 @@ auto label = Label::create(); label->setString("+100"); billboard->addChild(label); ``` -###culling is now an options by CC_USE_CULLING macro +###Culling is now an options by CC_USE_CULLING macro Culling is an important features in cocos2d-x v3.x, but some developer may not want to use culling when all of the scene exist in one screen. A macro `CC_USE_CULLING` in `CCConfig.h` can be used to enable or disable culling. ##Bugs fixed in v3.4rc1