GithubHelp home page GithubHelp logo

sunguangdong / cocos-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocos/cocos-engine

0.0 1.0 0.0 274.1 MB

Cocos Engine is an open-source framework for building 2D & 3D real-time rendering and interactive contents, especially video games, which can be deployed to mobile, desktop and web. It is inherited from the legacy Cocos2d-x with a redesigned modern architecture. To run this engine, please download Cocos Creator.

Home Page: https://www.cocos.com/en/creator

Shell 0.05% JavaScript 6.88% C++ 57.61% Python 0.82% C 2.40% Objective-C 0.54% Java 1.27% TypeScript 27.88% CSS 0.02% Objective-C++ 2.00% HTML 0.01% CMake 0.53%

cocos-engine's Introduction

Cocos Creator Logo

stars forks version license twitter

Engine for Cocos Creator

image

Cocos Engine is the framework for Cocos Creator editor. Cocos Creator is the new generation of game development tool in Cocos family, it brings a complete set of 3D features and provides an intuitive, low cost and collaboration friendly workflow to game developers.

Cocos Creator inherited many good qualities and cool features from its previous versions, such as cross-platform support including instant gaming platforms like WeChat mini game, asset management, powerful animation editing, etc. Furthermore, Cocos Creator has pushed our technology to a whole new level. Our GFX implementation is designed to adapt to the latest graphic backend APIs, it already supports WebGL 2 and can be seamlessly fall back to WebGL 1, it will support Vulkan and Metal in the native build. The material system is built on our own effect format which uses GLSL 300 and can be easily adapted to lower version on low end devices. Developers can produce high performance, extremely expressive shaders with good compatibility. Along with physical based camera and lighting, high level game graphic can be easily achieved. Our pure GPU driven skeleton animation also make sure your game runs as smooth as possible. Besides all these exciting features, Cocos Creator have builtin physics support, terrain editing support, visual effect editing, ui system, TypeScript support, instant preview etc.

image

This repo is the engine part of Cocos Creator, it's mainly written in TypeScript and support users to use TypeScript or ES6 to write game logics. The engine itself is mostly self-contained, with full-fledged runtime modules including lighting, material, particle, animation, physical, UI, terrain, sound, resource and scene-graph management, etc. It supports both native and web platforms, including Windows, Mac, iOS, Android, Web. What's more exciting is that it supports rapidly expanding instant gaming platforms like WeChat Mini Game and Facebook Instant Games.

The engine is naturally integrated within Cocos Creator, designed to only be the essential runtime library and not to be used independently.

Developer

Prerequisite

Install

In the cloned repo, run the following command to setup dev environment:

# download & build engine dependencies
npm install

This is all you have to do to setup engine development environment.

Build

  • If running inside Cocos Creator, the engine will automatically compile and build after the editor window is opened.

  • Outside the editor, you need to run the following command to build:

    npm run build

Example Project

  • Example Cases: Simple yet expressive demo scenes for baseline testing and topic-specific case study.
  • Mind Your Step 3D: Beginner's step-by-step tutorial project repo.
  • UI Demo: use cases for various kinds of UI components.
  • Test Cases: Unit test scenes for every engine module.

Links

cocos-engine's People

Contributors

pandamicro avatar jareguo avatar nantas avatar yunhsiao avatar 2youyou2 avatar minggo avatar zilongshanren avatar knoxhuang avatar jerrywwl avatar shrinktofit avatar pppro avatar linyunmo avatar cocosrobot avatar patricejiang avatar jaycelai avatar jonelau avatar dabingnn avatar caryliu1999 avatar holycanvas avatar cocos-robot avatar visualsj avatar troublemaker52025 avatar wenhailin avatar zxg0622 avatar drelaptop avatar sunnylanwanjun avatar genginejs avatar hana-alice avatar mmyduckx avatar arsen2010 avatar

Watchers

James Cloos avatar

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.