File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed
templates/cocos2d iOS.xctemplate Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,17 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection)
68
68
69
69
70
70
/* *
71
- * Will downscale incoming and outgoing scene.
71
+ * Will downscale outgoing scene.
72
72
* Can be used as an effect, or to decrease render time on complex scenes.
73
73
* Default 1.0.
74
74
*/
75
75
@property (nonatomic , assign ) float outgoingDownScale;
76
+
77
+ /* *
78
+ * Will downscale incoming scene.
79
+ * Can be used as an effect, or to decrease render time on complex scenes.
80
+ * Default 1.0.
81
+ */
76
82
@property (nonatomic , assign ) float incomingDownScale;
77
83
78
84
/* *
@@ -89,10 +95,15 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection)
89
95
@property (nonatomic , assign ) CCTexturePixelFormat transitionPixelFormat;
90
96
91
97
/* *
92
- * Defines whether incoming and outgoing scene will be animated during transition.
98
+ * Defines whether outgoing scene will be animated during transition.
93
99
* Default NO.
94
100
*/
95
101
@property (nonatomic , getter = isOutgoingSceneAnimated) BOOL outgoingSceneAnimated;
102
+
103
+ /* *
104
+ * Defines whether incoming scene will be animated during transition.
105
+ * Default NO.
106
+ */
96
107
@property (nonatomic , getter = isIncomingSceneAnimated) BOOL incomingSceneAnimated;
97
108
98
109
/* * The actual transition runtime in seconds. */
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ - (void)onEnter
82
82
83
83
// In pre-v3, touch enable and scheduleUpdate was called here
84
84
// In v3, touch is enabled by setting userInterActionEnabled for the individual nodes
85
- // Pr frame update is automatically enabled, if update is overridden
85
+ // Per frame update is automatically enabled, if update is overridden
86
86
87
87
}
88
88
@@ -126,4 +126,4 @@ - (void)onNewtonClicked:(id)sender
126
126
}
127
127
128
128
// -----------------------------------------------------------------------
129
- @end
129
+ @end
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ - (void)onEnter
189
189
190
190
// In pre-v3, touch enable and scheduleUpdate was called here
191
191
// In v3, touch is enabled by setting userInterActionEnabled for the individual nodes
192
- // Pr frame update is automatically enabled, if update is overridden
192
+ // Per frame update is automatically enabled, if update is overridden
193
193
194
194
// Basically this will result in fewer having the need to override onEnter and onExit, but for clarity, it is shown
195
195
}
@@ -298,4 +298,4 @@ - (void)update:(CCTime)delta
298
298
}
299
299
300
300
// -----------------------------------------------------------------------
301
- @end
301
+ @end
You can’t perform that action at this time.
0 commit comments