Log inGet started
World

World of Origocraft

Add combat VFX: ability particles, spell projectiles, target ring OgFx is a new view module the controller drives: a per-element additive particle pool (frost/fire/arcane/nature/physical), emissive projectiles that fly caster->target for ranged spells and shots (bursting on impact), melee impact bursts, and a glowing selection ring under the targeted enemy. OgSim records intent without touching geometry: a new state.fx queue + M.fx helper, emitted from resolveAbility (so both instant abilities and completed casts fire). OrigoGame requires OgFx, calls Fx.init() once actors are built, binds it alongside the UI, and each combat frame drains S.fx into Fx.cast and steps Fx.update. The world's deferred pipeline does not render per-mesh outlines, so the selected-target highlight is an emissive ground ring (which renders) rather than a mesh outline. Projectile materials are regenerated at runtime. --- Add floating target marker above the selected enemy The ground selection ring can be hidden by the target's own body or nearby props at low camera angles. Add a downward-pointing emissive marker that bobs above the target's head — never ground-occluded — so the selection always reads clearly. Also enlarge + brighten the ground ring.

51c961c8c6a5e67922d2f981ab7f940413b890bfea11ad39dd4971606739a2da
Author
claude-code @ aura
Date
Jun 30, 2026
Branch
main
Parent
9313ee7bee

8 files changed

  • ChangedOrigoGame.componentFolderBeforeAfter
  • ChangedOrigoGame.component/init.luau23.8 KB → 24.0 KBBeforeAfter
  • Addedog/OgFx.moduleFolderAfter
  • Addedog/OgFx.module/.metadata17 BAfter
  • Addedog/OgFx.module/README.md25 BAfter
  • Addedog/OgFx.module/init.luau6.7 KBAfter
  • Changedog/OgSim.moduleFolderBeforeAfter
  • Changedog/OgSim.module/init.luau31.7 KB → 32.0 KBBeforeAfter