4 day after the V3.0.1 it’s already time to provide a new build thanks to the hard work made by the community! The entity/component system is up to date, allowing interaction between entity/component object and “normal” object. And we fixed a bug using Android.
Hi Citrus engineers!
We would like to thanks people for the nice welcoming made to the Citrus Engine!
We’ve received some pull requests (it’s always an awesome feeling!), bug report/fix and ideas of new features. The community is already growing, thank you very much!
This first revision include mostly fixed bugs, change some platformer objects behaviors, improve performances and prepare a new (huge) feature under the hood. Continue reading
Hello, my name is Nick and I’m going to show you how to use the Citrus Engine’s tile system allowing you to create large game backgrounds.
Sometimes you will want to create levels that are larger than the maximum texture size allowed when using Starling, and converting that 5000 pixel wide background into tiles can be greatly simplified! The TileSystem is setup as the view property of a CitrusSprite. When you create the TileSystem you can use one of 2 methods of loading your graphics in.
- From a strictly code approach, the TileSystem brings in a 2D array of tile images you have sliced in photoshop. It will arrange and place the tiles for you. This option also allows ATF files for better performance and a smaller GPU memory footprint.
- In your level layout swf you can place a MovieClip on stage for the TileSystem to convert for you! The TileSystem will take your MovieClip (well, sprite since it can’t have a timeline) with vector or bitmap graphics, convert it to a BitmapData and slices it into tiles of a size you specify. This is a great way to get all of your artwork in one place!
So let’s go over both! Continue reading
We’re happy to annouce the Citrus Engine version 3 release! You can get it through the new download section. Together with that we are launching a new website.
What’s new in version 3:
This tutorial explains how to create your first game for the web and mobile with Citrus Engine using Stage3D (via Starling framework) and Box2D physics engine.
Final demo: Try | See source