本文已被:浏览 2003次 下载 2178次
Received:June 05, 2018 Revised:June 27, 2018
Received:June 05, 2018 Revised:June 27, 2018
中文摘要: 为了使大众能方便地在室内进行健身,根据市场上已有的踏步器为蓝本,设计一款适用于踏步器的游戏系统,它溶健身娱乐为一体,适合现代人的生活方式.该系统由三部分组成:踏步器、传感装置和计算机.传感装置由两个霍尔传感器、MAX232串口芯片和STC89C52单片机组成,霍尔传感器用来感应玩家踏板动作,单片机用于计算左、右步频并发送步频,串口芯片将左、右步频数据传给计算机;计算机负责游戏软件的运行和显示.游戏软件的设计原理是:左、右步频的平均值可用来决定游戏主角的移动速度,步频差决定它的移动方向.改编了“贪吃蛇”游戏作为测试软件,在游戏中添加了运动控制和健身功能,经过测试能达到预期的设计效果.该游戏系统具有制作成本低、操控方便、通用性强等特点,具备一定的市场开发潜力.
Abstract:In order to meet people's needs of indoor fitness, a game system applied to the stepping machine is designed on the basis of a stepping machine in the market. It contains three parts:stepping machine, sensor equipment, and computer. The sensor equipment consists of two hall sensors, MAX232 serial port chip and STC89C52 single-chip microcomputer. The hall sensors find the pass of pedals and produce signals, single-chip microcomputer is used to calculate the step rates and send them, and serial port chip is used to transmit data to computer. The computer is used to run the game software and display the game images. The principle of the game software is that game protagonist's moving speed is determined by the average of step rate of left and right, and the directions of protagonist are determined by the difference of the step rate. The game of greed snake is adapted for the game system as test software, and functions of controlling snake movement and fitness are added in the test software. The game system can achieve the desired effect after repeated testing. The game system has good market potential because of its low cost of manufacture, easy manipulation and friendly universal property.
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation | |
TANG Jun | Institute of Sports Science and Technology, Anhui Province, Hefei 230001, China | 1739147087@qq.com |
Author Name | Affiliation | |
TANG Jun | Institute of Sports Science and Technology, Anhui Province, Hefei 230001, China | 1739147087@qq.com |
引用文本:
唐军.一种适用于踏步机的游戏设计.计算机系统应用,2019,28(2):118-124
TANG Jun.Design of Game Applied to Stepping Machine.COMPUTER SYSTEMS APPLICATIONS,2019,28(2):118-124
唐军.一种适用于踏步机的游戏设计.计算机系统应用,2019,28(2):118-124
TANG Jun.Design of Game Applied to Stepping Machine.COMPUTER SYSTEMS APPLICATIONS,2019,28(2):118-124