Hi Everyone! In this video I'm going to show
a game that I created using the app Pocke Code
The game is called Elementum
and it is about the 4 elements:
Fire, Air, Water and Earth
In this game the player has to control an orbee ball
which has an element chosen randomly
and that orb ball has to be taken through some walls
that are composed by 4 blocks
and each block represent any of the 4 elements, for example
if the orbe ball has the water element, it has to be taken trough
the block of water.
If the player takes the orb ball to the right block,
the orb ball's element changes randomly, and the player gets 1 point
Besides this, the player has 3 hearts that represent the player's "health"
Each time the player fails, 1 heart is removed. When the player doesn't have any heart, the game is over
The player can also buy
a wildcard orb ball
which lets the user go through any wall
without any problem.
It can be bought with the coins that the user gets playing the game
You can see that I self assigned 10000 coins to be able to make this demo
but when any other person plays the game, he/she starts with 0.
Now I'm show you a demo of the game
As you can see, when the game starts, the orb ball goes to the top of the game
and to be able to push it down,
the player has to tap the screen many times
and that way the orb ball will be pushed to the bottom
By this side the walls will be appearing
To make this demo complete,
I'll try to score 1 point,
I'll get 1 heart removed,
and I'm going to use the wildcard orb ball
As you can see, I got 1 heart removed.
Now, I score 1 point.
Now, I'm going to use the wildcard orb ball
As you can see, I can go through any wall
and I still score points
[Secret Feature/Non-Trivial Feature]
This game has a special feature
that is hidden at the beginning of the game
and it is shown when the player scores more than 25 points.
Once I score more than 25 points,
If I go to the store
you'll see a new item
The new item is a Switch that lets
the player change the game mode
Now, I'm going to buy it
After that, If I go to the Main Menue
you'll see a new button, that says that I'll be playing the Easy Mode.
The Easy Mode is the one that I show you previously,
but if I tap on it
the game switches to Hard Mode.
The differences with the Hard Mode are: The player will have 1 heart,
the walls will move faster and he/she won't be able to use the wildcard
I'll try playing this mode
I don't think I'll score any point
because this mode is really hard.
Well, I score 1 point.
As you can see I only have 1 heart....
and now the game is over
[Game Structure]
Now, let's see the most important parts of the game structure.
Firstly, I'm going to explain the player.
The player is the orb ball
and in its script we can see, that it is affected by the gravity,
weights 80 kilogram
and its bounce factor is 0%
We also can see that the gravity of the game is 40 steps/second.
When the player taps the screen
the orb ball is impulsed
-200 steps/second in the Y axis
it all means that the player will be pushed to the bottom.
Also, when the orb ball collides with the right block,
the object changes its look randomly.
As you can see,
It has 5 looks that represent each element
and the wildcard.
The bounds avoid that the player goes out of the screen.
The object is a horizontal bound
that is cloned.
The clone will be the bottom bound.
The wall is composed by 4 blocks that have the same script
At the beginning, an endless loop is created
where the block object is placed
outside the screen, on the right
and it moves until it reaches the left of the game scene.
Once it happens, the block changes its look randomly
until each one of the block has a different look.
The loop repeats until the game is over
The score is managed by 2 objects,
the first one displays the numbers from 0 to 9
and the second one, displays the numbers from 10 to 99.
The hearts manage the health of the player.
Each time the orb ball collides with the wrong block,
one heart is removed
and the object changes its look.
The wildcard orb ball button checks
that the player has more than 0 units of the power
and if it is true, then
the player will be able to use the power, and the orb ball's look changes
to the wildcard orb ball


No comments:
Post a Comment