Playing with Haxe, OpenFl and Nape.
https://multisolution.github.io/haxe-game/demo/
Missing something to globally handle collisions, maybe aInteractionManager
what would avoid custom events likePlayerEvent
and handlingEnemy
collisions to theWall
inside thePlayer
- It's boring, yet very illustrative to handle a link between Nape and OpenFl
- Definitely, for a production work, it worth to use a renderer like HaxeFlixel or HaxePunk
It's very hard to manage DPI scale
Actually, it doesn't makes sense to build a fluid layout game since players will, at least in this case, see distinct level widths which direct impacts gameplay. So we're defining 360x640
as the logical resolution, which has a 9:16 aspect ratio (or a portrait 16:9) and let it fit into the available space. Good read: https://v-play.net/doc/vplay-different-screen-sizes/
The main ideia is a 8-bit, e.g.:
- https://dribbble.com/shots/3156576-Rocketbank-Characters-Jump-cycle
- https://dribbble.com/shots/113217-Out-erspace-casts
- https://dribbble.com/shots/639611-Don-t-Call-It-A-Sequel
- https://dribbble.com/shots/2553152-Booking-com
- https://dribbble.com/shots/2316427-Asics-GEL-LYTE-III
- https://dribbble.com/shots/40116-Frank-s-walk-cycle
- https://dribbble.com/shots/44530-Grubeway
- https://dribbble.com/shots/2753260-Donkey-Kong-s-35th-Anniversary