Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussion
Welcome, Guest
Username: Password: Remember me

TOPIC: Help with lighting and timers

Help with lighting and timers 8 years 1 month ago #718

  • Katie-W
  • Katie-W's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I'm trying to accomplish two things that I'm having trouble finding a way to do.

1. I already have an audio file set to start when the player clicks a button on the screen. After about 30 seconds of the audio file playing, I want the player's view to either distort, get blurry around the edges, or be tinted red.

2. I want messages to pop up on the screen throughout the audio clip at set times (e.g. 10 seconds into the clip, 20 seconds in, etc).

Is there a way to accomplish this?
The administrator has disabled public write access.

Help with lighting and timers 8 years 1 month ago #719

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 154
  • Thank you received: 119
hi :)

This example is similar to what you want ?
example > www.gamemaker3d.com/player?pid=04502419681
(this is only an example the effects must be improved.)
The administrator has disabled public write access.

Help with lighting and timers 8 years 1 month ago #720

  • Katie-W
  • Katie-W's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Something similar to that, yes. But is there a way to make it happen a specific amount of time after the player clicks a button?

Example: the player clicks, and then 30 seconds later the visual distortion happens.
The administrator has disabled public write access.

Help with lighting and timers 8 years 1 month ago #721

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 154
  • Thank you received: 119
use 'TimeOut' like this (in pseudo-code)
<IF 'button is clicked'>
    <TIMEOUT 30sec>
        <here, your scripts effects ! ;) >
    <END TIMEOUT>	
<END IF>
Last Edit: 8 years 1 month ago by ViraX.
The administrator has disabled public write access.
The following user(s) said Thank You: Katie-W

Help with lighting and timers 8 years 1 month ago #722

  • Katie-W
  • Katie-W's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Perfect! Thanks!
The administrator has disabled public write access.
Time to create page: 0.076 seconds