请帮忙.使用箭头键移动字符或字母 [英] please help. moving character or letter using arrow keys

查看:84
本文介绍了请帮忙.使用箭头键移动字符或字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

字符或字母"A"必须移动.每个键对应角色必须移动的方向.....这是我的电子邮件 fast_11k@yahoo.com.ph ..
我是IT专业的学生...还是编程的初学者..请帮助...谢谢..

character or letter "A" must move every time an arrow key is pressed up,down,left,right. each key corresponds to the direction the character must move..... here''s my email fast_11k@yahoo.com.ph..
im a IT student... and a beginner of programming.. please help...... thank you..

推荐答案

因此,无论采用哪种技术,您都可以使用"重新使用寻找Key Down事件,对其进行处理并根据其按下的键移动字母"A".
So in whatever technology you''re using look for a Key Down event, handle it and move the letter "A" based on which key they pressed.


这篇关于请帮忙.使用箭头键移动字符或字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