Guides & Tutorials API Reference Examples & Demos
Documentation

V-Play Components Examples and Demos

This page contains a list of learning resources for V-Play.

Here you will find both tutorials and full sample games. Some of these sample games are even published in the app stores, ready for you to use as best-practices of V-Play game implementations.

For a video of the best sample games, click here: Youtube video about V-Play Engine Highlights.

A collection of the best released games is available on the V-Play Showcases Page.

Note: You can download some of these sample games from the app store for a quick preview, or build any of them on your own as they are available open source as part of the V-Play SDK. See Game Highlights Published in the App Stores for a list of the best games.

V-Play Sample Launcher

The V-Play Sample Launcher allows you to quickly test and run all the open-source examples and demo games available with the V-Play SDK, from a single desktop application.

If you already downloaded the V-Play SDK, you can start it from <V-PlaySDK/Examples/V-Play/sampleLauncher. If you did not download the SDK yet, you can also download it as standalone application here. However, running the launcher from the SDK has a couple of advantages, for example you can also deploy the demos to your mobile phone or tablet with Qt Creator.

Note: The V-Play Sample Launcher is available since V-Play 2.4.0 - if you have an older version of V-Play installed, see the V-Play Update Guide how to get the latest version. Updating to the latest version also has the benefit that you get the most recent demos & examples.

V-Play Tour

The V-Play Tour is another great way to find the best resources for your app or game quickly. Grouped by game genres and app categories you can find the best resources to make your game or app faster. You can start the V-Play Tour here.

Access Demos & Examples

The demos are part of the V-Play SDK. Open them by browsing to the V-Play installation folder and then to the Examples/V-Play/demos or Examples/V-Play/examples subdirectory. The full source code of all demos and examples is available with the SDK download. Just open the .pro files and you can run the demos on your development PC or deploy it to your mobile devices. To speed up development time, you may use the game demos as a starting point for your own games.

Note: Demo games contain multiple V-Play components. Examples on the other hand, only demonstrate the use of a particular component. Thus they are not full games and smaller in their complexity and size.

V-Play Game Tutorials

Advanced V-Play Component Tutorials

Game Highlights Published in the App Stores

This table highlights the best performing games in terms of game downloads and app store rating. All of these games are available with full source code and ready for you to create your own game based on them.

Stack With Friends is a physics-based action game about stacking as many boxes as fast as you can and is published in the app stores. It features user-generated level sharing and an in-game LevelEditor. You get rewarded for creating cool levels and sharing them with the game community, with the LevelStore component. It also includes VPlayGameNetwork for leaderboards for each level to compare with other players.

Squaby is a tower-defense game which uses AI, particles, physics and audio components. It is the most comprehensive demo game using most of the V-Play Gaming Components. It also contains an in-game LevelEditor for creating your own levels.

Chicken Outbreak 2 is the 2nd version of our endless falldown scroller, with cool power-ups and integrating our monetization plugins.

It comes with cross-platform leaderboards & achievements, powered by VPlayGameNetwork as well as in-app purchases and interstitial ads.

Chicken Outbreak is like an inverse Doodle Jump: you play a chicken escaping from a massive henhouse. So you fly from roost to roost and avoid falling down. The more corns you collect on your way down to the exit the more points you get.

It features a scrolling background layer, storage of highscore and shows scene switching between main menu, game over and game scene.

It also integrates VPlayGameNetwork for cross-platform leaderboards and achievements. Plus integration of GameCenter and Flurry analytics.

Car Challenge 3D is a physics-based racing game similar to Super Mario Kart for 2 players in a 3D World.

It uses the V-Play 3D Components to render a 3D world with 2D based physics and 2D UI.

Demo Games Grouped by Complexity

The complexity level of the demos vary. The demo games are a great starting point for learning how to use the V-Play components. Use this table to find a matching demo game for your experience level.

Difficulty Demo
Simple
Medium
Advanced

V-Play Demo Games

Cross-platform demo games
Multi-Scene-Multi-Level Demo Project template containing multiple scenes, multiple levels, loading levels at runtime, multi-resolution images, animations and hardware back button handling.

BalloonPop Demo In this demo you try to pop all balloons before the timer runs out. It is a very simple game with just slightly above 100 lines of code.

A tutorial about the creation of the game is available here: How to make a simple BalloonPop game with V-Play

Platformer Demo This is a small demo that shows how you can create a platformer game with V-Play for your Super Mario style game.

Flappy Bird Demo In this Flappy Bird game by V-Play you get the full source code of a similar game to the popular Flappy Bird.

A tutorial about the creation of the game is available here: How to Make a Flappy Bird Game with V-Play

