Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Kerberos

Showing random varibles on the screen

Question

How do i show damage on the screen if the varible number keeps changing at random, I can't create 9999 images for each number because I only have a limit of 50 pictures .

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

How do i show damage on the screen if the varible number keeps changing at random, I can't create 9999 images for each number because I only have a limit of 50 pictures .

 

 

Since no one reply for almost 24 hours I decided to do it myself basicly it uses simple math and all i need to do is add 10 images for the numbers 1-9

basicly the npcs do math whenever you click to talk to them i already got so far as to make a random number be added together all that is left is making the number random based on status like 10 str = 1 - 100 damage but i made the damage like this

 

Single: 0 - 9

Tens: 0 - 9*10

Hundred: 0 - 9*100

Thousand: 0 - 9*1000

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...