Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Loading Screen.


BugSICK
 Share

Recommended Posts

i have already done what i need.
basically it will load an picture->main menu->loading pic[not the frmload->ingame

i will also add that basic framework, i guess..
the only problem with that code, when changing map a picture will pop-up abcourse but the character still moves walking if it presses walking arrows. it wont pause a little bit then walk.
Link to comment
Share on other sites

@BugSICK:

> i have already done what i need.
> basically it will load an picture->main menu->loading pic[not the frmload->ingame
>
> i will also add that basic framework, i guess..
> the only problem with that code, when changing map a picture will pop-up abcourse but the character still moves walking if it presses walking arrows. it wont pause a little bit then walk.

Just add an InLoadscreen boolean, and make it true when loading screen pops up and make it false when loading screen goes away.

A quick tutorial, everything is **Client Side** :
Add this somewhere in modGlobals :
```
Public InLoadscreen As Boolean
```
In timCatEnd under :
```
' Carim's Basic Eyecatch Framework
picCat.Visible = False
timCatEnd.Enabled = False
```
Add this:
```
InLoadscreen = False
```
Then look for :
```
' Carim's Basic Eyecatch Framework               
frmMain.picCat.Visible = True               
frmMain.picCat.Picture = LoadPicture(App.Path & "\data files\graphics\eye\" & Player(MyIndex).Map & ".bmp")               
frmMain.timCatEnd.Enabled = True
```
And add this under it :
```
InLoadscreen = True
```Also, In **Function CanMove() As Boolean** add under :
```
' not in bank
    If InBank Then
        CanMove = False
        Exit Function
    End If
```this  :
```
' not in loading screen
    If InLoadscreen Then
        CanMove = False
        Exit Function
    End If
```
**I'm not sure this works**
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...