Menu

Show posts

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

Messages - Vincent

#581
Quote
Way to go Vincent! 12 points for the day.

Ciao Stupot+ , we're almost there
I should still play my wildcard :)


Quote
How were the games? I was sound asleep during them.

Really great match last night from Seleção !!!!
There was an amazing goal from David Luiz to free kick, I would recommend you to watch it if you have not already done

Unfortunately, I have not seen the game of germany :-\
But they are just a GREAT team
#582
Great Match From Belgium Today !


Brazil 2 - 1 Columbia
France 0 - 1 Germany
Netherlands 2 - 1 Costa Rica
Argentina 3 - 0 Belgium
#583
Ciao Stupot +
Sorry for the delay

Brazil 3 vs 1 Chile
Colombia 1 vs 2 Uruguay
Netherlands 2 vs 1 Mexico
Costa Rica 1 vs 1 Greece
France 3 vs 0 Nigeria
Germany 3 vs 0 Algeria
Argentina 3 vs 1 Switzerland
Belgium 1 vs 1 USA
#584
Advanced Technical Forum / Re: Taschenlampe
Mon 23/06/2014 15:15:46
Aaaaahh ! This is Fantastic ! ;-D

Congratulations Joe ! :)
I'm Sorry i misunderstood your intentions !

Cheers from Italy and thank you again :P
#585
Advanced Technical Forum / Re: Taschenlampe
Mon 23/06/2014 14:04:50
Thanks Joe for answering

Quote
Try with a dummy line with a big thickness:
Code: ags

surface.DrawLine(x1,y1,x2,y2,thickness);


Well, I have tried many methods but it does not seem that this could help my request..
i guess it must be the same rectangle that do the stream of light, not a different line again
#586
Advanced Technical Forum / Taschenlampe
Mon 23/06/2014 11:45:06
Good morning to all Agser!
I have a gGui2 with his graphic that match with a DynamicSprite to get the screen totally black..
Secondly, i draw a circle at the foot of the character to fill a part of the black screen..
just like in the picture :



Thirdly, i draw a rectangle to improvise a stream of light that follow the circle distance..
like this :



I'm here to ask for an opinion from all of you,
now my intention are as follow : how can I tilt the rectangle when the mouse goes above or below ?
I edited the picture for you to notice what I would do :



Could someone help me with this ?
For all eventualities, I will post the code here

Code: ags

DynamicSprite *dark;

int lightx[220], 
    lighty[220], 
    radius[220];
 
int count;
export count;

void Light(int i, int x, int y, int r) 
{
  lightx[i] = x; 
  lighty[i] = y; 
  radius[i] = r;
}
 
function Darkness() 
{
 dark = DynamicSprite.Create(System.ViewportWidth, System.ViewportHeight);
 
 DrawingSurface *surface = dark.GetDrawingSurface();
 DrawingSurface *surface2 = dark.GetDrawingSurface();
 
 surface.Clear(0); 
 surface.DrawingColor = COLOR_TRANSPARENT;
 
 surface2.Clear(0); 
 surface2.DrawingColor = COLOR_TRANSPARENT;
 
 int x1 = GetViewportX();
 int y2 = GetViewportY();
 
 int i = 0;
 while (i < count) {
    if (right) surface.DrawCircle(lightx[i] - x1, lighty[i] - y2, radius[i]);
    i++;
  }

 if (right) surface.DrawCircle(mouse.x+3, mouse.y - y2 - 40, 90); 
 
 else if (left)  surface.DrawCircle(mouse.x-3, mouse.y - y2 -40, 90);

 surface2.DrawRectangle(mouse.x, player.y-70, player.x+5, 70- player.BlockingWidth+150);
  
 surface.Release();
 surface2.Release();

 gGui2.BackgroundGraphic = dark.Graphic;
}


Thanks to all of you who are reading the message
#587
Quote
how can i assign object a view??
while i'll try to move it...!

Well, I guess this also could help you..

