Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Cómo deshacerme de un sprite para poder volver a agregarlo más tarde

Necesito hacerlo para que el cohete vuele, lo que quiero lograr matando al sprite restando una cordina y dibujando el sprite y haciendo eso una y otra vez para que de esta manera tenga la ilusión de que vuela.

 background(rgb(49,0,71)); var sn = 0; while ((sn <= 100)) { var star = createSprite(200, 200); star.y = randomNumber(0,400); star.x = randomNumber(0,400); star.setAnimation("star"); star.scale = 0.09; drawSprites(); sn = sn + 1; } var rocket1 = createSprite(randomNumber(0,400), 400); rocket1.setAnimation("rocket1"); rocket1.rotation = 270; rocket1.scale = 0.2; **function rocket1m() { rocket1.destroy(); rocket1.y = rocket1.y - 1; drawSprites(); }** rocket1m(); drawSprites();
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!