Jump to content
  • 0

How to make loading cutin works?


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  459
  • Reputation:   7
  • Joined:  06/29/12
  • Last Seen:  

Hi guys,

I'm wondering how to make loading cutin? Because I do see some scripts like Fishing have their own loading cutin but I dont really understand how it works.. Can someone please guide me? 

Thank you in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   84
  • Joined:  08/11/12
  • Last Seen:  

Loading cutins are just images shown one after the other.

For example, 

38.gif.

You have to break it frame by frame depending on how smooth you want the animation to look like (more frames, smoother.)

then you just loop them in. e.g.

setarray .@ThisLoadingCutin$[0],"LoadingFrame1", "LoadingFrame2", "LoadingFrame3", "LoadingFrame4", "LoadingFrame5";

for (set @j,0; @ < 10; set @j,@j+1){
	for (set @i,0; @i < 5; set @i,@i+1) {
		cutin .@ThisLoadingCutin$[@i], 3;
		sleep2 1000;	             
	}
}
cutin "", 255;

 

Edited by Ninja
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  459
  • Reputation:   7
  • Joined:  06/29/12
  • Last Seen:  

4 hours ago, Ninja said:

Loading cutins are just images shown one after the other.

For example, 

38.gif.

You have to break it frame by frame depending on how smooth you want the animation to look like (more frames, smoother.)

then you just loop them in. e.g.


setarray .@ThisLoadingCutin$[0],"LoadingFrame1", "LoadingFrame2", "LoadingFrame3", "LoadingFrame4", "LoadingFrame5";

for (set @j,0; @ < 10; set @j,@j+1){
	for (set @i,0; @i < 5; set @i,@i+1) {
		cutin .@ThisLoadingCutin$[@i], 3;
		sleep2 1000;	             
	}
}
cutin "", 255;

 

I see.. Its work like this.. I think I understand now.. Thank you very much for give explanation with example code.. ^_^ +1 For you..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...