Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 FM 上创建简单的 2d 赛车游戏,我有赛道(赛车地图)位图。图像组件必须根据汽车位置仅显示该位图的一部分。有什么方法可以定义位图起点的坐标,Image 将从该坐标显示该位图。如果 Image 不支持,那是什么组件呢?谢谢。
使用 TSubImage。此组件类似于 TImage,但允许您指定要显示的图像的子部分。