Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

177
Visualizações
control a snake size on create.js

I have bought a script from codecanyon. The script is developed with create.js, it is a classic snake game where the snakes eats an apple and it's size grows. I have made some customization to the original game logic and added some other items( healthy fruits and unhealthy foods).I'm struggling with one logic, where when the snakes eats a special medicine(which will be displayed after the snake eats 5 food items) the snake size should shrink by one. I'm new to create.js and couldn't find the function which controls the snake size.

The code

Any help would be greatly appreciated :)

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda