Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon


8. August 2016

 

Cocos Creator is a JavaScript powered game engine and editor, built over top of the Cocos2d-x framework.  I did a hands on video of Cocos Creator shortly after it was released if you want to learn more.  Cocos Creator just shipped version 1.2 which includes several new features.

 

Details of the changes in 1.2 from the release notes:

    Major Changes
    • [Build] Added Lua build target for Build panel
    • [Engine] Added WebGL auto batching and culling optimization
    • [Engine] Added dirty region optimization for Web Canvas rendering mode
    • [Engine] Added AnySDK library to native build
    • [Editor] Added Async load assets option to scene asset's property, check this one will make the scene run right after finish loading scripts and node tree, and rest assets such as textures and audios will be loading on the go.
    • [Engine] Added cc.Graphics graphic drawing API
    • [Preview] Added Eruda mobile debugging library for web preview, you can open the debug panel by clicking the gear icon.
    • [Webview] Added webview component
    Editor
    • [Editor] Added Module Config tab in Project Settings panel that can customize which modules go into build.
    • [Editor] Refactored Properties panel that enables customizing property elements for user defined components.
    • [Assets] Fixed display error of folder with .. in its name in Assets panel.
    • [Assets] Fixed when updating atlas assets, the spriteFrame under atlas texture may not be updated correctly issue.
    • [Prefab] Fixed error when exiting from prefab editing mode to a scene with EditBox.
    • [Prefab] Fixed the issue that when dragging an element from Node Library to a prefab will cause the prefab to turn into normal node.
    • [Animation] Fixed deleting AnimationClip when editing it will cause display error issue.
    • [Animation] Fixed editing animation property of a Widget component may get wrong result issue.
    • [Animation] Added animation 添加了动画回调事件,包括 play, stop, pause, resume, lastframe,finished
    • [Animation] Fixed Play On Load animation will still play despite Animation component is disabled issue.
    • [Menu] Select All in Edit menu now can select all nodes or assets in Node Tree and Assets correctly.
    • [Scene] Fixed swiching on and off Particle in scene will make editor run slow issue.
    • [Scene] Fixed when undoing node's activation state will not update node tree and scene view correctly issue.
    • [Console] Refactored Console panel to make it capable of displaying unlimited amount of messages.
    • [Console] Fixed Console panel in Windows cannot show Chinese character correctly issue.
    Engine
    • [Engine] Fixed Android rendering issue, performance should be improved.
    • [Engine] Fixed child node not updating its opacity correctly when detached from a parent node.
    • [Engine] Fixed some dependent assets cannot be loaded when loading multiple prefab at the same.
    • [Render] Improved dynamic font rendering quality for WebGL
    • [Render] Fixed glitches in rendering animation or updates on latest Chrome browser issue.
    • [Render] Use libPNG library on iOS platform to fix transparent images getting dark issue.
    • [JSB] Fixed bezierTo action will not update node position correctly issue.
    • [JSB] Fixed scheduleOnce callback will be called multiple times issue.
    • [JSB] Fixed cc.game.EVENT_SHOW and cc.game.EVENT_HIDE not working in JSB.
    • [Action] Fixed on Web platforms cc.hide, cc.show, cc.toggleVisibility not working issue.
    Plugins
    • [TiledMap] Optimized tilemap rendering for WebGL with unlimited tile count.
    • [TiledMap] Fixed moving tilemap assets will cause reference lost issue.
    • [TiledMap] Fixed TiledLayer.setTileGID API doesn't support float value input issue.
    • [TiledMap] Fixed hex based map not rendered correctly issue.
    • [TiledMap] Fixed TiledLayer not able to change opacity issue.
    • [Button] Fixed setting node.active=false in onTouchEnd callback, it will not reset to normal texture when node reactivated issue.
    • [Label] Fixed changing TTF font in runtime will cause error on native platform issue.
    • [ScrollView] Auto hide ScrollBar and reset content position when Scrollview content size is smaller than Scrollview size
    • [ScrollView] Added stopAutoScroll API to manually stop scrolling.
    • [ScrollView] Fixed Touch.startPoint not convert to view coordinates that cause click events in ScrollView not working
    • [Collider] Now can track dynamic change of node.group correctly.
    • [EditBox] Fixed EditBox component will trigger TextChanged when enabled issue.
    • [EditBox] Fixed Label in EditBox has inconsistent behavior between native and web platform
    • [EditBox] More types of pop-up keyboard are supported on Web browsers.
    • [EditBox] Fixed third party IME will block input field on iOS issue.
    • [EditBox] Added editingReturn event to differ hitting 'enter key' or clicked outside of pop-up keyboard.
    • [Component] Fixed copy and paste Component will not add dependent component first issue.
    • [Component] Sort user defined components in Add Component button menu.
    Misc
    • [Build] Missing reference to assets and scripts will generate console warning when building project and saving scene.
    • [Build] Added IPC message editor:build-start when building starts
    • [Build] Do not pack assets JSON for native platform build.
    • [Build] Added Android Studio checkbox for Android building, only works for default template and needs Android SDK 22 for compilation.
    • [Build] Fixed Creator app has space in its name will cause building native with binary template issue.

You can learn more about the release here.

GameDev News

blog comments powered by Disqus

Month List

Popular Comments