Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.82 KB

README.md

File metadata and controls

51 lines (29 loc) · 1.82 KB

Mortal Kombat with Flutter Flame (basics) showcase

Flutter application with flame engine that I used for presentation on Zagorje DevCon.

Note: all sprites and images are downloaded from mortalkombatwarehouse

Parallax Component

  • Used for background with several layers
  • Some have velocity some not

world

SpriteAnimationGroupComponent

  • SpriteAnimationComponent wrapper [Component that has sprites that run in a single cyclic animation]
  • hold several animations and change the current playing animation at runtime

stance

Adding Movement (Player extends PositionComponent)

Movement

Collision Detection

  • HasCollisionDetection
  • CollisionCallbacks
  • Hitboxes

collision

Overlays

Game overlays enables any Flutter widget to be shown on top of a game instance

overlay

Complete Circle Of Game

  • Adding multiple overlays
  • Triggering functions on game state changes
  • Creating gameplay

complete

Adding sound

  • FlameAudio.bgm.play('music.mp3')
Screen.Recording.2023-02-21.at.17.56.01.mov