Code edit (1 edits merged)
Please save this source code
Code edit (8 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: self is undefined' in or related to this line: 'self.leftHand = self.body.attachAsset('hand', {' Line Number: 148
User prompt
in Player class, add the hands
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
in Player, add the forearms
Code edit (2 edits merged)
Please save this source code
User prompt
flip rightArm horizontally
Code edit (6 edits merged)
Please save this source code
User prompt
in Player class, nam arms correctly
User prompt
in Player class, add the other arm
Code edit (1 edits merged)
Please save this source code
Code edit (16 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: self is undefined' in or related to this line: 'self.arm = self.body.attachAsset('arm', {' Line Number: 117
User prompt
add arm to the Player
Code edit (2 edits merged)
Please save this source code
User prompt
in Player class add a body property using body asset
Code edit (1 edits merged)
Please save this source code
User prompt
Le joueur ne doit pas sortir du ring.
User prompt
Enlève le game over.
User prompt
j'utilise l'asset player pour ennemi
User prompt
Place l'ennemi au milieu du ring
User prompt
L'ennemi ne doit pas descendre.
User prompt
L'ennemi ne descend pas.
===================================================================
--- original.js
+++ change.js
@@ -30,9 +30,12 @@
self.leftHand = self.body.attachAsset('hand', {
anchorX: 0.5,
anchorY: 0.5,
x: -110,
- y: -180
+ y: -200,
+ width: 100,
+ height: 200,
+ rotation: -Math.PI * 0.05
});
self.leftForearm = self.body.attachAsset('forearm', {
anchorX: 0.5,
anchorY: 0.5,
clear
basic light gray convex round button with a red boxing glove icon. UI
Un gant de boxe bleu vu de dessus. video game
basic light round convex gray button with a raised blue shield icon.. UI
un éclair. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
remove
a basic white heart.. game icon
A boxer has lost the match..
man boxer with red gloves is KO on the ring..