Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cocos Creator 2.1.1 Released

#1
Cocos Creator 2.1.1 Released

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/05/cocos-creator-2-1-1-released.png" width="690" height="299" title="" alt="" /></div><div><p>When Cocos Creator 2 was released, a major new feature was the new 3D renderer under the hood.&nbsp; 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.&nbsp; If you are interested in learning Cocos Creator, be sure to check out our tutorial series <a href="https://devga.me/tutorials/cocos-creator-crash-course-tutorial-series/">available here</a>.</p>
<p>Details of the release from the <a href="https://discuss.cocos2d-x.org/t/cocos-creator-v2-1-1-released/46450">Cocos Creator forum</a>:</p>
<blockquote>
<h3>Cocos Creator v2.1.1 released!</h3>
<p>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 <strong>3D scene editing</strong>, <strong>camera preview</strong>, <strong>lighting system</strong>, and also incorporates the latest 2.0.x changes.</p>
<h3>What’s New</h3>
<h4>Support 3D scene editing</h4>
<p>The <strong>Scene Editor</strong> allows you to switch to 3D editing mode with one click, making it easy to edit 3D objects, cameras, and lights. See the <a href="https://docs.cocos2d-x.org/creator/manual/en/3d/3d-scene.html">3D Scenes document 4</a> for details.</p>
<h4>Add game preview panel</h4>
<p>A separate preview panel has been added to visually preview the images seen by the camera during scene editing. Panel Open: <strong>Main Menu → Panel → Game Preview</strong>, the preview panel can be placed in a separate window or dragged into the main editor window.</p>
<p><a href="https://discuss.cocos2d-x.org/uploads/default/original/3X/f/6/f684135ed64cd06f79305b4c9052d36e42a46495.png"><img width="690" height="299" alt="s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553237527640_image" src="http://www.sickgaming.net/blog/wp-content/uploads/2019/05/cocos-creator-2-1-1-released.png"></a></p>
<p><a href="https://discuss.cocos2d-x.org/uploads/default/original/3X/f/6/f684135ed64cd06f79305b4c9052d36e42a46495.png"></p>
<p>s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553237527640_image.png985×427 40.6 KB</p>
<p></a></p>
<h4>Add 3D lighting and shadows</h4>
<p>A <strong>Light component</strong> has been added to lay out lights in the scene, and a shadow effect can be set in conjunction with <strong>MeshRenderer</strong>. See the <a href="https://docs.cocos2d-x.org/creator/manual/en/3d/light-component.html">Light Source Component Reference 2</a> documentation.</p>
<p><a href="https://discuss.cocos2d-x.org/uploads/default/original/3X/7/1/710698291f477001fad4ccf7f739d4e3d4e3f12a.png"><img width="690" height="467" alt="s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553235837568_image" src="http://www.sickgaming.net/blog/wp-content/uploads/2019/05/cocos-creator-2-1-1-released-1.png"></a></p>
<p><a href="https://discuss.cocos2d-x.org/uploads/default/original/3X/7/1/710698291f477001fad4ccf7f739d4e3d4e3f12a.png"></p>
<p>s_4A04B2733C58C3785BF9DAB70F7114F68401A06E2E8478F24E9A8254F94C36DB_1553235837568_image.png1100×746 307 KB</p>
<p></a></p>
<h4>Upgraded EditBox component</h4>
<p>Now, developers can set the <strong>Text Label</strong>, <strong>Placeholder Label</strong> and <strong>Background nodes</strong> separately, making them more flexible, simple, and more in line with the component development. See the <a href="https://docs.cocos2d-x.org/creator/manual/en/components/editbox.html">EditBox Component Reference</a> documentation.</p>
<h4>Add text shadow rendering component</h4>
<p>A new <strong>LabelShadow</strong> component has been added to add a shadow effect to the Label component, similar to the LabelOutline usage. See the <a href="https://docs.cocos2d-x.org/creator/manual/en/components/label.html">Label Component Reference</a> documentation.</p>
<h4>Support for dynamically creating 3D Primitive models</h4>
<p>Added <code>cc.primitive</code> module to dynamically create 3D models at runtime, including: box, cone, cylinder, plane, etc. See the <a href="https://docs.cocos2d-x.org/creator/manual/en/3d/primitive.html">Basic 3D Objects</a> documentation.</p>
<h4>Integrated Material System (Beta)</h4>
<p>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.</p>
<h4>Improved features</h4>
<h5>Editor improvements</h5>
<ul>
<li>
<p>Added shortcut <code>Ctrl/Cmd + Shift + F</code> to align the currently selected node to the perspective of the scene editor.</p>
</li>
<li>
<p>When you click in the scene editor, you can hold down <code>Ctrl/Cmd</code> for multiple selections at the same time.</p>
</li>
<li>
<p>Improve fault tolerance processing for custom engines to avoid editor startup failure</p>
</li>
<li>
<p>Improve the search performance of the resource manager under very large projects</p>
</li>
<li>
<p>Add menu <strong>File -&gt; Open project in new window</strong> to support simultaneous opening of multiple projects on Mac</p>
</li>
<li>
<p>Hide the component’s <code>enabled</code> checkbox when the component does not define the <code>enabled</code> associated lifecycle function</p>
</li>
<li>
<p>Upgrade the TypeScript version to 3.3.3333</p>
</li>
</ul>
<h5>Engine improvements</h5>
<ul>
<li>
<p>Make <code>cc.Vec3</code> compatible with related APIs of <code>cc.Vec2</code></p>
</li>
<li>
<p>Improved <strong>Label</strong> positioning accuracy in the editor and on different browsers (thanks to “Dacheng Xiaopeng” for advice)</p>
</li>
<li>
<p>Optimization <strong>3D</strong> skeletal animation performance and volume</p>
</li>
<li>
<p>The <code>cc.macro.CLEANUP_IMAGE_CACHE</code> flag is enabled by default on the <strong>native</strong> platform to reduce texture memory usage</p>
</li>
<li>
<p><strong>Native</strong> platform automatically verifies the maximum supported texture size of the current device</p>
</li>
<li>
<p>Add <strong>WeChat Mini game</strong> <strong>XMLHttpRequest</strong> support for timeout event <a href="https://github.com/cocos-creator-packages/weapp-adapter/pull/87">[#87]</a></p>
</li>
<li>
<p>Added <code>cc.sys.HUAWEI_GAME</code> enumeration to determine if it is currently Huawei’s fast game platform</p>
</li>
<li>
<p>Optimized <strong>Android 5</strong> system’s WebView compatibility</p>
</li>
<li>
<p>Allow iOS browser to play automatically when <strong>VideoPlayer</strong> is muted</p>
</li>
</ul>
<h4>Bug Fixes</h4>
<h5>Editor Fix List</h5>
<ul>
<li>
<p>Fixed an issue where <code>BuildResults.getNativeAssetPath</code> might not get the texture path</p>
</li>
<li>
<p>Fixed removal <strong>animation editor</strong> error message caused by the Animation Clip being edited</p>
</li>
<li>
<p>Fixed an object already destroyed warning that appears when you repeatedly enter <strong>Prefab</strong> edit mode</p>
</li>
</ul>
<h5>Engine Repair List</h5>
<ul>
<li>
<p>Fixed an issue where <code>enabledInHierarchy</code> is always false when the component does not define <code>onEnable</code></p>
</li>
<li>
<p>Fixed an issue where <strong>ToggleGroup</strong> is not fully disabled when the active node is false</p>
</li>
<li>
<p>Fix <strong>Label</strong>’s opacity is not working</p>
</li>
<li>
<p>Fix <strong>Slider</strong>’s anchor settings will affect clicks <a href="https://github.com/cocos-creator/engine/pull/4163">[#4163]</a></p>
</li>
<li>
<p>Fix <strong>Particle System</strong> after playing, hide the node and display the problem of residual particles <a href="https://github.com/cocos-creator/engine/pull/4243">[#4243] 1</a></p>
</li>
<li>
<p>Fixed a memory leak issue that could be caused by too many particles in the <strong>particle system</strong> <a href="https://github.com/cocos-creator/engine/pull/4256">[#4256]</a></p>
</li>
<li>
<p>Fix <strong>native</strong> platform resources <strong>Download</strong>, <strong>XMLHttpRequest</strong>, <strong>WebSocket</strong>, <strong>SocketIO</strong> possible crash after request <a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1721">[#1721]</a> <a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1716">[#1716]</a></p>
</li>
<li>
<p>Fix <strong>native</strong> platform <strong>XMLHttpRequest</strong> may crash due to timeout <a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1724">[#1724]</a></p>
</li>
<li>
<p>Fix <strong>native</strong> platform loading via IPV6 under the telecom network (<strong>WeChat avatar</strong>) file may fail [[#1713]] (<a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1715">https://github.com/cocos-creator/cocos2d-x-lite/pull/1715</a>)</p>
</li>
<li>
<p>Fix <strong>native</strong> platform OpenGL draw error <a href="https://github.com/cocos-creator/engine/pull/4017">#4017</a></p>
</li>
<li>
<p>Fix <strong>native</strong> platform <strong>Label</strong> there may be black border issues when rendering system text <a href="https://github.com/cocos-creator-packages/jsb-adapter/pull/130">[#130]</a></p>
</li>
<li>
<p>Fixed an issue where the audio file on the <strong>Android</strong> platform could not be loaded when it was not in <strong>OBB</strong><a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1611">[#1611]</a></p>
</li>
<li>
<p>Fixed an issue where the <strong>Android</strong> platform received a touch event before the engine initialization was completed could cause a crash <a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1715">[#1715]</a></p>
</li>
<li>
<p>Fix <strong>Windows</strong> platform window may report an error when minimizing restore <a href="https://github.com/cocos-creator-packages/jsb-adapter/pull/129">[#129]</a></p>
</li>
<li>
<p>Fixed <strong>Windows</strong> platform error when opening window <a href="https://github.com/cocos-creator/cocos2d-x-lite/pull/1732">[#1732]</a></p>
</li>
<li>
<p>Fixed an issue where the volume setting to 0 is invalid on <strong>Browser</strong></p>
</li>
<li>
<p>Fix <strong>3D</strong> Project incompatible<strong>WeChat game</strong> Open Data Domain issue</p>
</li>
<li>
<p>Fix <strong>3D</strong> model bone penetration problem <a href="https://github.com/cocos-creator/engine/pull/4188">[#4188]</a></p>
</li>
</ul>
<h4>Removed</h4>
<ul>
<li>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. </li>
</ul>
</blockquote>
<p>See the new 3D functionality in action in the video below.</p>
<p align="center"><iframe class='youtube-player' type='text/html' width='853' height='480' src='https://www.youtube.com/embed/yzZUO8PdkrQ?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/Cocos2D" rel="tag">Cocos2D</a></span> </p>
<hr>
</div>
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016