Tags: javascript, jquery
好久没有写文章了,之前在忙准备实习的事,实习的时候也忙,就没上博客。面向对象没学好,这jquery写的俄罗斯方块,也只写了80%,不想写了,demo,思路是像电视机显像管一样,图象在什么位置,哪些DIV就变色。
总结下遇到的问题。
1、判断图象是否超出容器内部。
2、图象自动下落与按键使其下落的问题。
3、图象变形的瞬间与其他图象碰撞的问题。
4、消条的时候,我选择的是从集合底部遍历(jQuery.each),依次消色并下落图象。
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
不错有点意思~
[回复]
idamag 回复:八月 8th, 2010 at 16:56
嘿嘿,谢谢~
你这是在自己做一个俄罗斯方块程序?
idamag 回复:九月 6th, 2010 at 22:07
写着玩玩的。。
Name (required)
Mail (not published) (required)
Website
Your Comment
Submit Comment Reset Form
kang! said:
八 03, 10 at 10:00不错有点意思~
[回复]
idamag 回复:
八月 8th, 2010 at 16:56
嘿嘿,谢谢~
[回复]
学夫子 said:
八 21, 10 at 10:09你这是在自己做一个俄罗斯方块程序?
[回复]
idamag 回复:
九月 6th, 2010 at 22:07
写着玩玩的。。
[回复]