added visible note about loser GPU
[k8vacspelynky.git] / mapent / characters / yellhelp.vc
blob875fc9cc5e37962d1fe2dae217baf872378c4106
1 /**********************************************************************************
2  * Copyright (c) 2008, 2009 Derek Yu and Mossmouth, LLC
3  * Copyright (c) 2010, Moloch
4  * Copyright (c) 2018, Ketmar Dark
5  *
6  * This file is part of Spelunky.
7  *
8  * You can redistribute and/or modify Spelunky, including its source code, under
9  * the terms of the Spelunky User License.
10  *
11  * Spelunky is distributed in the hope that it will be entertaining and useful,
12  * but WITHOUT WARRANTY.  Please see the Spelunky User License for more details.
13  *
14  * The Spelunky User License should be available in "Game Information", which
15  * can be found in the Resource Explorer, or as an external file called COPYING.
16  * If not, please obtain a new copy of Spelunky from <http://spelunkyworld.com/>
17  *
18  **********************************************************************************/
19 class ObjYellHelp['oYellHelp'] : MapObject;
21 int lifeTime;
24 override bool initialize () {
25   if (!::initialize()) return false;
26   setSprite('sYellHelp');
27   return true;
31 override void thinkFrame () {
32   if (--lifeTime <= 0) { instanceRemove(); return; }
33   flty -= 0.1;
37 defaultproperties {
38   yVel = 0.1;
39   yAcc = 0.1;
40   lifeTime = 40;
41   depth = 1;