From 11149cc92dde5e53d431fee52cb9bd25c31404fd Mon Sep 17 00:00:00 2001 From: Nite Luo Date: Wed, 14 Jan 2015 14:51:42 -0800 Subject: [PATCH 1/5] Change release note --- docs/RELEASE_NOTES.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index ca8454e272..2c2311df24 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -62,7 +62,7 @@ You can run the samples... $ cd build $ ./android-build.py cpp-empty-test -p 10 $ adb install cocos2d-x/tests/cpp-empty-test/proj.android/bin/CppEmptyTest-debug.apk - + Then click item on Android device to run tests. Available value of `-p` is the API level, cocos2d-x supports from level 10. **Using Eclipse:** @@ -71,7 +71,7 @@ Then click item on Android device to run tests. Available value of `-p` is the A $ ./setup.py $ cd build $ ./android-build.py cpp-empty-test -p 10 - + Then * Import cocos2d-x Android project into Eclipse, the path used to import is `cocos/2d/platform/android` @@ -90,24 +90,36 @@ Then $ cd cocos2d-x/build $ ./install-deps-linux.sh $ cd ../.. - + Then $ mkdir build $ cd build $ cmake ../cocos2d-x $ make -j4 - + Run $ cd bin/cpp-empty-test $ ./cpp-empty-test - + ## How to start a new game Please refer to this document: [ReadMe](../README.md) # v3.4rc0 + +##Highlights of v3.4rc0 +###Adding 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++ +auto billboard = Billboard::create(); +auto label = Label::create(); +label->setString("+100"); +billboard->addChild(label); +``` + + ##Bugs fixed in v3.4rc0 * FileUtils::GetData() can not get data on windows * FileUtils::GetData() memory leaks when file size is 0 on windows @@ -162,7 +174,7 @@ Note that when you can make sure that all the stuff is inside the frustum you ca For more infomation please reffer to the cpptests/CameraTest -### Use less resources to create ui::CheckBox and ui::Slider +### Use less resources to create ui::CheckBox and ui::Slider Now we could use less resources to create ui::CheckBox and ui::Slider. @@ -224,16 +236,16 @@ Fixed block allocators provide a memory pool of blocks of fixed size. They are e #### Pool Allocator -Implements a custom fixed block allocator for a specific type. You can override local new/delete for types that are classes or structs using __CC_USE_ALLOCATOR_POOL(pool)__. Additionally, these allocators are configurable in terms of the initial size. +Implements a custom fixed block allocator for a specific type. You can override local new/delete for types that are classes or structs using __CC_USE_ALLOCATOR_POOL(pool)__. Additionally, these allocators are configurable in terms of the initial size. ### Implementing Custom Allocators for Objects -Simply add a static instance of the pool allocator to your class, and use the __CC_USE_ALLOCATOR_POOL__ macro to implement operators __new__ and __delete__ for your class. +Simply add a static instance of the pool allocator to your class, and use the __CC_USE_ALLOCATOR_POOL__ macro to implement operators __new__ and __delete__ for your class. ```c++ class SomeClass { public: - + cocos2d::allocator::AllocatorStrategyPool _allocator; CC_USE_ALLOCATOR_POOL(SomeClass, _allocator); }; From e82aa34bee817f2fa7f67516cf74c4f72355e945 Mon Sep 17 00:00:00 2001 From: Nite Luo Date: Wed, 14 Jan 2015 16:44:02 -0800 Subject: [PATCH 2/5] correct release note for rc1 --- docs/RELEASE_NOTES.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 2c2311df24..68f810dbd0 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -13,6 +13,8 @@ - [Windows](#) - [Linux](#) - [How to start a new game](#) +- [v3.4rc1](#) + - [Highlights of v3.4rc1](#) - [v3.4rc0](#) - [Bugs fixed in v3.4rc0](#) - [v3.4beta0](#) @@ -107,9 +109,10 @@ Run Please refer to this document: [ReadMe](../README.md) -# v3.4rc0 +# v3.4rc1 + +##Highlights of v3.4rc1 -##Highlights of v3.4rc0 ###Adding 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++ @@ -119,7 +122,7 @@ label->setString("+100"); billboard->addChild(label); ``` - +# v3.4rc0 ##Bugs fixed in v3.4rc0 * FileUtils::GetData() can not get data on windows * FileUtils::GetData() memory leaks when file size is 0 on windows From e0e113daa494ce593e57e9f52890487b3324663b Mon Sep 17 00:00:00 2001 From: Nite Luo Date: Wed, 14 Jan 2015 16:47:59 -0800 Subject: [PATCH 3/5] Update links for release note --- docs/RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 68f810dbd0..0b74c180e2 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -13,7 +13,7 @@ - [Windows](#) - [Linux](#) - [How to start a new game](#) -- [v3.4rc1](#) +- [v3.4rc1](#v3.4rc1) - [Highlights of v3.4rc1](#) - [v3.4rc0](#) - [Bugs fixed in v3.4rc0](#) From f207530439a6cc7cfadca6f1f729b5446b5ce011 Mon Sep 17 00:00:00 2001 From: Nite Luo Date: Wed, 14 Jan 2015 16:59:03 -0800 Subject: [PATCH 4/5] auto generate toc --- docs/RELEASE_NOTES.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 0b74c180e2..ffd0c344e1 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,4 +1,41 @@ # cocos2d-x v3.4 Release Notes # + + +**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) + - [Compiler Requirements](#compiler-requirements) + - [How to run tests](#how-to-run-tests) + - [Mac OSX & iOS](#mac-osx-&-ios) + - [Android](#android) + - [Windows](#windows) + - [Linux](#linux) + - [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) +- [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) + - [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) + - [Custom Allocators](#custom-allocators) + - [Default Allocator](#default-allocator) + - [General Allocator](#general-allocator) + - [Fixed Block Allocator](#fixed-block-allocator) + - [Pool Allocator](#pool-allocator) + - [Implementing Custom Allocators for Objects](#implementing-custom-allocators-for-objects) + - [Console (allocator command, tags, counts etc)](#console-allocator-command-tags-counts-etc) + + + + **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* From 1b95da58a40ab23337df80cfd9559bd0cd11dcf1 Mon Sep 17 00:00:00 2001 From: Nite Luo Date: Wed, 14 Jan 2015 17:00:50 -0800 Subject: [PATCH 5/5] remove old toc --- docs/RELEASE_NOTES.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index ffd0c344e1..faadb071d5 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -35,29 +35,6 @@ - - -**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* - -- [cocos2d-x v3.4 Release Notes](#) -- [Misc Information](#) -- [Requirements](#) - - [Runtime Requirements](#) - - [Compiler Requirements](#) - - [How to run tests](#) - - [Mac OSX & iOS](#) - - [Android](#) - - [Windows](#) - - [Linux](#) - - [How to start a new game](#) -- [v3.4rc1](#v3.4rc1) - - [Highlights of v3.4rc1](#) -- [v3.4rc0](#) - - [Bugs fixed in v3.4rc0](#) -- [v3.4beta0](#) - - [Highlights of v3.4beta0](#) - - [Features in detail](#) - # Misc Information * Full Changelog: https://github.com/cocos2d/cocos2d-x/blob/cocos2d-x-3.4rc0/CHANGELOG @@ -150,7 +127,7 @@ Please refer to this document: [ReadMe](../README.md) ##Highlights of v3.4rc1 -###Adding 3D rendering support for 2D objects +###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++ auto billboard = Billboard::create();