MODULE: Yet another weather module

Started by abstauber, Fri 19/12/2008 17:40:51

Previous topic - Next topic

Alen101

#20
: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: ags
WeatherModule.Init(16); 
WeatherModule.Start(-1, 2, false,true,true, 0, 320, 0, 144);
WeatherModule.SetSprite(0, 2041);
WeatherModule.SetSprite(1, 2041);
WeatherModule.SetSprite(2, 2041);
WeatherModule.SetSprite(3, 2041);
WeatherModule.SetSprite(4, 2041);
WeatherModule.SetSprite(5, 2041);
WeatherModule.SetSprite(6, 2041);
WeatherModule.SetSprite(7, 2041);
WeatherModule.SetSprite(8, 2041);
WeatherModule.SetSprite(9, 2041);
WeatherModule.SetSprite(10, 2041);
WeatherModule.SetSprite(11, 2041);
WeatherModule.SetSprite(12, 2041);
WeatherModule.SetSprite(13, 2041);
WeatherModule.SetSprite(14, 2041);
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.)

Monsieur OUXX

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: ags

    int VERTICAL_SPEED = 1;
    int HORIZONTAL_SPEED = 0;    
    
    int box_top = 0;
    int box_bottom=36;
    int box_left=146;
    int box_right=176;
    
    WeatherModule.Start(VERTICAL_SPEED,   HORIZONTAL_SPEED, false,  2, 2, box_left, box_right, box_top, box_bottom);  


 

SMF spam blocked by CleanTalk