2020년 5월 30일 토요일

flutter (flame) review 2020

  • 장점
    • hot reload
    • 언어 지원
  • 단점
    • 불완전한 데스크탑 지원
      • 안드로이드 에뮬 띄워야 함
        • 느림, 과도한 CPU 사용
      • dev 채널
        • https://medium.com/flutter/announcing-flutter-linux-alpha-with-canonical-19eb824590a9
        • https://flutter.dev/desktop
    • 개발툴 크기
      • flutter ~600MiB
      • android studio ~900MiB
    • procedural texture generation 불가?
      • https://itnext.io/procedural-textures-with-flutter-efcf546cd1fc
      • https://api.flutter.dev/flutter/dart-ui/decodeImageFromPixels.html
      • 귀찮음
      • https://pub.dev/packages/bitmap <-?
    • flame
      • audioplayers 플러그인 데스크탑 지원 불가?
        • https://github.com/alexmercerind/flutter_audio_desktop
      • 1.2.0 에서 가능
         
    • broken?

haxeflixel review 2021

  • 장점
    • vscode에서 언어지원
    • 문서화
    • code 만으로 다 할 수 있음 
    • 강타입
      • 컴파일 만으로 제법 많은 에러를 찾아 냄.
  • 단점 
    • asynchronous programming 불가?
      • 라이브러리서 지원하려고 하지만 문서화, 안정화가 불안함
    • 느린 실행시간
      • 빌드 시간:
        • lime test linux 시 처음부터 빌드하나? (오래 걸림)
        • vscode에서는 가끔 먹통됨
    • 느린 속도(파일 읽기 + json파싱) - debug라서?(neko?)
      • native 빌드는 괜찮음
    • 문서화
      • 일부 API에 설명없음 
    • 디버깅
      • neko에서 디버깅 불가
      • html5에서 디버깅 불가(?)
        • openfl 버그 때문예?
        • https://community.openfl.org/t/update-to-haxe-4-1-0-results-in-build-error/12472
    • native debugging
      • https://haxeflixel.com/documentation/visual-studio-code/
      • install extension: hxcpp debugger
      • status bar : Build+Debug / / Linux/Debug 
      • 되는 것도 있고 안되는 경우도 있음
    • 가끔 vscode 먹통됨
      • unable to build cache...
      • vshaxe 플러그인 문제?
    • flixel.ui나 flixel.addons.ui 이 다양하지 않음...haxeui?
      • 예전 버전의 lime, openfl을 사용해야 함.
  • 참고
    • http://coinflipstudios.com/devblog/?page_id=32
    • https://haxeflixel.com/documentation/getting-started/
    • https://haxeflixel.com/documentation/cheat-sheet/
    • https://haxe.org/manual/debugging-posinfos.html