What do you mean by uploading?
I don't recommend using flc since flash is blocked by default on most browsers.
I don't recommend using flc since flash is blocked by default on most browsers.
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
managed struct StarStruct{
int x;
int y;
int speed;
};
StarStruct * starfield[]; //background stars
void initializeStarfield(){
starfield = new StarStruct[5];
starfield[0] = new StarStruct;
starfield[1] = new StarStruct;
starfield[2] = new StarStruct;
starfield[3] = new StarStruct;
starfield[4] = new StarStruct;
}
Plugin version: 2.1.0.0 AGS editor version: 3.4.3.1 Game Settings: Debug: True Left to right precedence: True Enforce object based script: True Enforce new audio: True Enforce new strings: True |
//draw background
bgSurface.DrawImage(Game.SpriteWidth[gTextGui_Edge0.NormalGraphic], Game.SpriteHeight[gTextGui_Edge0.NormalGraphic],
gTextGui.BackgroundGraphic, 0,
totalWidth-Game.SpriteWidth[gTextGui_Edge0.NormalGraphic]-Game.SpriteWidth[gTextGui_Edge3.NormalGraphic], bubbleHeight-Game.SpriteHeight[gTextGui_Edge0.NormalGraphic]-Game.SpriteHeight[gTextGui_Edge3.NormalGraphic]);
// Top Left Corner
bgSurface.DrawImage(0, 0, gTextGui_Edge0.NormalGraphic);
// Top Right Corner
bgSurface.DrawImage(totalWidth-Game.SpriteWidth[gTextGui_Edge2.NormalGraphic], 0, gTextGui_Edge2.NormalGraphic);
// Bottom Left Corner
bgSurface.DrawImage(0, bubbleHeight-Game.SpriteHeight[gTextGui_Edge1.NormalGraphic], gTextGui_Edge1.NormalGraphic);
// Bottom Right Corner
bgSurface.DrawImage(totalWidth-Game.SpriteWidth[gTextGui_Edge3.NormalGraphic], bubbleHeight-Game.SpriteHeight[gTextGui_Edge3.NormalGraphic], gTextGui_Edge3.NormalGraphic);
// Top Edge
bgSurface.DrawImage(Game.SpriteWidth[gTextGui_Edge0.NormalGraphic], 0,
gTextGui_Edge6.NormalGraphic, 0,
totalWidth-Game.SpriteWidth[gTextGui_Edge0.NormalGraphic]-Game.SpriteWidth[gTextGui_Edge2.NormalGraphic], Game.SpriteHeight[gTextGui_Edge6.NormalGraphic]);
// Left Edge
bgSurface.DrawImage(0, Game.SpriteHeight[gTextGui_Edge0.NormalGraphic],
gTextGui_Edge4.NormalGraphic, 0,
Game.SpriteWidth[gTextGui_Edge4.NormalGraphic], bubbleHeight-Game.SpriteHeight[gTextGui_Edge0.NormalGraphic]-Game.SpriteHeight[gTextGui_Edge1.NormalGraphic]);
// Right Edge
bgSurface.DrawImage(totalWidth-Game.SpriteWidth[gTextGui_Edge5.NormalGraphic], Game.SpriteHeight[gTextGui_Edge2.NormalGraphic],
gTextGui_Edge5.NormalGraphic, 0,
Game.SpriteWidth[gTextGui_Edge5.NormalGraphic], bubbleHeight-Game.SpriteHeight[gTextGui_Edge2.NormalGraphic]-Game.SpriteHeight[gTextGui_Edge3.NormalGraphic]);
// Bottom Edge
bgSurface.DrawImage(Game.SpriteWidth[gTextGui_Edge1.NormalGraphic], bubbleHeight-Game.SpriteHeight[gTextGui_Edge7.NormalGraphic],
gTextGui_Edge7.NormalGraphic, 0,
totalWidth-Game.SpriteWidth[gTextGui_Edge1.NormalGraphic]-Game.SpriteWidth[gTextGui_Edge3.NormalGraphic], Game.SpriteHeight[gTextGui_Edge7.NormalGraphic]);
player.Say("1. don`t");
player.Say("2. don't");
player.Say("3. don't");
player.Say("4. don't");
game.replay_hotkey = 0;
cinst ags
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.267 seconds with 15 queries.