Skip to content
Android/HTML5/desktop game engine base on libgdx
C++ Java C Puppet Makefile Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c2d-box2d-tools format Jun 21, 2017
c2d-ext-svg c2d-ext-svg Dec 22, 2019
c2d-tests-android moe Jun 23, 2017
c2d-tests-desktop moe Jun 23, 2017
c2d-tests-gwt moe Jun 23, 2017
c2d-tests-moe moe Jun 23, 2017
c2d-tests format Jun 21, 2017
c2d format Jun 21, 2017
doc add the screenshot Aug 5, 2014
.gitignore moe Jun 23, 2017
LICENSE Initial commit Feb 22, 2014
README.md Update README.md Aug 5, 2014
c2d-tests-android.apk add the apk Jun 10, 2014
pom.xml new version Jul 3, 2018
settings.gradle moe Jun 23, 2017

README.md

c2d-engine

the new demo apk can be downloaded here https://github.com/lycying/c2d-engine/blob/master/c2d-tests-android.apk?raw=true


move from https://code.google.com/p/c2d-engine/

c2d is a game engine, base on [https://github.com/libgdx/libgdx libgdx]. Aim to easy use of the the libgdx api .I design c2d at my free time so if you have any ideas please give me feedback .

Some of the characteristics

C2d built a readable and expandable API .

  • Resources and loading
  • Alias Resource Manager any resources my be had one or more alias so you can easy change the resource but not the codes.
  • Custom resources load , you can change the subfix and protected your resources easily.
  • Custom game loadding screen
  • Event and Screen Switch
  • EventManager ,fire the regiestered event anytime.
  • TransitionScreen the animations of screen switch
  • Graphics
  • Animation Sprite support loop and LoopWithTime? mode.
  • Parallax Layer the Parallax Layer ,you can custom the layer's content via ParallaxLayerDrawable?
  • Surfaces support opengles1.x and 2.x .
  • Pixmap HelperModifying textures using libGDX Pixmap in runtime
  • Box2d
  • Load the world from json the json file is designed with c2d-tools

Demo

Some games use c2d-engine.

Fool Dig https://play.google.com/store/apps/details?id=info.u250.digs

screenshort

My Dragon https://play.google.com/store/apps/details?id=com.joyboat6.iland

screenshort

Box2d editor

screenshort

Be sure save it to disk first when u make a new scene.

Normal:

  • Mouse wheel zooming scene
  • Drag using Right mouse to move the scene.
  • Click the examples under the test scenario for testing.
  • Click the run test
  • Right-click on the list on the left to add the Fixture, Body etc.
  • Any change of the spinner or checkbox will be applied to the model.

Some Edit mode:

  • Circle editing mode:
  • Click on the screen, move the mouse to resize the circle, tap the screen again to end
  • Box Edit mode:
  • Click on the screen, and move the mouse to resize the box, tap the screen again to end
  • Polygon mode(This May Has Error If too many confusion Clicks ):
  • The left mouse button click on the screen to add point.
  • Right Click actor point to delete point.
  • Click the ritht-bottom-vertices editor to insert points or delete point between specific points.
  • Dragging the actor points to adjust the position of the vertex
  • Body edit mode:
  • Right-click in the Right bottom Fixture list to add firmware
  • Drag the body to move
  • Drag the black area to rotate body
  • Press "space" to enter joint mode
  • Joint edit Mode:
  • draw a straight line from object A to object B , select the joint mode at the pop-up menu
  • Press Space to enter the body mode
You can’t perform that action at this time.