Friday, 22 May 2015

Week 12: Coding tools to make design easier

This week I've made a few alterations to the inner workings of our character movement script, with the intention of smoothing out the workflow for designers.
Essentially, designers need to be able to tweak the movement values for each of our characters quickly and easily for the purpose of testing.


The old system:
  • Input: Jump force
  • Input Gravity
  • Output: Character jumps, although you won't know how high until you test it.
The new system:

  • Input: Required jump height
  • Input: Gravity
  • Output: Character jumps using the required force, as calculated according to inputs.
An aside: I had to use derivitives to calculate this- I haven't done this stuff since Grade 12! It was quite difficult.


This new system is much more accomodating to designers. In future, I'll definitely be considering "designer-friendliness" when designing scripts and script relationships.



As a side note- I've also done a fair amount of work on the camera movement this week. We now have fluid and intuitive camera movement, both horizontally and vertically. This will allow for vertically scrolling levels in the future.

No comments:

Post a Comment