Go to the source code of this file.
Variables | |
| Settings | |
| end | Size0 |
| Bongo | |
| Window | |
{
mClass = "Bongo",
mPos = { mX = 5.0, mY = 0.0, mZ = 5.0 },
mSize = 0.5,
mColor = Color.Blue,
mbImmortal = 0,
mnLives = 3,
mFlashingTime = 2,
mFlashingPeriodFrames = 0.1 * Anime.mFramePerSecond,
mQuadMover =
{
mClass = "BongoOrthoMover",
-- TODO: This feature is not well supported
-- use BongoOrthoMover only
-- mClass = "BongoRealMover",
mPower = 7 / Anime.mFramePerSecond
},
mArrow =
{
mPower = Anime.mGravitation * math.pow(2 * 10.0 / Anime.mGravitation, 0.5),
mExpirationTime = 3
}
}
Bongo.__index = Bongo
Definition at line 53 of file config.lua.
Referenced by Factory::CreateQuad().
{
mLevels = 3
}
Color = {
Red = { red = 1.0, green = 0.0, blue = 0.0 },
Green = { red = 0.0, green = 0.6, blue = 0.2 },
Gold = { red = 0.5, green = 0.5, blue = 0.2 },
Blue = { red = 0.0, green = 0.5, blue = 1.0 },
SkyBlue = { red = 0.4, green = 0.9, blue = 1.0 },
White = { red = 1.0, green = 1.0, blue = 1.0 },
Black = { red = 0.0, green = 0.0, blue = 0.0 },
Yellow = { red = 1.0, green = 1.0, blue = 0.6 },
DarkGreen = { red = 0.0, green = 0.4, blue = 0.0 },
DarkRed = { red = 0.4, green = 0.0, blue = 0.0 },
Silver = { red = 0.6, green = 0.6, blue = 0.6 },
DarkGray = { red = 0.2, green = 0.2, blue = 0.2 }
}
Anime =
{
mEnabled = 0,
mFramePerSecond = 50,
mGravitation = 9.8 / (55 * 55),
mFpsDisplay = 1
}
local halfball = function(r)
return math.pow((r * r) / 2, 0.5)
Definition at line 3 of file config.lua.
| end Size0 |
2.0 Size1 = halfball(Size0) Size2 = halfball(Size1) Size3 = halfball(Size2) Size4 = halfball(Size3) Ball = { mClass = "Ball", mSize = Size1, mColor = Color.Red, mOpaque = 1.0, mPos = { mX = 4.5, mY = 4.5, mZ = 4.5 }, mDirection = { mX = 0.05, mY = 0.0, mZ = 0.0 }, mPower = Anime.mGravitation * math.pow(2 * 10.0 / Anime.mGravitation, 0.5), mSpeed = 2.0 / Anime.mFramePerSecond, mLives = 4 } Ball.__index = Ball
Definition at line 34 of file config.lua.
Definition at line 78 of file config.lua.
1.8.0