Skip to content

feat: replace 2D badge system with 3D badge-engine integration#6

Open
logan676 wants to merge 1 commit intomainfrom
feature/badge-3d
Open

feat: replace 2D badge system with 3D badge-engine integration#6
logan676 wants to merge 1 commit intomainfrom
feature/badge-3d

Conversation

@logan676
Copy link
Member

Summary

  • Delete old Features/Badges/ (2D badges + Medal3D/RealityKit experiment)
  • Integrate badge-engine C++ library via Vendor/BadgeEngine/ (static lib + C API)
  • New Swift bridge (BadgeEngineBridge + BadgeEngineService) with CADisplayLink render loop, gyroscope, CoreHaptics
  • New SwiftUI views: BadgeListView (LazyVGrid), BadgeDetailView (fullscreen 3D), BadgeCeremonyView (unlock overlay)
  • BadgeAssetManager for .badge file download/cache/unzip
  • Navigation entry in MeView

Test plan

  • Update Xcode build settings (HEADER_SEARCH_PATHS, LIBRARY_SEARCH_PATHS, OTHER_LDFLAGS)
  • Add NSMotionUsageDescription to Info.plist
  • Verify MeView shows badge navigation entry
  • Verify BadgeListView renders with mock data
  • Verify badge-engine renders 3D medal on device

- Remove entire Features/Badges/ directory (2D badges + Medal3D/RealityKit)
- Remove old Badge/UserBadge/BadgeProgress models
- Add Vendor/BadgeEngine/ with C static library and headers
- Add Core/Badge/ with Swift C interop bridge and engine service
- Add Features/Badge/ with SwiftUI views (list, detail, ceremony)
- Add BadgeAssetManager for .badge file download and extraction
- Update bridging header, API endpoints, and cache keys
- Wire badge navigation entry in MeView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant