Can't Flash export in other formats that AGS can use?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Stee on Wed 16/05/2007 20:29:57Actually 320x200 / 320x240 full-screen still works on Vista. It's just a mix of whether the application and video drivers execute it properly on Vista.
Just my opinion, but with the removal of 320x200 support in Vista, would it be possible to get the compiled exe, to check the OS, and if its vista run the game in 640x480?
float xx, yy, t=0.0;
rep_ex() {
if (t < 12.0) {
t += 0.25;
xx = 100.0+5.0*t;
yy = 200.0-8.0*t+0.5*1.0*(t*t);
cEgo.x = FloatToInt(xx);
cEgo.y = FloatToInt(yy);
}
}
Quote from: strazer on Mon 14/05/2007 14:15:56That fixed it, thanks.
Do you use this code in the game_start function?
If so, it is a known bug that System.ViewportHeight returns a height of 200 instead of 240 pixels there.
If you're coding a module, you could put the code in the on_event function instead.
static function Gooey::Animate(GUIControl*trag, String par) {
...
int i = 0;
String s = "";
while (i < par.Length)
{
if (par.Chars[i] == ",")
{
gooey_animate[i].norm_view=s.AsInt;
s = "";
}
else
{
s.AppendChar(par.Chars[i]);
}
}
...
}
static function Gooey::Animate
(GUIControl* targ,
int norm_viw, int norm_lop,
int min_viw, int min_lop,
int mout_viw, int mout_lop,
int mdown_viw, int mdown_lop,
int mup_viw, int mup_lop)
{
int i = 0;
while (i < 20)
{
if (gooey_animate[i].target == null)
{
gooey_animate[i].target = targ;
gooey_animate[i].norm_view = norm_viw;
gooey_animate[i].norm_loop = norm_lop;
gooey_animate[i].min_view = min_viw;
gooey_animate[i].min_loop = min_lop;
gooey_animate[i].mout_view = mout_viw;
gooey_animate[i].mout_loop = mout_lop;
gooey_animate[i].mdown_view = mdown_viw;
gooey_animate[i].mdown_loop = mdown_lop;
gooey_animate[i].mup_view = mup_viw;
gooey_animate[i].mup_loop = mup_lop;
gooey_animate[i].status = eGooey_None;
return;
}
i++;
}
}
Gooey.Animate(btnHover1, 2, 0, 2, 1, 2, 2, 2, 3, 2, 4);
static function Gooey::Animate
(GUIControl* targ, int views[10])
{
int i = 0;
while (i < 20)
{
if (gooey_animate[i].target == null)
{
int j = 0;
while (j < 20)
{
if (views[j] == null) views[j] = 0;
j++;
}
gooey_animate[i].target = targ;
gooey_animate[i].norm_view = views[0];
gooey_animate[i].norm_loop = views[1];
gooey_animate[i].min_view = views[2];
gooey_animate[i].min_loop = views[3];
gooey_animate[i].mout_view = views[4];
gooey_animate[i].mout_loop = views[5];
gooey_animate[i].mdown_view = views[6];
gooey_animate[i].mdown_loop = views[7];
gooey_animate[i].mup_view = views[8];
gooey_animate[i].mup_loop = views[9];
gooey_animate[i].status = eGooey_None;
return;
}
i++;
}
}
int view[10];
view[0] = 2;
view[1] = 0;
view[2] = 2;
view[3] = 1;
view[4] = 2;
view[5] = 2;
view[6] = 2;
view[7] = 3;
view[8] = 2;
view[9] = 4;
Gooey.Animate(btnHover1, view);
static function Gooey::Animate()
{
int i = 0;
while (i < 20)
{
if (gooey_animate[i].target == null)
{
gooey_animate[i].target = null;
gooey_animate[i].norm_view = 0;
gooey_animate[i].norm_loop = 0;
gooey_animate[i].min_view = 0;
gooey_animate[i].min_loop = 0;
gooey_animate[i].mout_view = 0;
gooey_animate[i].mout_loop = 0;
gooey_animate[i].mdown_view = 0;
gooey_animate[i].mdown_loop = 0;
gooey_animate[i].mup_view = 0;
gooey_animate[i].mup_loop = 0;
gooey_animate[i].status = eGooey_None;
return i;
}
i++;
}
}
int i = Gooey::Animate();
gooey_animate[i].target = btnHover1;
gooey_animate[i].norm_view = 2;
gooey_animate[i].norm_loop = 0;
gooey_animate[i].min_view = 2;
gooey_animate[i].min_loop = 1;
gooey_animate[i].mout_view = 2;
gooey_animate[i].mout_loop = 2;
gooey_animate[i].mdown_view = 2;
gooey_animate[i].mdown_loop = 3;
gooey_animate[i].mup_view = 2;
gooey_animate[i].mup_loop = 4;
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.111 seconds with 14 queries.