Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java程序分享区 » 遊戲  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
作者 自己写的俄罗斯方块
xuxiaolei

^_^



发贴: 169
于 2007-03-01 13:29 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
自己写的俄罗斯方块,有源代码,欢迎朋友们指正

俄罗斯方块.rar (38.37k)



作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-03-01 13:31 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list




作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-03-02 17:15 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
此游戏支持下列功能
暂停
设置游戏级别,可以调整游戏运行速度
可以加载和保存游戏进度
成绩排行榜(最多10个记录).

附件里面是源代码,同时希望朋友们指出游戏中的缺陷, 我会修改好, 把源代码重新发布的, 如果有问题, 可以联系我:
Email :xuleixiao@126.com
MSN : xxl_msn@hotmail.com
QQ: 287834418

欢迎交流,共同进步!



作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-03-02 17:27 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
编写这个程序过程中,本人也遇到一些问题:
要想JPanel接受键盘输入, 必须JPanle 的setFocusable(ture)方法, 但是,一旦通过JFrame打开一个FileDialog ,FileDialog被关闭后, JPanel就无法获得焦点了,即使再使用setFocusable(ture)也无法获得焦点, 不知道这个是不是java类库的一个bug.希望JAVA高手告知一二.
我的解决办法是: 等到FileDialog被关闭后, 再在JPanel类弹出一个JOptionPane.的对话框后, JPanel 就可以获得焦点了, 不知道高手还有没有更好的办法

哎,发的帖子没有人回复,只有自己先顶了,可怜啊!



作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
zcjl

涅槃



发贴: 537
于 2007-03-02 20:32 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
很不错啊,我还不会写俄罗斯方块 ^_^


作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-03-12 12:23 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这几天我正在写双人版的俄罗斯方块,写好后会把程序上传上来,喜欢java的朋友们都支持一下呀


http://xuxiaolei.javaeye.com
作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
JiafanZhou



版主


发贴: 736
于 2007-03-12 18:31 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
xuxiaolei wrote:
编写这个程序过程中,本人也遇到一些问题:
要想JPanel接受键盘输入, 必须JPanle 的setFocusable(ture)方法, 但是,一旦通过JFrame打开一个FileDialog ,FileDialog被关闭后, JPanel就无法获得焦点了,即使再使用setFocusable(ture)也无法获得焦点, 不知道这个是不是java类库的一个bug.希望JAVA高手告知一二.
我的解决办法是: 等到FileDialog被关闭后, 再在JPanel类弹出一个JOptionPane.的对话框后, JPanel 就可以获得焦点了, 不知道高手还有没有更好的办法

哎,发的帖子没有人回复,只有自己先顶了,可怜啊!

Cool, xuxiaolei. Looks good. If you think this is a bug, most likely it is a bug in JPanel, feel free to send a bug to Sun microsystem, describe what happened and why you think it is a bug. Let's make JAVA a better cup of coffee. BTW, I like this game.



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-03-13 07:49 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
谢谢HenryShanley的建议,我的英语很差劲,只能用中文答复了,以后要狠补英语了

Let's make JAVA a better cup of coffee
这句话我喜欢



http://xuxiaolei.javaeye.com
作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
shinegmd





发贴: 12
于 2007-05-11 20:42 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
怎么样才能够下载到您们写的这些好东东呢?郁闷中。。。不能下载。。。

shinegmd@126.com



作者 Re:自己写的俄罗斯方块 [Re:xuxiaolei]
xuxiaolei

^_^



发贴: 169
于 2007-05-14 08:08 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
点 俄罗斯方块.rar (38.37k) 就可以下载了,还有已经发到你的邮箱中了


http://xuxiaolei.javaeye.com

reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923