-
Notifications
You must be signed in to change notification settings - Fork 680
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CATROID-766 Evaluate “when touches actor or object” to false initially
Evaluating “when …” always to false at the start of a scene, allows an object to change its position before checking for a collision. Since all objects are placed at coordinates (0, 0) initially, when a scene is started or restarted, for the first 200 milliseconds, the condition “when …” is not checked and the value false is returned instead. After this time threshold has been completed, a scene is considered to be continued and hence, the condition at this point onwards is always evaluated to check for a collision.
- Loading branch information
1 parent
ee88306
commit ef0ea40
Showing
12 changed files
with
110 additions
and
4 deletions.
There are no files selected for viewing
Binary file added
BIN
+50.8 KB
...t/assets/catrobatTests/touchesActorOrObject/testTouchesActorOrObjectInitialValue.catrobat
Binary file not shown.
Binary file added
BIN
+125 KB
...Tests/touchesActorOrObject/testTouchesActorOrObjectInitialValueIfLogicBeginBrick.catrobat
Binary file not shown.
Binary file added
BIN
+181 KB
...s/touchesActorOrObject/testTouchesActorOrObjectInitialValueIfThenLogicBeginBrick.catrobat
Binary file not shown.
Binary file added
BIN
+130 KB
.../touchesActorOrObject/testTouchesActorOrObjectInitialValueRestartSceneWithClones.catrobat
Binary file not shown.
Binary file added
BIN
+132 KB
...s/touchesActorOrObject/testTouchesActorOrObjectInitialValueSceneRestartContinued.catrobat
Binary file not shown.
Binary file added
BIN
+182 KB
...atrobatTests/touchesActorOrObject/testTouchesActorOrObjectInitialValueWithClones.catrobat
Binary file not shown.
Binary file added
BIN
+305 KB
...ests/touchesActorOrObject/testTouchesActorOrObjectInitialValueWithSeveralObjects.catrobat
Binary file not shown.
Binary file added
BIN
+128 KB
...assets/catrobatTests/touchesActorOrObject/testTouchesActorOrObjectSceneContinued.catrobat
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters