Wiki » History » Version 3
Distorted Admin, 03/21/2020 12:29 AM
1 | 2 | Distorted Admin | h1. Overview |
---|---|---|---|
2 | 1 | Distorted Admin | |
3 | 2 | Distorted Admin | Magic Cube is an application which lets one play with Cubes and Pyraminxes of any size. It contains graphhics effects provided by the Distorted library. |
4 | Magic Cube is open source and released under the terms of the "GNU General Public License v2":http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (GPL). |
||
5 | 1 | Distorted Admin | |
6 | 2 | Distorted Admin | h1. Source code |
7 | 1 | Distorted Admin | |
8 | 2 | Distorted Admin | <pre> |
9 | 1 | Distorted Admin | git clone http://distorted.org/git/distorted-library.git |
10 | git clone http://distorted.org/git/distorted-cube.git |
||
11 | 2 | Distorted Admin | </pre> |
12 | 3 | Distorted Admin | |
13 | h1. Tutorials |
||
14 | |||
15 | h2. How to add a new Rubik Object |
||
16 | |||
17 | * Write a new class which extends RubikObject |
||
18 | * Write a new class which extends RubikObjectMovement |
||
19 | * add your new classes to the RubikObjectList enum |
||
20 | |||
21 | Currently implemented Objects: a Cube and a Pyraminx. |
||
22 | |||
23 | h2. How to add a new Transition Effect |
||
24 | |||
25 | If you would like to add, say, a new WIN effect (i.e. animation which happens when the Object gets solved) all you need to do is add a new class which extends Rubik |