zorg wrote:You could cheat by using an image (a rain texture) with a mesh; each update, modifying the texture position, so it looks like it's falling; I'll create a demo thing in a jiffy
Edit: Attached. Press space to make it REAL intense, and escape exits (if you'd want to test it on android)
Edit2: Uploaded a new version, just to be sure, it checks both keycode and scancode for escape and space, maybe it will work for you now, Bobby
God that's so simple and effective, looks really nice too!
Does the rain texture need to be tilable? I've taken a closer look, doesn't seem to be.
drunken_munki wrote:
God that's so simple and effective, looks really nice too!
Does the rain texture need to be tilable? I've taken a closer look, doesn't seem to be.
Probably not that big of an issue if it's not tileable, but introducing some variation into the uv coordinate updating may give a more "natural" look, like how "wind" would occasionally blow the rain sideways, etc. (and using multiple layers of it certainly looks nice if i may say so myself! )
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Would be it possible to share the code or to provide some directions to reproduce it?
Thank you
here: http://www.bitoutsidethebox.com/simulat ... r-effects/
as for the code, I explain in the post why I didn't share it, but you can look at it if you want, just download the game and unzip the love file...its open by definition
Yes, I was , I read your post on why the game is free, and I just decided to make a donation considering the incredible amount of work you have done.
I am looking into the code and I am trying to extract just the part I am interested. Indeed, I just had a partial success (sky and clouds working, but no rain), and your offer of helping me is truly appreciated.
I will review the code this week and next week (I hope to have time) and, if you don't mind, I will contact you if I have questions
Thank you so much for your availability and prompt response, Nuno. Truly appreciate it!
teschio wrote:Yes, I was , I read your post on why the game is free, and I just decided to make a donation considering the incredible amount of work you have done.
I am looking into the code and I am trying to extract just the part I am interested. Indeed, I just had a partial success (sky and clouds working, but no rain), and your offer of helping me is truly appreciated.
I will review the code this week and next week (I hope to have time) and, if you don't mind, I will contact you if I have questions
Thank you so much for your availability and prompt response, Nuno. Truly appreciate it!
zorg wrote: ↑Fri Feb 19, 2016 11:33 am
You could cheat by using an image (a rain texture) with a mesh; each update, modifying the texture position, so it looks like it's falling; I'll create a demo thing in a jiffy
Edit: Attached. Press space to make it REAL intense, and escape exits (if you'd want to test it on android)
Edit2: Uploaded a new version, just to be sure, it checks both keycode and scancode for escape and space, maybe it will work for you now, Bobby
Thank you so much for share this with us!
I am using it on my game!
I will give you credit!
zorg wrote: ↑Fri Feb 19, 2016 11:33 am
You could cheat by using an image (a rain texture) with a mesh; each update, modifying the texture position, so it looks like it's falling; I'll create a demo thing in a jiffy
Edit: Attached. Press space to make it REAL intense, and escape exits (if you'd want to test it on android)
Edit2: Uploaded a new version, just to be sure, it checks both keycode and scancode for escape and space, maybe it will work for you now, Bobby
Thank you so much for share this with us!
I am using it on my game!
I will give you credit!
Necroing aside, you're welcome!
Still, now that this happened, i have an excuse to say that the .love file in my previous attachment didn't deal with the fact that the screen seemingly became "lighter" when the rain was overlaid, since the droplets are white; this one actually corrects that. (press space to change weather, there's 3 separate modes)
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.