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 Menu
tempsprite=DynamicSprite.CreateFromExistingSprite(gGui1.BackgroundGraphic);
int MNB=0;
while (MNB<MaximumLightSources) {
lightR[MNB]=-1;
MNB++;}
//Other crap
jiji=0;
while (jiji<MaximumLightSources) {
player.SayBackground(String.Format("%d", jiji));
if (lightR[jiji]>-1) {
lightT[jiji]--;
if (lightT[jiji]<=0) RemoveLightSource(jiji);
}
jiji++;
}
//Some stuff about calculating sound[0]
temprad=FloatToInt(sound[0]*2.0);
PlaceLightSource(player.x, player.y, temprad, 1);
//Some stuff about movement
function PlaceLightSource(int x, int y, int radius, int time) {
int countIndex=0;
while ((countIndex<MaximumLightSources)&&(lightR[countIndex]==-1)) countIndex++;
DrawingSurface *lightmap=tempsprite.GetDrawingSurface();
lightX[countIndex]=x;
lightY[countIndex]=y;
lightR[countIndex]=radius+1;
lightT[countIndex]=time+1;
lightmap.DrawingColor=COLOR_TRANSPARENT;
lightmap.DrawCircle(x, y, radius);
lightmap.Release();
gGui1.BackgroundGraphic=tempsprite.Graphic;
}
function RemoveLightSource(int lightSourceNumber) {
DrawingSurface *darkmap=tempsprite.GetDrawingSurface();
darkmap.DrawingColor=33;
darkmap.DrawCircle(lightX[lightSourceNumber], lightY[lightSourceNumber], lightR[lightSourceNumber]+1);
darkmap.Release();
gGui1.BackgroundGraphic=tempsprite.Graphic;
lightX[lightSourceNumber]=-1;
lightY[lightSourceNumber]=-1;
lightR[lightSourceNumber]=-1;
lightT[lightSourceNumber]=-1;
}
@S // dialog startup entry point
return
@1 // option 1
jen:"Oh who are you?"
jen:"you made me jump, but Now I can see you must work here by your uniform"
ego:"Well you might call it a working holiday I suppose"
ego:"Im here for the experience you might say I can,t wait to go home though!"
Jen:"Well...Im Herd number 001 I have been reared up on this farm but I don,t really know about the things you are talking about"
return
@2 // option 2
jen:"meat? did you say chicken meat?"
jen:"you can not be serious! I thought we were being raised to be servants to the great master at the Mannor house"
ego:"well perhaps you will become a servant I shouldnt worrie"
jen:"Yes Yes but please tell me about this chicken meat?"
ego:"well since I have spilled the beans on this issue I will tell you."
ego:"You my dear and all the other chickens are being bred because many customers come here to enjoy eating chicken"
ego:"you didnt know did you!"
jen:"GULP..."
jen:"Oh my, I guess Im on the menu then?"
jen:"I have to say,I wish I didnt know about this now!"
option-off-forever 3
stop
@3 // option 3
jen:"oh ...well ok ?"
option-off-forever 2
stop
Quote from: loominous on Thu 27/11/2008 16:34:34
Again, just want to bring in some nuance. God can be scientifically disproven, if his attributes are of the right kind.
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.046 seconds with 15 queries.