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

111
Views
Keeping the score and level on the screen

I'm working on a side scrolling game where the camera follows my character. The level and score display is visible, but it stays in place and is no longer on-screen once I move. How can I make it to where the score and level display is "fixed" on the screen?

Here's part of the code that I'm focused on:

const scoreLabel = add([
    text(score),
    pos(15, 6),
    layer('ui'),
    {
        value: score,
    }
])

add([text('level' + parseInt(level + 1)), pos(40, 6)])
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!