Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define-prefab "blank-ship-body" (ships)
- (fl.comp:sprite-renderer () :spec-file "foo.spec"))
- (define-prefab "player1-ship" (ships)
- (("ship-body"
- (:link ("/blank-ship-body"))) ;; links /blank-ship as ship-body
- (fl.comp:sprite-renderer () :animation "player1" :frames 42))
- ("weapons"
- (proj.comp:weapon-inventory))
- ("energy"
- (proj.comp:energy-manager)))
- ;; now, does the ship-body have this?
- (fl.comp:sprite-renderer () :animation "player1"
- :frames 42
- :spec-file "foo.spec")
Add Comment
Please, Sign In to add comment