2D 关卡编辑程序资源
我正在开发一款 2D 游戏,并且刚刚开始开发关卡编辑器。级别将被定义为二维多边形形状的列表。
关卡编辑器应允许创建通过在点上单击鼠标以及平移、缩放和旋转多边形来定义的自定义多边形。这些功能就像 Photoshop 中的功能,即对象的句柄。
我正在寻找的是有关如何完成此类应用程序编程的资源。我最好想要一个演示的源代码(我正在查看 SVG 编辑器 Inkscape 的源代码,但它对于我的需求来说太复杂了)。
我的工作语言是 C#,所以我更喜欢该语言的源代码。
有人能指出我正确的方向吗?
I'm developing a 2D game, and I've just started working on the level editor. Levels will be defined as a list of 2D polygon shapes.
The level editor should allow creating of custom polygons defined by clicking the mouse at points, and translating, scaling and rotating the polygons. The functions will be like the functions in photoshop i.e handles on objects.
What I am looking for is resources on how the programming for an application like this is done. Preferably I'd like the source code for a demo (I was looking at the source code for the SVG editor Inkscape but it's far too complicated for my needs).
My working language is C#, so I would prefer source code in that language.
Would someone be able to point me in the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论