Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an intro?
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#2
RE: How to make an intro?

this is done pretty simple:

first, under your OnStart() section you code the following

PHP Code: (Select All)
OnStart() {
fadeout(0.0f);
AddTimer("GameBegin"5.0f"GameBeginFunction");
}

void GameBeginFunction (string &in asTimer) {
stuffyouwanttohappen();


The AddTimer is the timer for when you want stuff to happen.

When you want the screen to go normal again, you either do it with an extra timer or you include it in your function somewhere.

I've get something similar in my full conversion, maybe you'r interested but you can take a look if you want. (Added as attachment and you will have to re-save it as a .hps file as i couldn't upload it in that format for some reason)

EDIT: If you have more questions, feel free to ask at any time!


Attached Files
.txt   IntroExample.txt (Size: 1.26 KB / Downloads: 174)

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 11-29-2013, 01:31 PM by RaideX.)
11-29-2013, 01:29 PM
Find


Messages In This Thread
How to make an intro? - by goodcap - 11-29-2013, 12:40 PM
RE: How to make an intro? - by RaideX - 11-29-2013, 01:29 PM
RE: How to make an intro? - by PutraenusAlivius - 11-29-2013, 01:52 PM
RE: How to make an intro? - by goodcap - 11-30-2013, 05:49 PM
RE: How to make an intro? - by RaideX - 11-30-2013, 08:01 PM
RE: How to make an intro? - by goodcap - 12-01-2013, 12:32 AM
RE: How to make an intro? - by RaideX - 12-01-2013, 10:50 AM



Users browsing this thread: 1 Guest(s)