简体   繁体   English

如何在levelhelper中创建菜单?

[英]How can I create a menu in levelhelper?

I want to create game with Spritehelper and Levelhelper. 我想用Spritehelper和Levelhelper创建游戏。 I wanted to know, how to create the menu with levelhelper. 我想知道如何使用levelhelper创建菜单。

How can I achieve this? 我该如何实现?

浏览本教程( http://www.raywenderlich.com/4622/how-to-use-spritehelper-and-levelhelper-tutorial ),它们提供了详细的信息,并且具有开发人员自己提供的LevelHelper / SpriteHelper教程。

After some research of instruments for new game I came to this conclusion: 经过对新游戏工具的研究,我得出了以下结论:

Level Helper 2: 级别助手2:

  • good levels editing 良好的关卡编辑
  • SpriteHelper support SpriteHelper支持
  • no UI editor (no UI controls) 没有UI编辑器(没有UI控件)
  • own class stack inherited from standard cocos2d classes (no way to create other nodes, not inherited from LHxxxx) 自己的类堆栈是从标准cocos2d类继承的(无法创建其他节点,也不是从LHxxxx继承的)
  • animations editor 动画编辑器
  • physics editor 物理编辑

CocosBuilder CocosBuilder

  • is not supported by developers (last update 2 years ago) 不被开发人员支持(最近更新2年)
  • is universal: you can create UI and levels in it 是通用的:您可以在其中创建UI和级别
  • has some bugs, but is open source, so you can easily fix some issues 有一些错误,但是是开源的,因此您可以轻松修复一些问题
  • uses default cocos2d class stack. 使用默认的cocos2d类堆栈。 You can instantiate any class inherited from Node 您可以实例化从Node继承的任何类
  • supports relative node positioning (in percents relative to parent size) 支持相对节点定位(相对于父级大小的百分比)
  • built in support of sprite sheets 内置支持精灵表
  • animations editor 动画编辑器

SpriteBuilder SpriteBuilder

  • new editor, based on idea of CocosBuilder (very similar to it) 新的编辑器,基于CocosBuilder的想法(非常相似)
  • is under active development by cocos2d developers 正在由cocos2d开发人员积极开发
  • is universal (UI and levels) 是通用的(UI和级别)
  • very good layout features 很好的布局功能
  • supports only cocos2d-swift :-( 仅支持cocos2d-swift :-(
  • there is some 3rd party cocos2d-x loaders of SpriteBuilder scenes, but they are not always compatible with new versions of SpriteBuilder 有一些SpriteBuilder场景的第三方cocos2d-x加载程序,但它们并不总是与新版本的SpriteBuilder兼容
  • animations editor 动画编辑器
  • physics editor 物理编辑

Cocos Studio 1.x, 2.1 Cocos Studio 1.x,2.1

  • troubles with loading scenes from v1 in cocos2d-x v3 and above 在cocos2d-x v3及更高版本中从v1加载场景的麻烦
  • new version of CocoStudio (2.1 for now) is still not ready for production and doesn't support many features from v1 新版本的CocoStudio(目前为2.1)尚未准备好投入生产,并且不支持v1中的许多功能
  • supports relative node positioning (in percents relative to parent size) 支持相对节点定位(相对于父级大小的百分比)
  • animations editor 动画编辑器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM