Code edit (5 edits merged)
Please save this source code
User prompt
limit dragNode rotation between -0.1 and 0.1 and restore it to zero if deltaX is low
User prompt
during handlePlayingStateMove, Animate dragNode's rotation slightly depending on x delta
Code edit (1 edits merged)
Please save this source code
User prompt
``` tween(self.valueText, { scaleX: scaleRatio, scaleY: scaleRatio }, { duration: 500, easing: tween.easeOut }); ``` for self.valueText doesn't work with scale, try with width and height
Code edit (13 edits merged)
Please save this source code
User prompt
in preselect(), animate the movement and scale
Code edit (1 edits merged)
Please save this source code
Code edit (5 edits merged)
Please save this source code
User prompt
in preselect(), use addChildAt to set the preselected operation front
Code edit (1 edits merged)
Please save this source code
User prompt
in updateOperations, preselect operation at index 0
Code edit (13 edits merged)
Please save this source code
User prompt
in applyOperation, implement the removal of used operation
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (9 edits merged)
Please save this source code
User prompt
Please fix the bug: 'withOffset is not defined' in or related to this line: 'levelText.x = centerX + (withOffset ? 2048 : 0);' Line Number: 230
Code edit (3 edits merged)
Please save this source code
User prompt
when background animate Transition ends, restore initial positions of graphics
Code edit (1 edits merged)
Please save this source code
User prompt
when changing level, call animateTransition on backgroundImage
User prompt
in BackgroundImage add a new function animateTransition() that animates the move of the 4 graphics with a delta of -2048 for x and -2732 for y
Code edit (8 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -35,9 +35,10 @@
anchorY: 0.5,
scaleX: -1,
scaleY: -1,
x: centerX + 2732,
- y: centerY + 2732
+ y: centerY + 2732,
+ tint: 0xFF0000
});
self.animateTransition = function () {
tween(backgroundGraphics, {
x: backgroundGraphics.x - 2048,
tick
Sound effect
tileEntrance
Sound effect
tileRemove
Sound effect
operationSelect
Sound effect
operationCancel
Sound effect
tileChangeValue
Sound effect
resetSound
Sound effect
levelFailed
Sound effect
menuLevelSelect
Sound effect
menuCellEnter
Sound effect
applause
Sound effect
bgMusic
Music
tada
Sound effect