Giter Site home page Giter Site logo

cocos's Introduction

前言

这是我的Cocos Creator项目集,主要汇集了我在空闲时间中冒出的一些稀奇古怪的小游戏想法实践作品。当初我也是一个非常喜欢玩游戏的小孩儿,甚至差点因为沉迷游戏,无法自拔而耽误了大好的前程,从小学三年级到初中二年级的这段时间中,我几乎玩遍了腾讯系、盛大系、完美系、网易系的所有网游(嗯,就是没有暴雪爸爸),现在我偶尔刷刷暗黑3,毕竟类似这种比较佛系的游戏才适合现在的我了😀。

简介

为什么要做游戏

emmm,自从我被游戏坑害后(其实是我自身的问题),有相当长的一段时间没有碰过任何游戏,要不是因为大一的时候要融入新集体,估计是对游戏一生黑了😂。慢慢的接触越来越多的同学后,发现了有趣的炉石、DOTA、甚至是塞尔达传说等等一系列非常精致的、有助于身心的“游戏”,往后慢慢的又发现了移动端的游戏也可以做的非常精美、非常烧脑,比如幻影猫、纪念碑谷等。

也就是从那个时候开始,逐渐的萌生出自己想要做一些比较轻量、有趣的小游戏,但当时苦于技术实力还不够,根本不知道做游戏需要经历哪些步骤,哪一步应该做什么,只知道做游戏的可以用上哪些工具而已。不过随着去年的暑期实习结束,自己掌握了游戏开发的主要流程和相关工具,做出了一款休闲类的小游戏(虽然IP是抄的2333)。现在基本上可以只要是日常在微信、QQ等其它社交平台上看到的小游戏,思考一下都能梳理出该小游戏的核心点,正是因为如此,我开始想做(复现)一些有趣的小游戏。

项目来源

在这个项目集中,我的实践对象主要来自于以下几个方向:

  1. 微信小游戏;
  2. QQ空间小游戏(以前貌似叫QQ玩一玩);
  3. App Store上优秀的休闲小游戏;
  4. Facebook Instant Game。

为什么选择Cocos Creator

最开始的时候我使用的游戏开发框架(也可以说是游戏引擎)是Cocos2D-X,这个框架是基于iOS较早之前的Cocos2D游戏框架重新用C++封装的一个国内非常优秀的轻量级跨平台游戏框架。其实如果只考虑iOS一端完全不需要上Cocos2D-X(因为C++写起来比较难受),iOS平台自带SpriteKit完全OK,而且足够优雅,写起来非常爽(尤其是加上Swift的助攻)。

在使用Cocos2D-X的过程中也暴露了一些致命的问题,因为Cocos2D-X并没有提供一个可视化的编程环境(它只是个SDK),任何事情都要考手撸代码完成,而且实现某些功能特别麻烦,用Cocos2D-X写界面更是恶心得不行,再加上它还是完全C++,虽然从性能上看在某些情况下确实因为C++的原因有了很大的改善,但是C++写某些功能真的真的真的特别难受。不过,我觉得这正是Cocos2D-X存活了这么久的原因吧,在iOS平台,C++可以很好的和Objective-C甚至Swift(需要再拿OC做桥接)混编,Android平台上借用NDK也能够有很好的输出效果。

但是我们都知道,程序员是很懒的(包括我自己),我们都希望在某些情况下能够通过“拖拖拽拽”就完成一个需求,在游戏开发中更是这个样子,因为还有更重要的事情等着我们(比如跟PM打口水战🙂),此时基于Cococs2D-jsCococs Creator就出来啦!!!

在前不久的Cocos 巡回沙龙北京站中,有开发者问了Panda大大,“为什么CC的界面跟Unity如此之像”,啊哈哈哈,我觉得是为了降低开发者的使用成本,再加上Cococs Creator的起步比较晚,想要在UnityUnreal等大头厂商的眼皮底下收割开发者本身就是一件非常的难的事情,所以界面上大体跟Unity保持一致,然后再扣一些小细节。不过CC确实是找到了自己的发展方向,在小游戏方向最近这几年真是铆足了劲,尤其是即将releas的CC 2.0,因为大改了之前CC的底层架构,导致2.0的性能提升了100%!!!而且最近这几年,基本上只要是不做大游戏的厂商,都往Cocos上靠,Cocos现在已然稳坐国内第一,全球第二的位置,尤其在小游戏开发领域,已经盆满钵满。

由以上种种原因,我选择了它作为今后我游戏开发项目的主要平台。

项目计划

已完成

名称 地址
方块弹珠

计划中

  • 疯狂弹一弹

附录

如果你对本项目集也十分感兴趣,欢迎一同搞事情。

cocos's People

Contributors

windstormeye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cocos's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.