It adopts a RenderQueue design. All versions of Cocos2d work using the basic primitive known as a sprite. The project already contains some cool background music and an awesome “pew-pew” sound effect that you imported earlier. Here is how it looks on an iPhone With JavaScript, you can scripting your component in no time. Declare your callback to receive touch notifications in HelloWorldScene.

Name: Grokinos
Format: JPEG, PNG
License: For Personal Use Only
iPhone 5, 5S resolutions 640×1136
iPhone 6, 6S resolutions 750×1334
iPhone 7, 7 Plus, 8, 8 Plus resolutions 1080×1920
Android Mobiles HD resolutions 360×640, 540×960, 720×1280
Android Mobiles Full HD resolutions 1080×1920
Mobiles HD resolutions 480×800, 768×1280
Mobiles QHD, iPhone X resolutions 1440×2560
HD resolutions 1280×720, 1366×768, 1600×900, 1920×1080, 2560×1440, Original

The editor and engine extension is also made with JavaScript so you can make games and refine your tool in a single programming language. A month later, the group released the version 0.

Cocos Creator

The command you entered simply re-processes your shell configuration and gives it access to the new variables. Here you define two string constants: This plays a nice “pew-pew” sound effect whenever the ninja attacks. Source port First-person shooter engine list Game engine recreation list Game creation system List of visual novel engines.

This section needs expansion. Next, download the resources file for this project and unzip it to a convenient location. Your brave little ninja needs a way to protect himself.

Cocos Creator provides an innovative, easy to use toolset such as the UI system and Animation editor. Please improve this by adding secondary or tertiary sources. Your projectiles are set up to hit monsters, so you need to remove both bodies when they collide. I hope you enjoyed learning about Cocos2d-x and feel inspired to make your own game! Retrieved December 17, In Cocos2vQuesada was laid off from the Chukong company [21] [22] Inthere are 4 cocos2d branches being actively maintained.


Cocos2d is an open source software framework.

Download Cocos2d-x, Cocos Creator and Cocos | Cocos2d-x

Cocos Creator is a complete package of game development tools and workflow, including a game engine based on Cocos2d-xresource management, scene editing, game preview, debug and publish one project to multiple platforms. They named it “Los Cocos” after its birthplace.

Articles needing additional references from August All articles needing additional references Articles lacking reliable references from August All articles lacking reliable references Articles with multiple maintenance issues Articles to be expanded from August All articles to be expanded Articles using small message boxes Official website different in Wikidata and Wikipedia.

To learn about the available cocos subcommands, type cocos –help or cocos -h. Cocos2D provides primitives to representing common GUI elements in game scenes. As for the sound effect, add the following line to HelloWorld:: There are also JavaScript and Lua bindings included! August Learn how and when to cocod2d this template message. Some versions of Cocos2D let you also animate particle effects, image filtering effects via shaders warp, ripple, etc.


Ccoos2d Cocos2D implementations let you manipulate the size, scale, position, and other effects of the sprite. This is very similar to the physics setup you performed for the monsters, except it uses a circle instead of a rectangle to define the physics body.

What is Cocos Creator?

With JavaScript, you can scripting your component in no time. Note that it’s not absolutely necessary to set the contact test bit mask because the monsters are already checking for collisions with projectiles, but it helps make your code’s intention more clear.

Not only are physics engines great for simulating realistic movement, but they are also great for detecting collisions. One nice thing about Cocos2d-x is it comes with a physics engine built right in! Also, the English designer Michael Heald designed a new logo for Cocos2d the Cocos2d logo was previously a running coconut.

This imports the SimpleAudioEngine module and specifies that you’ll be using the CocosDenshion namespace in this file.

This creates a contact listener, registers HelloWorld:: Next, add the following defines to HelloWorldScene. Finally, you need to register to receive contact notifications.

Previous post: