playMaker

Author Topic: Help to Simplify Feedback and FX  (Read 1078 times)

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Help to Simplify Feedback and FX
« on: January 22, 2020, 08:22:05 AM »
Hello,
recently I found out that adding feedback and other extras are causing clutter quite fast. For example, in a gun shoot, adding camShake to the camera, change post-processing fx, sound fx, particle fx muzzle firecracker, and all sorts of things that will be added, etc.

And there would be other things as well that will be added feedback and fx.


How do you keep things tidy and clean as I keep adding new FX?
Thanks!
.

While writing this, I was thinking about using global events and just broadcast to every fx, not sure tho for now.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Help to Simplify Feedback and FX
« Reply #1 on: January 23, 2020, 01:09:05 AM »
Hi,

 indeed creating a set of global events is a way to keep things clean, define each action that requires some feedback and fx and just broadcast it to whoever wants to do something with it. something like:

"GUN / ON SHOT FIRED"

Bye,

 Jean

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Re: Help to Simplify Feedback and FX
« Reply #2 on: January 24, 2020, 04:31:33 AM »
Nice, thanks for clearing that out!
Now to organizing each and every event so they won't fighting with each other.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Help to Simplify Feedback and FX
« Reply #3 on: January 27, 2020, 01:08:57 AM »
Hi,

 yep, and try to come up with a standard, I often use proper english sentences like:

GUN / ON WILL FIRE
GUN / ON DID FIRE

Or

GUN / FIRE / STARTED
GUN / FIRE / ENDED

stuff like that will make it clear, also, on complex features, try to provide context as well:

GUN / WEAPON / ON UI SWITCH
GUN / WEAPON / ON SWITCH

the above two events are critical for updating everything, I use the first, to inform my fsm that the actual player clicked on a button or on the interface to switch weapon, while the second tells my fsm that the weapon system itself has switched, which can come from triggers in your level, or some bonuses, etc etc. On complex and intricated features, these disctinction becomes vital.

Bye,

Jean