-
Book Overview & Buying
-
Table Of Contents
Construct Game Development Beginners Guide
By :
Luckily for us, Construct Classic makes parallax very easy with the scrolling rate values of each layer. Previously, we set these to 0% to stop scrolling completely for HUD layers, but now we can use it to add depth to our levels.
1. Change the Scroll X Rate and Scroll Y Rate values of the Foreground and BackScenery layers to 120%, 120% and 80%, 80% respectively.
2. On the Foreground layer, create a Sprite called StraightChain and paste in our vertical chain sprite. Size this up large and set its Collisions mode to None before placing a few copies of it along the map.
3. Create a similar Sprite named Hook with our hook sprite pasted into it at the ends of some of the chains.
4. Add a few more of these chain objects to the layers FrontScenery and BackScenery along the level. Remember that when the player sees them, they will be slightly offset to how they look in the Layout Editor.
5. Next, use the horizontal chain image to create the sprite HangingChain...
Change the font size
Change margin width
Change background colour