Uh, try using AGS. It can make higher quality games than that engine.
Besides, this forum is for AGS and completed games made using said engine.
-Bill
Besides, this forum is for AGS and completed games made using said engine.
-Bill
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: Calin Leafshade on Fri 18/12/2009 19:42:01
Open discussion never hurt anyone...
Quote from: Leon on Sat 12/12/2009 16:23:14
And even faster would be to go to my site where the walkthrough already is in English...
// room script file
int speed=2; // Speed increment variable
int cspeed=1; // Scripting variable for changing the player's speed
int up=1; // If up is 1, the falling commences. If it is not 1, it stops.
#sectionstart room_a // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
// script for Room: Repeatedly execute
mouse.Mode = eModePointer;
lblvelocity.Text = String.Format("%d", cspeed); // This puts a realtime falling-speed readout on my GUI so I can troubleshoot
while ((IsKeyPressed(372)==0) && up==1) { // No Up Arrow Keypressed and moving character
if (speed<30){
speed++;
cspeed=speed/2;
character[9].StopMoving();
character[9].SetWalkSpeed(cspeed,cspeed);
character[9].Animate(0, 3, eRepeat, eNoBlock, eForwards); // So the falling animation continues through the stop/start of the code
character[9].Walk(character[9].x, 186, eNoBlock, eAnywhere);
}
Wait(1);
if (character[9].y>180){ // The ground
if (cspeed>7){
up=22;
Display("Too fast");
character[9].x=160;
character[9].y = 10;
up=1;
}
if (cspeed<8) {
up=22;
Display("Landed Safely");
character[9].x=160;
character[9].y = 10;
up=1;
}
}
}
if (IsKeyPressed(372)){ // Action for flapping of wings
if (speed<4){
up=22; // Stop falling animation
character[9].Walk(character[9].x, character[9].y-15, eBlock, eAnywhere); // Fly up a few pixels
speed=10; // Reset to default beginning fall-speed
up=1; // Restart falling script
}
if (speed>3){
speed=speed-3; // Slow falling speed
}
if (character[9].y>180){
if (cspeed>7){
up=22;
Display("Too fast");
character[9].x=160;
character[9].y = 10;
up=1;
}
if (cspeed<8) {
up=22;
Display("Landed Safely");
character[9].x=160;
character[9].y = 10;
up=1;
}
}
}
}
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.324 seconds with 14 queries.