Hey, when I try to start IKEMEN up, it gives me an error. It is most likely related to my controls, after I changed them the error came up.
const int HelperMax = 56;
const int PlayerProjectileMax = 50;
const int ExplodMax = 256;
const int AfterImageMax = 8;
const float Attack_LifeToPowerMul = 0.7;
const float GetHit_LifeToPowerMul = 0.6;
const int Width = 640;
const int Height = 480;
const float Super_TargetDefenceMul = 1.5;
const int GameSpeed = 65;//frames/second
const float LifebarFontScale = 0.5;
const ^/char system = "script/main.lua";
lib sdl = <alpha/sdlplugin.ssz>;
type k_t = |sdl.SDLKey;
/%&Keys in;
//Player 1
in.new[0].set(
0, (int)k_t::UP, (int)k_t::DOWN, (int)k_t::LEFT, (int)k_t::RIGHT,
(int)k_t::z, (int)k_t::x, (int)k_t::c, (int)k_t::a, (int)k_t::s, (int)k_t::d,
(int)k_t::RETURN);
//Player 2
in.new[1].set(
1, (int)k_t::p, (int)k_t::;, (int)k_t::l, (int)k_t::',
(int)k_t::4, (int)k_t::5, (int)k_t::6, (int)k_t::7, (int)k_t::8, (int)k_t::9,
(int)k_t::[);
//Player 3
in.new[2].set(
0, (int)k_t::UP, (int)k_t::DOWN, (int)k_t::LEFT, (int)k_t::RIGHT,
(int)k_t::z, (int)k_t::x, (int)k_t::c, (int)k_t::a, (int)k_t::s, (int)k_t::d,
(int)k_t::RETURN);
//Player 4
in.new[3].set(
1, (int)k_t::P, (int)k_t::;, (int)k_t::L, (int)k_t::',
(int)k_t::4, (int)k_t::5, (int)k_t::6, (int)k_t::7, (int)k_t::8, (int)k_t::9,
(int)k_t::[);
const bool SaveMemory = true;
const bool IgnoreMostErrors = true;
const bool OpenGL = false;
public &Keys
{
public int jn = -2, u, d, l, r, a, b, c, x, y, z, s;
public void set(
int jn, int u, int d, int l, int r,
int a, int b, int c, int x, int y, int z, int s)
{
`jn = jn;
`u = u;
`d = d;
`l = l;
`r = r;
`a = a;
`b = b;
`c = c;
`x = x;
`y = y;
`z = z;
`s = s;
}
}
The error has Japanese letters in it and says something about line 33. If someone could help I'd be grateful.