June 12

RPG Devlog 007 – Vector Math and FMOD

0  comments

  • Home
  • /
  • Blog
  • /
  • RPG Devlog 007 – Vector Math and FMOD

Using vector math in code, I create dynamically adjusting projectile combat sounds from an Archer attack in FMOD. Still needs a little work as there a couple times in the video where the arrow though it had passed me and plays the sound for a miss. I’ll need to look into a more accurate way of making sure a hit is known before it gets too close for the math to think it’s traveled the complete distance, and also, I need it to adjust so that if the player runs right directly at the arrow, or away, it tracks that math as well. WIP. We also see an upgrade to the UI in this update.


Tags

Combat, FMOD, UI, Unity, Vector Math


__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"62516":{"name":"Main Accent","parent":-1}},"gradients":[]},"palettes":[{"name":"Default Palette","value":{"colors":{"62516":{"val":"var(--tcb-skin-color-0)"}},"gradients":[]},"original":{"colors":{"62516":{"val":"rgb(19, 114, 211)","hsl":{"h":210,"s":0.83,"l":0.45}}},"gradients":[]}}]}__CONFIG_colors_palette__
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"89b00":{"name":"Main Accent","parent":-1},"f4f63":{"name":"Accent Dark","parent":"89b00","lock":{"saturation":1}}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"89b00":{"val":"var(--tcb-skin-color-0)"},"f4f63":{"val":"rgb(28, 40, 49)","hsl_parent_dependency":{"h":206,"l":0.15,"s":0.27}}},"gradients":[]},"original":{"colors":{"89b00":{"val":"rgb(19, 114, 211)","hsl":{"h":210,"s":0.83,"l":0.45,"a":1}},"f4f63":{"val":"rgb(12, 17, 21)","hsl_parent_dependency":{"h":206,"s":0.27,"l":0.06,"a":1}}},"gradients":[]}}]}__CONFIG_colors_palette__
Previous Article
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"89b00":{"name":"Main Accent","parent":-1},"f4f63":{"name":"Accent Dark","parent":"89b00","lock":{"saturation":1}}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"89b00":{"val":"var(--tcb-skin-color-0)"},"f4f63":{"val":"rgb(28, 40, 49)","hsl_parent_dependency":{"h":206,"l":0.15,"s":0.27}}},"gradients":[]},"original":{"colors":{"89b00":{"val":"rgb(19, 114, 211)","hsl":{"h":210,"s":0.83,"l":0.45,"a":1}},"f4f63":{"val":"rgb(12, 17, 21)","hsl_parent_dependency":{"h":206,"s":0.27,"l":0.06,"a":1}}},"gradients":[]}}]}__CONFIG_colors_palette__
Next Article
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

You may also like

Idle Arcade Tycoon Update 1.0.4

Idle Arcade Tycoon Devlog 24 – RELEASE DAY!!

Why I Went Homeless to Make Video Games – Part 4 of 4

Why I Went Homeless to Make Video Games – Part 3 of 4

Page [tcb_pagination_current_page] of [tcb_pagination_total_pages]

>