While :

while ( expression ) {
statements
}
Runs statements continuously, while expression is true.

For example:
Code: ags

while (cEgo.Moving) {
  Wait(1);
}


will run the script Wait(1); repeatedly, as long as cEgo.Moving is not zero. Once it is zero, the while statement will exit at the end of the loop.
#588
I can say this..

Quote
then i tried with "Object[ID].Visible=true"

You could try this..
Code: ags

object[0].Visible = true; //0 or what the ID of object is
#589
This was really unexpected result from Germany with Ghana (roll)

But The Wizard Özil played a great match as always!
It was also a pleasure to see Schweinsteiger play :)
#590
Quote from: Stupot+ on Wed 18/06/2014 20:03:58
Quote from: Khris on Wed 18/06/2014 19:34:08
I'm going to revise my tip for the next game:

Jun-18 2000 Spain 2 - 1 Chile
Okay, not a problem :-)

Poor Australia, but good for Vincent :-)

:)

This year the league is really unpredictable
#591
Great Germany, Amazing Match ! ;-D
#592
True, both of them are masters of set pieces!
I also seen many time in past that changes direction from Roberto Carlos da Silva.
But he is completely unique.
#593
I was disappointed from England, both by Gerrard and Rooney :-\
I would have expected much more from both of them
But I am glad that my country has won the first match
The last Pirlo's free-kick was sensational, unfortunately took the crossbar 8-0
#594
This could be one of the worst ways to do it.
but maybe it could inspire you

Code: ags

bool first_time = true;
function room_AfterFadeIn()//room 2
{
  if (player.PreviousRoom == 1 && first_time)
  {
     StartCutscene(eSkipESCOnly);
     Mouse.Mode = eModeWait; //you can change this graphic, probably with no image at all
     if (!cBird.Moving) {
     if (cBird.x < 100) {
      // if the bird is on the left hand side of the screen,
      // start it moving towards the right
      cBird.Walk(400, cBird.y, eBlock, eAnywhere);
      cBird.Say("Hello There");
      EndCutscene();
      cBird.Walk(0, cBird.y, eNoBlock, eAnywhere);
      mouse.Mode = eModeWalkto;
      first_time = false;
   }
  }
 }
}

#595
Forgive me, it was my forgetfulness
Here are three missing

Jun-12 2100 Brazil 2 vs 1 Croatia
Jun-13 1700 Mexico 2 vs 1 Cameroon
Jun-13 2000 Spain 3 vs 1 Netherlands

cheers Stupot+
#596
I would like to enjoy this, sound very funny :)

