Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Can someone help me with this?
Spain
Sergeant DeeY
Posted: Jul 12 2008, 01:58 PM
Quote Post


~Heh Heh~
[*][*][*]

Group Icon
Group: Members
Posts: 1344
Member No.: 4730
Joined: 17-November 07

Status: (0d) [--]


I'm Making a fade object in my fangame but it doesn't works!
Can someone help me?

Here is the code:
CODE
Information about object: obj_fader

Sprite: fadeblock
Solid: false
Visible: true
Depth: -1000
Persistent: true
Parent: <no parent>
Mask: <same as sprite>

Create Event:
execute code:

fade = 0
image_xscale = room_width
image_yscale = room_height


Step Event:
execute code:

if fade = 0
image_alpha -= 0.05
else
image_alpha += 0.05


Other Event: Room Start:
execute code:

fade = 0
screen_refresh()
screen_redraw()

Other Event: Room End:
execute code:

fade = 1
screen_refresh()
screen_redraw()


--------------------
The signature will not be available when the new forums shows up.
~~DeeY~~
PMUsers Website
Top
United States
Datt
Posted: Jul 12 2008, 02:15 PM
Quote Post


I'm having a blast
[*][*]

Group Icon
Group: Members
Posts: 1022
Member No.: 4623
Joined: 24-October 07

Status: (0d) [--]


Does it fade away when the player not near it?


--------------------
QUOTE (Mario_6464SMR's reply to Mrs A)
his name's not Halo it's the master chief, and i don't know what "doesn't afraid of anything" means, have u ever played halo before?

PMUsers Website
Top
Spain
Sergeant DeeY
Posted: Jul 12 2008, 02:18 PM
Quote Post


~Heh Heh~
[*][*][*]

Group Icon
Group: Members
Posts: 1344
Member No.: 4730
Joined: 17-November 07

Status: (0d) [--]


No, I want to make fade out and fade in through rooms


--------------------
The signature will not be available when the new forums shows up.
~~DeeY~~
PMUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0397 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 2.23 ]