CodeAndWeb's GameDev Blog page 8/16

Tutorial: Creating a game with Phaser and P2 Physics

2015-10-07 Josh Morony & Andreas Löw

This tutorial explains how to create a small physics enabled game with Phaser

  • Creating physics collision shapes
  • Working with collision groups
  • Starting the physics simulation
  • The difference between Arcade and P2 physics
Continue reading...

Performance optimization for cocos2d-x using polygon sprite meshes

2015-10-01 Andreas Löw

Learn how to increase the performance of your cocos2d-x game.

Continue reading...

Optimizing sprite meshes for Unity

2015-09-21 Andreas Löw

Polygon mesh sprites are a way to improve rendering performance and increase your frame rate.

TexturePacker 4 not only creates optimized sprite meshes but also packs them tightly into a sprite sheet.

You'll learn how you can enable polygon packing and make use of it in your Uniy project.

Continue reading...

Reducing artifacts on rotated sprites

2015-09-16 Andreas Löw

Get rid of those ugly edge artifacts!

I prefer smooth edges instead over jagged outlines.

TexturePacker 4's upcoming feature trim margin gives you full control over sprite's transparency when using trim & crop. It also replaces inner padding.

Learn how to take advantage of this new feature to improve your game's quality.

Continue reading...

Using PhysicsEditor with Cocos2D

2015-07-15 Andreas Löw

This tutorial explains how you can use PhysicsEditor with version 3 of Cocos2D, which has integrated Chipmunk2D as physics engine.

  • Create physics shapes for your sprites
  • Setup your Cocos2D application
  • Add collision shapes to your sprites

Exporter included for download

Continue reading...