Are there any AGS games released or in production which are actually
ported games [from other platforms to PC using the AGS engine]?
ported games [from other platforms to PC using the AGS engine]?
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: auriond on Wed 04/08/2010 02:47:30I think that's just what it is, no less, no more.
It just seems like a compilation of Wikipedia articles and linked interviews.
// room script file
bool ClickedRightHalf(this Object*) { //call when the object has been clicked
if (mouse.x + GetViewportX() > (this.X + (Game.SpriteWidth[this.Graphic]/2))) return true;
}
bool ClickedLowerHalf(this Object*) { //call when the object has been clicked
if (mouse.y + GetViewportY() > (this.Y - (Game.SpriteHeight[this.Graphic]/2))) return true;
}
function Block_left_right()
{
Object* myobject = Object.GetAtScreenXY(mouse.x, mouse.y);
//Move to the left
Object* block [6];
block[0] = oBlock1;
block[1] = oBlock2;
block[2] = oBlock4;
block[3] = oBlock5;
block[4] = oBlock6;
block[5] = oBlock7;
int i=0;
while(i<6){
if ((Game.SpriteHeight[object[i].Graphic] == 60 && myobject.X+120==object[i].X &&
myobject.Y-60==object[i].Y-60) && myobject.X <=360 && myobject.ClickedRightHalf())
{myobject.Move(myobject.X+00, myobject.Y, 10, eNoBlock, eAnywhere);
Display ("can't move");}
else if (myobject.X <=360 &&
myobject.ClickedRightHalf()) {myobject.Move(myobject.X+60, myobject.Y, 10, eNoBlock, eAnywhere);
aClick.Play();}
i++;}
}
Quote from: Joe on Sat 31/07/2010 11:24:47
i++ should be inside the loop at the end.
// room script file
bool ClickedRightHalf(this Object*) { //call when the object has been clicked
if (mouse.x + GetViewportX() > (this.X + (Game.SpriteWidth[this.Graphic]/2))) return true;
}
bool ClickedLowerHalf(this Object*) { //call when the object has been clicked
if (mouse.y + GetViewportY() > (this.Y - (Game.SpriteHeight[this.Graphic]/2))) return true;
}
function Block_left_right()
{
Object* myobject = Object.GetAtScreenXY(mouse.x, mouse.y);
//Move to the left
Object* block [2];
block[0] = oBlock1;
block[1] = oBlock4;
int i=0;
while(i<2){
if (Game.SpriteHeight[object[i].Graphic] == 60)
{myobject.Move(myobject.X+00, myobject.Y, 10, eNoBlock, eAnywhere);
Display ("can't move");
i++; }
else if (myobject.X <=360 &&
myobject.ClickedRightHalf()) {myobject.Move(myobject.X+60, myobject.Y, 10, eNoBlock, eAnywhere);
aClick.Play();}
}
// room script file
bool ClickedRightHalf(this Object*) { //call when the object has been clicked
if (mouse.x + GetViewportX() > (this.X + (Game.SpriteWidth[this.Graphic]/2))) return true;
}
bool ClickedLowerHalf(this Object*) { //call when the object has been clicked
if (mouse.y + GetViewportY() > (this.Y - (Game.SpriteHeight[this.Graphic]/2))) return true;
}
function Block_left_right()
{
Object* myobject = Object.GetAtScreenXY(mouse.x, mouse.y);
//Move to the left
Object* block [2];
block[0] = oBlock1;
block[1] = oBlock4;
int i=0;
while(i<2){
if (Game.SpriteHeight[object[i].Graphic] == 60)
{myobject.Move(myobject.X+00, myobject.Y, 10, eNoBlock, eAnywhere);
Display ("can't move");}
else if (myobject.X <=360 &&
myobject.ClickedRightHalf()) {myobject.Move(myobject.X+60, myobject.Y, 10, eNoBlock, eAnywhere);
aClick.Play();}
i++;
}
Quote from: Joe Carl on Wed 28/07/2010 12:57:24
Well, you "can't" do that, but... what about a loop?Code: ags int i=0; while(i<NUM_OBJECTS){ object[i].stuff; //more stuff i++; }
NUM_OBJECTS is a constant value which you must define
Quote from: Lyaer on Thu 29/07/2010 11:27:49Best name so far
That's all I got.
Quote from: Mods on Tue 27/07/2010 14:30:36"keep praying" you mean
I'll keep playing.
Quote from: Mods on Mon 26/07/2010 17:30:36Sorry to say but when [re]installing on a partition, windows cleansweeps it first.Quote from: Wyz on Mon 26/07/2010 17:05:05
Ouch! That really sucks. Since vista was installed on that partition it looks like it created a blank partition on top of the existing one and did happily overwrite chunks of the existing data. You can have some luck with disk recovery tools, but there are no guarantees. For the best results, don't touch it! Boot from a different partition or use a live CD. Every time you start from the new partition it will corrupt your old data even further. Good luck!
Cheers. I've tried a few things, it's definitely not bringing any old material back from that HD. sigh
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.320 seconds with 15 queries.