Better easings and motion but I need better data.
This commit is contained in:
parent
f8158a3ea9
commit
949bbd4f15
10 changed files with 75 additions and 17 deletions
|
|
@ -3,7 +3,6 @@
|
|||
#include <ranges>
|
||||
|
||||
const bool DEBUG=false;
|
||||
const bool YOU_REMOVED_MID_CELL_IDIOT=false;
|
||||
|
||||
namespace scene {
|
||||
Element config_scene_element(nlohmann::json& config, bool and_play, bool duped) {
|
||||
|
|
@ -18,8 +17,6 @@ namespace scene {
|
|||
// BUG: need to make animation optional
|
||||
auto anim = animation::load(sprite_name);
|
||||
if(and_play) anim.play();
|
||||
anim.scale_x = scale_x;
|
||||
anim.scale_y = scale_y;
|
||||
|
||||
std::string cell = config["cell"];
|
||||
std::string name = config["name"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue