It has been one week since the last update, and I have really added some new functions. This prototype maybe small and simple, but I think this could absolutely show the idea of our team and people are able to get understand of the design.
For this time, I will show the function of happiness bar movement and the power-up buttons.And about the collision function that I mentioned last time, I would talk about its update.
1. Collision Update
Last time the original collision was that Mario stopped when got stuck. During this week, I added the collision event which shows the specific meanings (tire broken and burst fire hydrant). So when the function of collision detected there is a crash accident, it will shows the accident icon and you can hear the sound of that. I will show this with following pictures first:
2. Happiness Bar
This is very important for this game. Because each game has its obstacles. These two obstacles above I talked about will not be a real problem for the player if we could not use them to prevent players from winning. Just to address it again, this game is about parade. The troubles along the way are not big deal for parade itself, but when coming to the audience, it turns to be a disaster. We have designed a happiness bar to record the audience reaction to the parade. And when some random events happen, the audience would get unhappy. If the happy point falls to the end, the game is over.
For this design, I made a function for happiness bar movement. When the crash event happens, the collision detection will send a signal to the happiness function and then the happiness point will fall down a little. Just like:
- function b_move()
- local x2 = stepstick[j +1]
- local y2 = -655
- local b_x = stepstick[j +2]
- local b_y = -655
- j = j + 1
And the effect looks like this:
3. Power-Up button
Up to now, I added two power-up buttons. And there will be three at last. The first button is the repair button, which could solve the tire broken trouble but would not get the happiness point higher. And the second button is for cheering up the audience to get higher happiness point with the firework. You will find these when click these two buttons:
As for the third power-up button, I would add the candy button, which is similar to the firework button getting the audience happy and crazy (especially for the children).
So this is what I have done so far, and I really want to say thanks to our team members. They gave me courage and also provided me with useful information about the MOAI. Thank you! And keep working!