摘要
传统的教育游戏大都基于“无身认知”的开发理念,在游戏的过程中,往往会限制游戏者的身体活动。具身认知是将身体置于具体的情景之中,以获得对其他物体和世界的认知。文章在深入分析和研究具身认知的基础上,利用Animate设计并实现了一款基于摄像头感测的教育体感游戏“数字乐园”。在游戏开发过程中,利用Animate AS编程技术实现摄像头捕获学习者的肢体动作,借助机器视觉分析算法获取其运动量的数值并转化为游戏角色移动的距离;编写函数hitTestObject()实现游戏角色与游戏元素的碰撞检测功能。让游戏者摆脱了鼠标、键盘和手柄的限制,通过自己的肢体动作来操作游戏,身临其境地与游戏内容互动。
Most of the traditional educational games are based on the concept of“bodiless cognition”,which often restricts the player’s physical activity during the game. Embodied cognition,on the other hand,puts the body in concrete situations in order to gain knowledge of other objects and the world. Based on the in-depth analysis and research of embodied cognition,this paper designs and implements a camera-based educational somatic game“Digital Paradise”using Animate. In the game development process,Animate AS programming technology is used to capture the learner’s body movements with the camera,obtain the values of their movements with the help of machine vision analysis algorithm and translate them into the distance the game character moves;and write the function hitTestObject()to realize the collision detection function between the game character and the game elements. Let the gamer get rid of the limitation of mouse,keyboard and handle,operate the game through his own body movement,and interact with the game content.
作者
刘俊杰
夏小俊
柏毅
Liu Junjie;Xia Xiaojun;Bai Yi(Key Laboratory of Child Development and Learning Science,Southeast University,Nanjing 210096,China;lnstitute of Child Development and Education,Southeast University,Nanjing 210096,China)
出处
《无线互联科技》
2022年第22期50-52,共3页
Wireless Internet Technology
关键词
具身认知
教育游戏
体感交互
Animate
AS
embodied cognition
educational games
somatosensory interaction
animate actionScript