Iris2.de

Iris2-Forum
It is currently Thu Mar 28, 2024 9:28 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed May 13, 2009 2:17 am 
Offline
Power User
User avatar

Joined: Fri Apr 17, 2009 2:32 pm
Posts: 122
I Want To Play An Animation During Loading Screen For Example a Ring is Turning Around itself. or On The Login Screen Draw A Player Model, or Play a Particle.

Is That Possible ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 8:25 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
Yes, you need to setup a screen, position the camera, add a gfx3d + mesh and animate it.

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 11:25 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
lua/lib.mainmenu.background.lua
would be the right place to do that, there is example code for a simple camera there as well.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 5:57 pm 
Offline
Power User
User avatar

Joined: Fri Apr 17, 2009 2:32 pm
Posts: 122
hi, i figured it out but have a question again :)
how can i make an image fade in and fade out
i have a image "broadcast.png"
want to fade it in
i found a function:

Code:
local mydialog = guimaker.MyCreateDialog()
guimaker.MakePlane({Parent},"what??",-128,-128,256,256)


in "what??" there is "irislogo" i think it's a material name where can i found this material ? or how create an image from file ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 6:04 pm 
Offline
Power User
User avatar

Joined: Fri Apr 17, 2009 2:32 pm
Posts: 122
i found the material but still have problem with fade it in


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 14, 2009 1:56 am 
Offline
Power User
User avatar

Joined: Fri Apr 17, 2009 2:32 pm
Posts: 122
figured out :) thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 14, 2009 9:48 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
wow, you're quick =)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 14, 2009 3:48 pm 
Offline
Power User
User avatar

Joined: Fri Apr 17, 2009 2:32 pm
Posts: 122
some but it's not enough i made my own broadcast window

that fades in Self -> fades in the broadcast text -> moves left the text while it end -> fades off broadcast window

and repeats it twice after 30 sec

some screen shots:
Image
Image

if you want to add iris2 i can share this ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group