Code edit (4 edits merged)
Please save this source code
User prompt
Aumente o tamanho do objeto.
Code edit (4 edits merged)
Please save this source code
User prompt
O personagem na frente da corda, eu tô falando a posição, porra!
User prompt
Agora, crie o personagem.
User prompt
O personagem tá parecendo uma formiga. Aumenta o tamanho dele.
User prompt
Aumenta mais o personagem.
User prompt
Ainda tá pequeno. Aumenta a mãe de personagem.
Code edit (2 edits merged)
Please save this source code
User prompt
Centraliza o personagem no meio.
User prompt
Coloca mais um só a esquerda o personagem
User prompt
Corta mais o personagem para a esquerda.
User prompt
Aí tu exagerou demais a esquerda no personagem.
User prompt
Move só mais um tiquinho pra esquerda.
User prompt
Coloca só mais um grãozinho do personagem pra esquerda.
Code edit (2 edits merged)
Please save this source code
User prompt
Clicar na tela faz o personagem fazer uma animação, que no caso é...
User prompt
it's not this group, it's the group player_1, player_2, etc.
User prompt
change the player's asset group to: player_1, player_2, player_3, and player_4.
User prompt
Caracter animation is player_1, player_2, player_3, player_4
User prompt
Please fix the bug: 'Uncaught ReferenceError: currentAssetIndex is not defined' in or related to this line: 'currentAssetIndex = (currentAssetIndex + 1) % playerAssets.length;' Line Number: 89
User prompt
Please fix the bug: 'Uncaught ReferenceError: playerAssets is not defined' in or related to this line: 'currentAssetIndex = (currentAssetIndex + 1) % playerAssets.length;' Line Number: 91
User prompt
Add sprite frame rate
User prompt
Remove the previous animation, and if it's his turn, it appears again. It's just one sprite at a time
User prompt
animation happens once per click
===================================================================
--- original.js
+++ change.js
@@ -6,9 +6,9 @@
var Character = Container.expand(function () {
var self = Container.call(this);
// Attach the character asset
var characterGraphics = self.attachAsset('player_1', {
- anchorX: 0.9,
+ anchorX: 0.85,
anchorY: 0.5,
scaleX: 5,
scaleY: 5
});
@@ -64,9 +64,9 @@
// Add a click event to the game
game.down = function (x, y, obj) {
// Trigger a character animation
character.attachAsset('Player_lifting_1', {
- anchorX: 0.9,
+ anchorX: 0.85,
anchorY: 0.5,
scaleX: 5,
scaleY: 5
});
A small piece of wood.
a hanging rope. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
piece_of_wood. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Upgrade button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Gold_button_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
crown. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
raw piece of wood. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Metal. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Chair. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
create a hand icon breaking a brick in half. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Play_button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Diamond_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
pixel person with black hair, black pants, black eyes, and blue clothes making a V with hands jumping in a rain of diamonds. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Shop_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows