AGS has one of the greatest, most helpful communities I have ever encountered, which allows even a total newbie to learn to ropes with relative ease.
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: Darth Mandarb on Thu 21/04/2011 21:07:32
A few years back I created some forum software (using coldfusion) and I addressed the issue of trolls as follows:
There's a 'flag' in the member's table called isTroll (datatype: date/time). ...
Quote from: Scavenger on Wed 20/04/2011 12:36:44
Anything but more shallow imitations of Squeenix's endless fare and Nomura's fashion disasters.
function enemybullets() { // A general check to see if any enemy bullets have hit the player
while (MG2whiler <= 9) {
if (character[MG2whiler+1].y != -1) { // IF the bullet is NOT in reserve
character[MG2whiler+1].y = character[MG2whiler+1].y + 8; // Move bullet down by 8px
int taa = 0; // Reset taa
while (taa < 7) { // This while loop runs for 8 cycles
// Process a click on the bottom-mid pixel of the bullet character. If click hits player, player takes damage. Bullets are not clickable.
ProcessClick((character[MG2whiler+1].x + 1 - GetViewportX()), (character[MG2whiler+1].y - GetViewportY() - taa), eModeInteract);
if (Game.GetLocationName(character[MG2whiler+1].x -GetViewportX(), character[MG2whiler+1].y -GetViewportY() - taa) == "PLAYER") {
// If the character hit was the player, reset bullet position to reserve
character[MG2whiler+1].ChangeRoom(player.Room, -1, -1);
}
taa++;
}
}
// IF the bullet has left the screen, reset it
if (character[MG2whiler+1].y >= 410) {
character[MG2whiler+1].ChangeRoom(player.Room, -1, -1);
}
MG2whiler++;
}
MG2whiler = 0;
}
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.041 seconds with 15 queries.