how would i code in that numbers appear on the bottom of the screen that appear in proelium and move up and down like adding and subtracting them? example: a mob has 125 HP on the bottom of his screen. he is hit for 50 damage. how would I subtract the 50 from the 125 and make a 75 appear were the 125 was?
thanks for help
ID:169531
Jun 5 2005, 2:36 pm
|
|
Jun 5 2005, 4:42 pm
|
|
You need to do a lot of fudging around with icons and pixel_x and pixel_y. Generally, you create an icon for each digit, from zero to nine, and then display them in the right place. Alternetively, you can create the digits zero - nine in each 'slot' that it can sit in and display them.
|
In response to Jp
|
|
Jp wrote:
You need to do a lot of fudging around with icons and pixel_x and pixel_y. Generally, you create an icon for each digit, from zero to nine, and then display them in the right place. Alternetively, you can create the digits zero - nine in each 'slot' that it can sit in and display them. Using individual atoms for this is generally a terrible approach, since a library such as DmiFonts can do it in one atom and will serve much better. Lummox JR |