怎么做游戏开始时的loading 界面

hacker1983 2003-10-24 11:50:06
如题
...全文
176 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
mingtian2008 2003-10-26
  • 打赏
  • 举报
回复
up
Goldbach 2003-10-26
  • 打赏
  • 举报
回复
Displaying a Splash Screen on Startup
If you need to execute a lengthy procedure on startup, such as loading a large amount of data from a database or loading several large bitmaps, you might want to display a splash screen on startup. A splash screen is a form, usually displaying information such as the name of the application, copyright information, and a simple bitmap. The screen that is displayed when you start Visual Basic is a splash screen.

To display a splash screen, use a Sub Main procedure as your startup object and use the Show method to display the form:

Private Sub Main()
' Show the splash screen.
frmSplash.Show
' Add your startup procedures here.

' Show the main form and unload the splash screen.
frmMain.Show
Unload frmSplash
End Sub

The splash screen occupies the user's attention while your startup procedures are executing, giving the illusion that the application is loading faster. When the startup procedures are completed, you can load your first form and unload the splash screen.

In designing a splash screen, it's a good idea to keep it simple. If you use large bitmaps or a lot of controls, the splash screen itself may be slow to load.

airon2002 2003-10-25
  • 打赏
  • 举报
回复
与一般的软件loading界面一样的道理
zrla 2003-10-25
  • 打赏
  • 举报
回复
up
killme2008 2003-10-25
  • 打赏
  • 举报
回复
设置窗体启动大小就可以了
可以设置两个form,当主界面出现时让第一个启动界面close
pcwak 2003-10-24
  • 打赏
  • 举报
回复
和一般的没有什么不同吧
Gelim 2003-10-24
  • 打赏
  • 举报
回复
用进度条可以实现!
yoki 2003-10-24
  • 打赏
  • 举报
回复
加一个splash画面与进度条就可以啊
aha99 2003-10-24
  • 打赏
  • 举报
回复
你是想做全屏的显示的那种带进度条的吗?
laozhaoskinny 2003-10-24
  • 打赏
  • 举报
回复
关注
hemeijun81 2003-10-24
  • 打赏
  • 举报
回复
进度条或做点什么动画
hacker1983 2003-10-24
  • 打赏
  • 举报
回复
不要全屏 出现一个方块就行 该如何做
谢谢大家!!!!
sharkliang 2003-10-24
  • 打赏
  • 举报
回复
学习
lao3 2003-10-24
  • 打赏
  • 举报
回复
干什么?不会是想盗取帐号吧?
weizhuo 2003-10-24
  • 打赏
  • 举报
回复
勘入一个flash 效果就不一样
射天狼 2003-10-24
  • 打赏
  • 举报
回复
展示屏幕:
Private Sub Form_Load()
frmsplash.Show
DoEvents
'你自己的处理
Unload frmsplash
End Sub
Abecedarian 2003-10-24
  • 打赏
  • 举报
回复
进度条

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