igntec
igntec

Reputation: 1056

Fire Monkey Image view area

I want to create simple 2d racing game on FM, I have track (racing map) bitmap. Image component must show only part of that bitmap depending on car position. Is there any way to define coordinates of bitmap's start point, from which Image will show this bitmap. If Image doesn't support that, what component does? Thanks.

Upvotes: 0

Views: 404

Answers (1)

Mike Sutton
Mike Sutton

Reputation: 4211

Use a TSubImage. This component is similar to a TImage, but lets you specify a sub-section of the image to be displayed.

Upvotes: 0

Related Questions