Rain in GHZ

Discussion in 'Discussion and Q&A Archive' started by liamsonichacker, Feb 7, 2011.

Thread Status:
Not open for further replies.
  1. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    And the effect achieved in Fantastic Dizzy was very good with never more than 8 water drop sprites on screen at the same time. I think they were generated at random positions, not even moving on screen.
     
  2. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Haha Psy, I created it before you :p


    Well guys, what do you think?


    [​IMG]


    There's not much rain, but it falls quickly and a different speeds, making a real effect :p


    I'll send it to LI, and if he like it, I'll post this code in "source code exchange" forum


    Well, now just need make a palette that fit in a rain, and this effect is complete
     
    Last edited by a moderator: Feb 8, 2011
  3. EMK-20218

    EMK-20218 The Fuss Maker Exiled

    Joined:
    Aug 8, 2008
    Messages:
    1,067
    Location:
    Jardim Capelinha, São Paulo
    While it is not public (or not), I'll stay waiting for the Psychosk8r's code.
     
  4. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    I actually already done this awhile back, but it has terrible coding, if I can find the old pick i'll post it. Also I would like to see motion for this. To see the speeds, and them contiously falling in a loop.
     
  5. OrdosAlpha

    OrdosAlpha RIGHT! Naebody move! Root Admin

    Joined:
    Aug 5, 2007
    Messages:
    1,793
    Location:
    Glasgow, Scotland
    Can I join your queue?
     
  6. EMK-20218

    EMK-20218 The Fuss Maker Exiled

    Joined:
    Aug 8, 2008
    Messages:
    1,067
    Location:
    Jardim Capelinha, São Paulo
    Yes, of course! Welcome to the queue, my friend. :p
     
  7. PsychoSk8r

    PsychoSk8r HighKnights Member

    Joined:
    Aug 9, 2007
    Messages:
    271
    Location:
    Birmingham, UK
    Haha, you'll be queueing for a while! I am working on this, but progress is slow, as I lead rather a busy life. =P
     
  8. rika_chou

    rika_chou Adopt Member

    Joined:
    Aug 11, 2007
    Messages:
    689
    It would be neat if the rain react to collision and could hit the floor and walls with a splash animation.


    It looks neat, but it's hard to really tell how good it looks from a still screenshot.
     
    Last edited by a moderator: Feb 9, 2011
  9. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Well, I'll post a modified ROM with rain, if you want..


    And yes, LI accepted my code! I'll post this code later :p
     
    Last edited by a moderator: Feb 9, 2011
  10. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    Oh well... My version of rain:


    [​IMG]


    Only 5 pics in the gif, to keep it small. xD


    I didn't really want to show it since the zone that will use it is still in its early stages of design, so it looks out of place in Mz (I activated it in Mz because it's easier for me).


    But since we're talking about it, if it gives people inspiration, why not?


    That said, the problem I noticed after testing it a lot is how it quickly conflicts with other sprites on screen. The way I designed it, it randomly spawns 8 to 24 drops on screen, which is nice visually, but would be way too much for other sprites in a level not specifically designed with it in mind. At the very least, in Mz it causes a huge lot of sprite flickering.
     
  11. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Well, my code shows the rain diagonally and with a wind effect =P


    @SpirituInsanum: I created a rain that falls diagonally, and it uses 2 image sprites, falling at different speeds, quickly. I no added too much rain drops, to don't have conflicts with the sprites
     
    Last edited by a moderator: Feb 9, 2011
  12. EMK-20218

    EMK-20218 The Fuss Maker Exiled

    Joined:
    Aug 8, 2008
    Messages:
    1,067
    Location:
    Jardim Capelinha, São Paulo
    Just asking... ^^'


    Both are nicely cool, so we would be also interested on see both codes public. Why not?


    @Rika Chou: It could rain only through the background plane. I think it would be not that hard to make it passing only behind the foreground plane.
     
    Last edited by a moderator: Feb 9, 2011
  13. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    I wouldn't mind having a bash at this, I need to fix my crap code anyways. I think streets of rage had this effect.
     
  14. PsychoSk8r

    PsychoSk8r HighKnights Member

    Joined:
    Aug 9, 2007
    Messages:
    271
    Location:
    Birmingham, UK
    That looks quite nice man.


    I hope this topic paves the way to seeing more weather effects in S1.


    I've got some ideas layed out, which I won't share, but you will see them soon enough. I'm not sharing the specific ideas yet, as I want to see what you guys can come up with, without my ideas interfering. Perhaps once the rain code is public, we should host a weather effects contest of some sort, just for fun, to see who comes up with the most creative effects. =3
     
  15. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    I have a good idea to use. I need to get back into hacking. D:

    May I suggest you add a little white to it? :p


    Or are you keeping it as is?
     
    Last edited by a moderator: Feb 9, 2011
  16. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    The way I coded mine, I'd only have to change the sprite to make it look like it falls diagonally, I just want it to fall vertically xD


    About the conflicts, it all depends on the level and effect you want to achieve (rain vs deluge), the size of the drop's sprite (yours is 8x8, mine are 8x24 or 8x16), etc.


    Mz uses a huge lot of sprites as objects or walls/ceilings/grounds, and they're big ones. I guess there could also be problems in SYz around the elevators, areas with lots of springs aligned horizontally or also the bottom of the boss screen.
     
  17. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Wow! I like this very much!
     
  18. PsychoSk8r

    PsychoSk8r HighKnights Member

    Joined:
    Aug 9, 2007
    Messages:
    271
    Location:
    Birmingham, UK
    My progress on this the last week has stopped thanks to unforeseen circumstances. How's everyone else progressing?
     
  19. FireRat

    FireRat Do Not Interact With This User, Anywhere!!! Exiled

    Joined:
    Oct 31, 2009
    Messages:
    535
    Nice bump, psy


    And oh, I created a code, but I forget to post it =P
     
  20. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    What do you mean by "everyone else"?


    :V
     
Thread Status:
Not open for further replies.