Skip to content

Latest commit

 

History

History

Engine

#Lanica Platino SDK™ - Sample Code

The Lanica Platino SDK includes a list of sample code apps.

We think you’ll find helpful to understand some of the API fundamentals and get you started. You can find additional samples in the Lanica development open source project on our github repository.

We encourage you to participate and contribute to these samples if you improve any of the code. Fork the repo, make your changes, and submit a pull request.

Camera View

Demonstrates the use of the Platino GameView's Camera object. Learn how to create a Transform instance for use with the GameView's camera to pan/zoom the screen.

APIs covered:

Get Started

Multiplayer Tank Sample Game

Multi-player tank game demo. Annihilate your remote opponent in this 2D top-down action game. As seen at CodeStrong 2012.

Get Started

Events

Demonstrates event listeners in Platino. Learn how to direct touch events to individual sprites, and how to listen to {@link GameView game} and {@link Scene scene}-specific events.

APIs covered:

  • sprite.addEventListener() (Individual Sprite Touch Events)
  • game.addEventListener() (Global screen touch events)
  • scene.addEventListener() (activation/deactivation of scenes)
  • platino.createSprite()

Get Started

Isometric Tile Map

Demonstrates usage of Platino APIs to create an isometric tilemap.

Get Started

Physics Chipmunk 2D Sample

Bouncing soccer balls and tumbling crates with our physics module. Covers basic Chipmunk2D module usage (physics demo).

Get Started

Platino Samples

A collection of different modules that demonstrates the usage of almost every Platino API.

Get Started

Shooter Game Sample

Fun shooter action game demo. Learn how to create {@link sprite sprites}, animate objects with {@link transform transforms}, and apply cool particle effects to make your game scenes come alive. As seen at CodeStrong 2012.

Get Started

Scenes

Demonstrates the use of the Platino {@link Scene}s. Learn how to create, activate, deactivate, and transition between scenes.

APIs covered:

Get Started

Transforms

Demonstrates the use of the Platino {@link transform transform} objects. Learn how to animate an object by "tweening" specific properties (such as x/y location, alpha, etc).

APIs covered:

BunnyMark

A fun 2D sprite benchmark sample app, based on Iain Lobb's original.

The demo starts with 10 bouncing bunnies, with more bunnies being added on every screen tap. Monitor the app's frames-per-second (FPS) in realtime as bunnies invade your device!

Get Started

Platino SDK APIs Get Started