Author Topic: MODULE: Yet another weather module  (Read 9747 times)

Alen101

  • Look behind you! A three-headed monkey!
Re: MODULE: Yet another weather module
« Reply #20 on: 22 Dec 2015, 23:57 »
:sad: I understand what you say, but even if i set the parameter to false, i still just see 1x1 blue pixels.
And if i set it to true, i see 1x1 black pixels) I add this because it can give some clue of what could be happening).
 here is my code:
Code: Adventure Game Studio
  1. WeatherModule.Init(16);
  2. WeatherModule.Start(-1, 2, false,true,true, 0, 320, 0, 144);
  3. WeatherModule.SetSprite(0, 2041);
  4. WeatherModule.SetSprite(1, 2041);
  5. WeatherModule.SetSprite(2, 2041);
  6. WeatherModule.SetSprite(3, 2041);
  7. WeatherModule.SetSprite(4, 2041);
  8. WeatherModule.SetSprite(5, 2041);
  9. WeatherModule.SetSprite(6, 2041);
  10. WeatherModule.SetSprite(7, 2041);
  11. WeatherModule.SetSprite(8, 2041);
  12. WeatherModule.SetSprite(9, 2041);
  13. WeatherModule.SetSprite(10, 2041);
  14. WeatherModule.SetSprite(11, 2041);
  15. WeatherModule.SetSprite(12, 2041);
  16. WeatherModule.SetSprite(13, 2041);
  17. WeatherModule.SetSprite(14, 2041);
  18. WeatherModule.SetSprite(15, 2041);
Maybe other module is mixing with this module or something like that?
(Even if i change the colour parameter you said, i still get only black pixels.)
« Last Edit: 23 Dec 2015, 00:06 by Alen101 »

Monsieur OUXX

  • Mittens Vassal
  • Cavefish
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
    • Monsieur OUXX worked on one or more games that won an AGS Award!
    •  
    • Monsieur OUXX worked on one or more games that was nominated for an AGS Award!
Re: MODULE: Yet another weather module
« Reply #21 on: 20 Nov 2016, 18:25 »
sorry for necroposting but I found something interesting about that module.

If you set a sprite of just one pixel, and then use the settings below, then it looks like a cloud of agitated firebugs flying around rather than atmospheric effects.
Think Monkey island when guybrush walks in the dark forrest, or think flies in a swamp, etc.

Code: Adventure Game Studio
  1.     int VERTICAL_SPEED = 1;
  2.     int HORIZONTAL_SPEED = 0;    
  3.    
  4.     int box_top = 0;
  5.     int box_bottom=36;
  6.     int box_left=146;
  7.     int box_right=176;
  8.    
  9.     WeatherModule.Start(VERTICAL_SPEED,   HORIZONTAL_SPEED, false,  2, 2, box_left, box_right, box_top, box_bottom);  
  10.