In my previous post, all the poison spit did was to hit Bawang Putih like a tennis ball and piled up around her. I searched tutorials and the coding I did was actually a few combinations of the tutorials.
I've learned something new from Stencyl, it's called regions. It's use to move from levels to levels or entering doors by just having the player enter that region. Instead of clicking mouse to change scenes, just control the player to enter that area and *poof* you are in a new world.
I followed the tutorial from here :
http://www.stencyl.com/help/view/regions/
Here's the code that I've added in at the scene, in this case it's level 1:
I've drawn level 2's background. I'm thinking of placing a small cave to link both levels. So Bawang Putih will have to go through that cave to proceed to the next level.
I've coloured in the quest page and linked it to the main menu and level 1. I've also editted the instructions to be in the quest page, because many people might not view the instructions at the main menu.
- Introduction
- Major Features
- New Platforms: Android, HTML5, Native Desktop
- Haxe - Unified Programming Language
- Simple Physics
- Extensions
- Changes to iOS
- Better Workflow
- Universal Apps & Scaling
- Handling Touch Input
- Atlases
- Drawing Text
- Events for Purchases, Ads & Game Center
- Changes to Desktop
- Native, Hardware-Accelerated Apps
- Store-Ready Apps
- Full Screen Mode
- Changes to Sound Playback
I've figured out how to animate the main menu. Basically it uses the method as animating the actors which is frame by frame. I find this feature a bit tedious as one animation have to be done frame by frame unlike the timeline based feature that flash has.
As now I'm only making Bawang Putih swing, it's alright, but I can't imagine how I'm going to animate other objects in the main menu if they are to move too. And Stencyl only gives you 2 layers, foreground and background. Foreground can be animated separately but in the same way as Background.
Anyway, here is how I animated Bawang Putih on the swing :
I've revamped my main menu's design, by using Plants vs Zombie's logo as reference, I've redesigned my main title.
I've also moved the ladybug to the left side, so there's space for my play and instruction buttons. The ladybug acts like a foreground.
I've changed the main menu's layout to this :
I made Bawang Putih's jump mode and added it into my level 1. But the jump mode doesn't appear on my first click on the up arrow, instead it appears when I double click the up arrow.