简体   繁体   English

适用于教育iPad或Android应用程序的高级2D图形开发? (正在处理?rokon?)

[英]high-level 2D graphics development for an education iPad or Android app? (Processing? rokon?)

I'm trying to help an education teacher, with a novice amount of programming experience (I know he's written Logo programs) write an iPad or Android app for education. 我正在尝试帮助具有新手编程经验(我知道他写过Logo程序)的教育老师编写用于教育的iPad或Android应用程序。 (iPad would be better, since he has one). (iPad会更好,因为他有一个)。 XCode / Objective C and OpenGL seem to have a very steep learning curve. XCode / Objective C和OpenGL的学习曲线似乎非常陡峭。

Question : What is the best high-level 2D development framework? 问题 :最好的高级2D开发框架是什么?

Some candidates might be Processing or rokon. 一些候选人可能正在处理或流动。 Has anyone used either, and liked it? 有没有人使用过并且喜欢它? I started experimenting with rokon, and the physics was nice, but it still felt pretty low-level. 我开始使用rokon进行实验,虽然物理效果很好,但是仍然感觉很低级。

Application : The students would complete several puzzles, aiming to connect their visual and analytic skills. 应用 :学生将完成几个谜题,目的是将他们的视觉和分析技能联系起来。 First, students would build a square out of "composite shapes" (which are built out of triangles) of different colors, 首先,学生将使用不同颜色的“复合形状”(由三角形构建)来构建正方形,

在此处输入图片说明

and then answer questions about the ratio of areas. 然后回答有关面积比的问题。 For example, what is the ratio of the blue diamond to the entire square? 例如,蓝色菱形与整个正方形的比例是多少? Then, what is the ratio of the orange shape to the pink-red square? 那么,橙色形状与粉红色红色正方形的比例是多少? (Answers: 4/18, 6/2, by observing how each shape is built from green triangles). (答案:4 / 18、6 / 2,通过观察如何用绿色三角形构建每个形状)。

Optimally, the students could drag the shapes around, and "snap" them together (rokon's physics seem suited for this task). 最理想的是,学生可以拖动形状,然后将它们“捕捉”在一起(rokon的物理学似乎适合此任务)。 Placing one shape on another might be more difficult, but would be nice (perhaps a "double tap to pick up" interface would work). 将一个形状放置在另一个形状上可能会比较困难,但是会很好(也许“双击拾取”界面会起作用)。

For iOS Cocos2D is an amazing framework. 对于iOS, Cocos2D是一个了不起的框架。 For Android, I think Rokon is not being developed anymore. 对于Android,我认为Rokon已不再开发。 Take a look at AndEngine . 看看AndEngine It's not bad, has some quirks. 不错,有一些怪癖。

With either one you can create this sort of puzzle. 无论使用哪种方法,您都可以创建此类难题。 I suppose however, the right one depends on your choice of platform, who will do most of the code? 但是我想,正确的选择取决于您选择的平台,谁将负责大部分代码? Does your friend have a Mac to run XCode on if they are going to write it? 如果您的朋友要编写XCode,是否可以在Mac上运行XCode?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM