Skip to main content
deleted 70 characters in body
Source Link
Kromster
  • 10.7k
  • 4
  • 55
  • 67

I know I`m stupid but I didn't find something to help me... I'm making a game in C using SDL library and I want to display a score. I have 9 photos with numbers from 0-9 and I want to know if I can use them somehow to display score  , if my score is 2679 the game should use the photos 2 6 7 and 9 and display them realtime  , can this be possible? Or how should I display the score? Thanks.

I know I`m stupid but I didn't find something to help me... I'm making a game in C using SDL library and I want to display a score. I have 9 photos with numbers from 0-9 and I want to know if I can use them somehow to display score  , if my score is 2679 the game should use the photos 2 6 7 and 9 and display them realtime  , can this be possible? Or how should I display the score? Thanks.

I'm making a game in C using SDL library and I want to display a score. I have 9 photos with numbers from 0-9 and I want to know if I can use them somehow to display score, if my score is 2679 the game should use the photos 2 6 7 and 9 and display them realtime, can this be possible? Or how should I display the score?

edited title
Link

c++ C SDL render text?

Source Link

c++ render text?

I know I`m stupid but I didn't find something to help me... I'm making a game in C using SDL library and I want to display a score. I have 9 photos with numbers from 0-9 and I want to know if I can use them somehow to display score , if my score is 2679 the game should use the photos 2 6 7 and 9 and display them realtime , can this be possible? Or how should I display the score? Thanks.