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

115
Views
Estrellas aleatorias en Phaser3

Tengo un grupo de estrellas. Me da solo 1 estrella al principio. Quiero lograrlo, si tomo esta estrella, me da 2 estrellas, si tomo 2 estrellas, me da 3, y así sucesivamente. ¿Cómo puedo hacerlo?

 stars = this.physics.add.group({ key: 'star', repeat: -1, setXY: { x: Phaser.Math.RND.between(0, 900), y: Phaser.Math.RND.between(0, 600), frameQuantity: 2, repeat: 5 } }); this.physics.add.overlap(player, stars, collectStar, null, this); function collectStar (player,star){ star.disableBody(true, true); score += 2; // COUNT BY 2 scoreText.setText('Score: ' + score); }
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!