Flash CS3 的轮廓问题
我的 Flash 作品有问题。我正在矢量扑克牌面。我的问题是,即使我使用最细的笔划(0.1),当我缩小页面时,线条会变粗,这在 Flash 游戏中看起来很糟糕。谁能告诉我如何才能使笔画在外观上相同,即使我缩小页面?
im having problems with my artwork in flash. I am vectoring playing card faces. My problem is, even if Im using the thinnest stroke which is 0.1, when i zoom out the page, the line becomes thick which looks bad in the flash game. Can anyone tell me how i can make the stroke be the same in appearance even if I zoom out the page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
至少在Flash CS5中(我认为在CS4中也是如此,但我不确定)你可以将笔划缩放从“正常”设置为“无”,这会导致你想要的效果(缩放时笔划不被缩放)在)。
At least in Flash CS5 (and i think in CS4 too, but i'm not sure) you can set stroke scaling from "normal" to "none", which results in the effect you're after (strokes not being scaled when zooming in).
您应该使此笔划取决于应用程序的大小,因此您应该有一些大小更改事件处理程序,并抛出显示的卡片列表,并更改每个笔划。
但世界都喜欢简单的事情,恕我直言,我更喜欢在 Flex 4 中使用这样的代码:
you should make this stroke depends of application sizes, so you should have some size change events handler, and go throw list of showed cards, and change each stroke.
but the world is liking easy things, imho I'd prefer to use such code for Flex 4: