[Leapy] Lilypad object and first movement
Leapy » Devlog
I made a fast diagram to ilustrate how the lilypad movements will works:
The lilypad has a movement attribute and based on which one is added to the object is the movement behavior that takes place.
Lilypad class:
On update it just calls movementLogic and that script takes cares of the movement.
The base Movement script does nothing (serves as "no movement") but is the base to extend other behaviours.
Base:
Horizontal movement (it's a hardcoded script to test):
So, having this, to change the movement of a lilypad i just have to drop a diferent movement script to the object.
This is how it works
Get Leapy
Download NowName your own price
Leapy
More posts
- [Leapy] Final version is live.Jul 29, 2022
- [Leapy] New graphics!Jul 27, 2022
- [Leapy] First playable version!Jul 25, 2022
- [Leapy] All the different lilypads so farJul 23, 2022
- [Leapy] Lilypad spawn system and changes in deleting off-screen lilypadsJul 22, 2022
- [Leapy] Sample GameOver screen and changes to landing on lilypadsJul 03, 2022
- [Leapy] Deleting lilypads off-cameraJul 02, 2022
- [Leapy] Landing on lilypadsJun 19, 2022
- [Leapy] Repetitive backgroundJun 09, 2022
Leave a comment
Log in with itch.io to leave a comment.