Jun-13   2300   Chile 0 vs 2 Australia
Jun-14   1700   Colombia 1 vs 1 Greece
Jun-14   2000   Uruguay 2 vs 0 Costa Rica
Jun-14   2300   England 2 vs 1 Italy
Jun-15   0200   Côte d'Ivoire 0 vs 0 Japan
Jun-15   1700   Switzerland 2 vs 0 Equador
Jun-15   2000   France 3 vs 1 Honduras
Jun-15   2300   Argentina 3 vs 0 Bosnia-Herzegovina
Jun-16   1700   Germany 3 vs 1 Portugal
Jun-16   2000   Iran 0 vs 1 Nigeria
Jun-16   2300   Ghana 2 vs 2 USA
Jun-17   1700   Belgium 2 vs 1 Algeria
Jun-17   2000   Brazil 3 vs 1 Mexico
Jun-17   2300   Russia 2 vs 1 South Korea
Jun-18   1700   Australia 2 vs 3 Netherlands
Jun-18   2000   Spain 3 vs 0 Chile
Jun-18   2300   Cameroon 1 vs 1 Croatia
Jun-19   1700   Colombia 1 vs 0 Côte d'Ivoire
Jun-19   2000   Uruguay 2 vs 3 England
Jun-19   2300   Japan 2 vs 0 Greece
Jun-20   1700   Italy 3 vs 0 Costa Rica
Jun-20   2000   Switzerland 2 vs 3 France
Jun-20   2300   Honduras 0 vs 0 Equador
Jun-21   1700   Argentina 3 vs 0 Iran
Jun-21   2000   Germany   2 vs 1 Ghana
Jun-21   2300   Nigeria 1 vs 0 Bosnia-Herzegovina
Jun-22   1700   Belgium 2 vs 1 Russia
Jun-22   2000   South Korea 1 vs 1 Algeria
Jun-22   2300   USA 0 vs 2 Portugal
Jun-23   1700   Australia 1 vs 3 Spain
Jun-23   1700   Netherlands 3 vs 1 Chile
Jun-23   2100   Cameroon 2 vs 2 Brazil
Jun-23   2100   Croatia 1 vs 0 Mexico   
Jun-24   1700   Costa Rica 1 vs 3 England
Jun-24   1700   Italy 2 vs 2 Uruguay
Jun-24   2100   Greece 0 vs 0 Côte d'Ivoire
Jun-24   2100   Japan 2 vs 1 Colombia
Jun-25   1700   Bosnia-Herzegovina 0 vs 0 Iran
Jun-25   1700   Nigeria 2 vs 3 Argentina
Jun-25   2100   Equador 0 vs 2 France
Jun-25   2100   Honduras 0 vs 3 Switzerland
Jun-26   1700   Portugal 2 vs 1 Ghana
Jun-26   1700   USA 2 vs 3 Germany
Jun-26   2100   Algeria 0 vs 1 Russia
Jun-26   2100   South Korea 1 vs 1 Belgium

cheers Stupot+
#597
This is what i have so far :

Code: ags

//header
struct Carciofi
{
  import function Crea();
};

import Carciofi Patate;

//global
Carciofi Patate;
export Patate;

struct Punti
{
  float x;
  float y;
  float xx;
  float yy;
};

#define SEGMENTO 32

Punti something[33];
float Paperino, Pippo, Pluto, Topolino;
DynamicSprite *banane;

//here there's other functions that take care of Carciofi

function Carciofi::Crea()
{
  banane = DynamicSprite.CreateFromBackground();

  float ss = IntToFloat(SEGMENTO);
  float destra = (Pluto - Paperino)/ss;
  float sinistra = (Topolino - Pippo)/ss;
  float xxx = Paperino;
  float yyy = Pippo;
  int i = 0;
  while (i <= SEGMENTO)
  {
    something[i].x = xxx;
    something[i].y = yyy;
    something[i].xx = xxx;
    something[i].yy = yyy;
    xxx = xxx + destra;
    yyy = yyy + sinistra;
    i++;
  }
  int v = 0;
  while (v < 300)
  {
    //Update Carciofi
    v++;
  }
  banane.Delete();
}
#598
Hello Cogliostro.
Thanks for the reply.

Navigating, after a while, into the forum boards i found this topic :

http://www.adventuregamestudio.co.uk/forums/index.php?topic=46725.msg636445161#msg636445161

How you said before, the possible solution could be
To delete them when player quits the room or just adding on_event function.
But what about if player push the X button on the corner of the window or (in my case) player can quit the game by pushing a gui button ?

Quote
« Last Edit: 04 Feb 2013, 07:49 by Crimson Wizard »

This is a quite usual thing when you use global Dynamic Sprites in AGS. Unfortunately, AGS does not have "On Quit" event that will let you to delete your stuff in time.
AGS deletes all created Dynamic sprites anyway. But it still posts those annoying warnings.
Possible solution is to delete them when player quits using available in-game option. But that won't work in case user exits by hitting Alt+X or closing the window by X button in the corner.
#599
Good evening to all Agser!
I received this strange message after building the game

(in room 1): Dynamic sprite 97 was never deleted

I'm pretty sure I've called the delete command to free its memory after use it
But can't understand how to solve this warning
#600
I love this game !
SMF spam blocked by CleanTalk