Thanks for the suggestions. I've found a solution. Wyz's idea reminded me of something I had already written for a slightly different purpose and I was able to adapt it to my needs.
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: xt6666 on Tue 14/09/2010 16:52:00
Oh no, and because the character walks SOOOOOOOOOO slow, it will take 2 hours to try every combination :
Quote from: keekee71 on Mon 13/09/2010 05:41:20
ok paolo i'm stuck again have robot head won game gave seal back to old man in ally got chip out robot and got gaurd to fall asleep w/butterfly wat now can do anything w/ machine can do anything with guy an body
can't take red rope so where do i go from here???/
TY in advance
Quote from: Ben304 on Fri 30/07/2010 12:13:36
Welcome to the 'Dipping things into milk' AGS club, Chooky.
Your badge, bookmark and rulebook are in the post.
Quote from: Calin Leafshade on Tue 27/07/2010 00:10:12
obviously if this were in an AGS game you couldnt really use a while statement unless you wanted it to be a blocking function (i.e with a Wait(1) in there)
you would check the condition in rep_ex
if(closeenough) {
etc
}
Quote from: Dualnames on Tue 27/07/2010 02:10:39
http://www.mediafire.com/?gpb4gvc4b6xzu6b
Here it is. It probably works on AGS 2.72 so make a game there, port the guis, and port the game to 3.0 to get them into a 3.x.x game.
float XPerLoop = PlanetXFromSun / 5.0;
float YPerLoop = PlanetYFromSun / 5.0;
XPerLoop = XPerLoop / 2.0;
YPerLoop = YPerLoop / 2.0;
bool closeEnough = false;
float smallDistance = 0.5; //stop when raindrops are this close to sun
while (!closeEnough)
{
//code to update raindrops goes here
float xDistanceToSun = raindrop.X - sun.X;
float yDistanceToSun = raindrop.Y - sun.Y;
if (xDistanceToSun < 0.0)
xDistanceToSun = -xDistanceToSun;
if (yDistanceToSun < 0.0)
yDistanceToSun = -yDistanceToSun;
if (xDistanceToSun < smallDistance || yDistanceToSun < smallDistance)
closeEnough = true;
}
Quote from: Jim Reed on Fri 11/06/2010 08:37:28
The second option is to render it in some photo-realistic 3d renderer, so you can adjust the size and perspective there.
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.058 seconds with 14 queries.