首页 \ 问答 \ 哪位好心人有java入门到精通的教学视频。

哪位好心人有java入门到精通的教学视频。

哪位好心人有java入门到精通的教学视频。分享一下 十分感谢
更新时间:2022-03-04 21:03

最满意答案

这里代码贴不下...

+我Q二七42三三六七二


大约有500行代码左右..

其他回答

这是我在网上找到的一个做贪吃蛇的视频  自己觉得还是很不错的  就向你推荐一下  希望对你有帮助
 http://www.itcast.cn/itcast_static/snakeVideo.htm
以下为一个俄罗斯方块的源代码,以---------线分隔一个类。 
郁闷太长了,不能全部粘贴上来,要的话在线M我吧。 
import javax.microedition.midlet.*; 
import javax.microedition.lcdui.*; 
import java.io.IOException; 
/** 
* 

Title: 俄罗斯方块

* *

Description: 俄罗斯方块游戏

* *

Copyright: Copyright (c) 2005

* *

Company: Star Group

* * @author: Part of this programe comes from a open-source project in the Web( www.hyweb.net). * Our group makes some remakeble improvement to it. * @version 1.0 */ public class RussianGameMIDlet extends MIDlet { static RussianGameMIDlet instance; private UIController controller = new UIController(this); private Splash splash; private Image imgStart; Display display = null; public RussianGameMIDlet() { instance = this; display = Display.getDisplay(this); } public void startApp() { try { imgStart = Image.createImage("/start.png"); } catch (IOException e) { } StringBuffer infoStart = new StringBuffer("俄罗斯方块"); splash = new Splash(this.controller,infoStart, imgStart); controller.setSplash(splash); controller.handleEvent(UIController.EventID.EVENT_START_SPLASH); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } public static void quitApp() { instance.destroyApp(true); instance.notifyDestroyed(); instance = null; } } --------------------------------------------------------------------------------------------------------------------------------------------

相关问答

更多
  • java俄罗斯方块[2022-01-23]

    我以前写过一个仿QQ火拼俄罗斯的俄罗斯方块程序。 给你提供一个思路吧,你不要整张往上画,而是用一个小方块,画到每块相应的位置上。 每个块确定一个小块为对称中心,然后剩下的3小块可以写出坐标,坐标放在每一个大块的一个数组里面保存就行了。
  • 1:首先自己定义一个类,比如MyLabel,继承jlabel,设置大小比如 (40,40)设置成方块,这就是游戏里面最小的单位,下落的图形,就是四个这个样的单位组合到一起,位置不同。 2:定义自己的图形(就是游戏中下落的部分)比如MyPic ,这个类是控制MyLabel的,一般是4个MyLabel组合成一个MyPic, 3:定义自己的面板,大小是 (n*40,m*40 )就是上面最小单位的整数行和列,然后建一个二位数组 int [n][m],数组里面默认为0,标示这个位置没有MyLabel ,是空的,如果位 ...
  • 我的理解:你应该是在Frame里放了一个Panel,然后在Panel里画俄罗斯方块的内容。 所以你应该要用PANEL(最终显示方块等内容的画板,继承JPanel)监听FRAME(游戏主窗口类,继承JFrame)。那么你要在frame实例那里加这样的代码:this.addKeyListener(panel);(this表示你的frame实例;panel表示你的panel画板)。然后让你的panel实现KeyListener接口,并在对应的KeyPress方法里进行处理,这样应该就能监听到了,不知道你那里的问题 ...
  • java制作俄罗斯方块 传智播客 下载地址 既有源码也有视频 http://www.verycd.com/topics/249195/
  • 定义一个总的抽象类, 每种方块继承自抽象类, List集合里面可以存放每种方块,就如同存放了7个元素一样,每次随机出一个,不知道你是否明白了我的意思
  • 这里代码贴不下... +我Q二七42三三六七二 大约有500行代码左右..
  • 你是cs还是bs呀?把方块弄出来需要你看书上的图形部分。不是一句话两句话的问题。 先把方块的总类编号然后用Math.random()可以出随机数。用(Math.random()*10)%你的方块的总类就可以得到总类的编号。
  • 运行一下就知道效果! 见下图
  • 你有手机上网站吧,有下载 可以去: wap.3g.com(cn)不记得后面COM还是CN wap.downjoy.com wap.aptx.cn 都是免费的,放心
  • 楼主您好,52xyx网都是免费的java 游戏,其中就有俄罗斯方块,下到手机后直接安装就行,望采纳

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。