Add unit tests for Parallax2D
- Added test cases for setting and getting key properties of Parallax2D, including: - Scroll scale - Repeat size and times - Autoscroll - Scroll and screen offset - Limit begin and end - Follow viewport and ignore camera scroll flags
This commit is contained in:
parent
05d985496c
commit
3d13d90185
2 changed files with 132 additions and 0 deletions
|
|
@ -119,6 +119,7 @@
|
|||
#include "tests/scene/test_node.h"
|
||||
#include "tests/scene/test_node_2d.h"
|
||||
#include "tests/scene/test_packed_scene.h"
|
||||
#include "tests/scene/test_parallax_2d.h"
|
||||
#include "tests/scene/test_path_2d.h"
|
||||
#include "tests/scene/test_path_follow_2d.h"
|
||||
#include "tests/scene/test_sprite_frames.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue