varnholt / deceptus_engine

A platformer game engine in development
Other
14 stars 7 forks source link

expose entire spikeball config as properties #138

Closed varnholt closed 2 years ago

varnholt commented 2 years ago
      struct SpikeConfig
      {
         // factor to control the push force when ball moves from right to left
         float _push_factor = 0.625f;

         // number of points retrieved from the given spline
         int32_t _spline_point_count = 25;

         // chain element setup
         int32_t _chain_element_count = 10;
         float _chain_element_distance = 0.3f;
         float _chain_element_width = 0.06f;
         float _chain_element_height = 0.0125f;
      };