StackTheBox Demo This is a simple physics-based demo showing the basics of entity creation with EntityManager and uses other components including audio and particles. It is the full source code of the guide Getting Started with V-Play.

StackTheBoxWithEditor Demo This is an extended version of the guide Getting Started with V-Play and the StackTheBox Demo, with the addition of a LevelEditor and ItemEditor. It allows balancing while the game is running and to create own levels with the in-game LevelEditor. A tutorial about the creation of the game is available in How to add the LevelEditor to an existing game.

Stack With Friends Demo This demo is a physics-based action game about stacking as many boxes as fast as you can and is published in the app stores. It features user-generated level sharing and an in-game LevelEditor. You get rewarded for creating cool levels and sharing them with the game community, with the LevelStore component. It also includes VPlayGameNetwork for leaderboards for each level to compare with other players.

Squaby Demo A tower-defense game which uses AI, particles, physics and audio components. It is the most comprehensive demo game using most of the V-Play Gaming Components. It also contains an in-game LevelEditor for creating your own levels.

ChickenOutbreak Demo This demo is like an inverse Doodle Jump: you play a chicken escaping from a massive henhouse. So you fly from roost to roost and avoid falling down. The more corns you collect on your way down to the exit the more points you get.

It features a scrolling background layer, storage of highscore and shows scene switching between main menu, game over and game scene.

It also integrates VPlayGameNetwork for cross-platform leaderboards and achievements. Plus integration of GameCenter and Flurry analytics.

ChickenOutbreak2 Demo This is the 2nd version of our endless falldown scroller, with cool power-ups and integrating our monetization plugins.

It comes with cross-platform leaderboards & achievements, powered by VPlayGameNetwork as well as in-app purchases and interstitial ads.

Simple Ninja Game Demo In this demo you play a ninja and throw stars against invading monsters. It is a very simple game containing of only a single QML file with just 150 lines of code. This is 60% less compared to the C++ version of the Ray Wenderlich C++ version with Cocos2d-x.

It features multi-resolution images, switching between 2 scenes, physics for collision detection, audio and animations for movement of the monsters and stars.

CarChallenge Demo A simple physics-based racing game for 2 players. It demonstrates the controller concept for steering entities and a virtual joypad using the JoystickControllerHUD component.

This demo uses the physics components for movement and collision detection. The fired weapons will bounce off the walls until they collide with a car or another rocket. It demonstrates applying forces (to the movement of the car) and impulses (to the rocket).

CarChallenge 3D Demo Car Challenge 3D is a physics-based racing game similar to Super Mario Kart for 2 players in a 3D World.

It uses the V-Play 3D Components to render a 3D world with 2D based physics and 2D UI.

ZombieBreak Demo Simple breakout game, kill all the zombies to stay alive!

Particle Editor Demo This application helps to design, create and store particles for games created with V-Play and Cocos2D.

Crazy Carousel - Action Game In this demo game you collect coins while avoiding bullets by jumping between the rides of a carousel. It implements multiple game screens, uses several movement animations and supports different device sizes and resolutions.

A tutorial about the creation of the game is available here: How to Create the Crazy Carousel Game with V-Play.

Juicy Squash - Match-3 Game Juicy Squash is a game of the highly popular Match-3 game genre made with V-Play. If you find a group of at least three matching fruits, you can remove them and gain points. The game goes on until there are no longer any groups left to remove.

A tutorial on how to the create this match-3 game is available here: How to Make a Match-3 Game with V-Play.

V-Play Examples

Component Examples
LevelEditor Example This application shows all the functionality of the V-Play LevelEditor to store, load and display a list of levels in the game.

GameNetwork Simple Example This example shows the basic V-Play Game Network functionality including the VPlayGameNetworkView, highscores and achievements.

GameNetwork Example This example can be used to test and simulate all of the functionality of VPlayGameNetwork.

GameWindowSceneScaling Example This is a basic example demonstrating the concept of using the GameWindow and Scene components for resolution- and aspect-ratio independent games.

Density Independence Examples These examples show how to support multiple screens & screen densities.

Box2D Examples This is a collection of Box2D examples demonstrating all supported features of the physics system. The examples were written as part of the Box2D QML plugin and were modified to work with VPlay game engine.

Particles Examples This is a collection of Particles examples demonstrating the different settings for the Particles element.

Parallax Examples This test demonstrates the difference of ParallaxItem and ParallaxScrollingBackground. Furthermore, it explains the usability of these elements.

Facebook Example This example tests the functionality provided by the Facebook plugin and is usable on Android and iOS devices. It serves as a starting point of testing Facebook functionality.