Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceHockey Tutorial

What is SpaceHockey?

A simple two player app for touch screens.

It is built using Qt with additional Gaming Components from V-Play.

Qt is the leading independent technology for cross-platform development. Qt Quick provides a declarative language called QML (Qt Meta-object Language) for the design and implementation of UIs. QML is based on CSS and JavaScript. Large parts of QML code are just CSS-style name-value pairs of properties (e.g., color: "red"). The rest, typically the behavioral parts like the response to a mouse click, is written in JavaScript.

V-Play Gaming Components provide a specialized set of QML components for building 2D games on top of Qt 5 for multiple platforms, with the same source code. Components exist for handling multiple display resolutions & aspect ratios, Sprites, Physics, Particles, Multimedia, Multitouch Input and AI.

The current version of the game is a simple simulation of air hockey in a space-like environment.

How do you build SpaceHockey?

Step One - Download and Install V-Play

Use the instruction on the V-Play Download site.

Step Two - Create a New - Empty V-Play 2 Project

Start V-Play.

Choose File -> New File or Project.

Choose New -Empty V-Play 2 Project.

Name the project SpaceHockey. Click continue.

Select the Desktop kit from the Kit Selection screen. Click Continue.

Validate the App identifier. Click continue.

Add to version control (if you wish). Click Done (Finish).

Run the default game to test your installation (it is kinda boring).

About

A simple two player app for touch screens.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages