Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Drawing contents.. again!
#2
from the help guide, Bitmap class "get_pixel(x, y) Gets the color (Color) at the specified pixel (x, y)." That way would work but it might be a tad slow. If you are careful about your redraws, you could definitely do it that way. Do you really need to do it that way, though? Unless your armor comes in many weird sizes (asymmetrical, widely different shoulder bits) you should be able to get the width and height similar to how Sprite_Characters are drawn; that is, x = width /2 + offset, y = height + offset.

Why are you blting over the whole screen (640 by 480) anyways? at maximum you should only have to do it over the actor body image.
}


Messages In This Thread
Drawing contents.. again! - by Gardesion - 04-21-2014, 02:01 AM
RE: Drawing contents.. again! - by MechanicalPen - 04-21-2014, 05:46 PM
RE: Drawing contents.. again! - by DerVVulfman - 04-21-2014, 06:46 PM
RE: Drawing contents.. again! - by Gardesion - 04-22-2014, 02:41 AM
RE: Drawing contents.. again! - by JayRay - 04-22-2014, 02:49 AM
RE: Drawing contents.. again! - by Gardesion - 04-22-2014, 02:55 AM
RE: Drawing contents.. again! - by DerVVulfman - 04-22-2014, 03:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Drawing contents Gardesion 3 4,474 03-17-2014, 04:53 AM
Last Post: JayRay



Users browsing this thread: