แก้ไขครั้งสุดท้ายโดย Santhai เมื่อ 2011-1-7 13:45
Particle Weather
Authors: GasolineWaltz
Version:3
Type: Particle Engine for weather effects
Key Term: Environment Add-on
Authors: GasolineWaltz
Version:3
Type: Particle Engine for weather effects
Key Term: Environment Add-on
Introduction
As of right now, this script does two things: creates particle weather and wind effects. Both of these functions are independent, which I think makes for pretty good control over the environment in your game.
Makes use of particles in the Graphics/Pictures/Particles folder
here's some particles http://www.mediafire.com/?f4dl7aj8zfmml7m
As of right now, this script does two things: creates particle weather and wind effects. Both of these functions are independent, which I think makes for pretty good control over the environment in your game.
Makes use of particles in the Graphics/Pictures/Particles folder
here's some particles http://www.mediafire.com/?f4dl7aj8zfmml7m
Features
- Weather Particles
- Wind
Demo
http://www.youtube.com/watch?v=FsA9ycYqGyM
this is just to give you an idea... the screen cap software I used only records at 30fps, and makes the game seem a little choppy.. It looks soooo much better in game. Especially the rain, you can't really see the wind effects in the video cos of the low fps.
[hide]http://www.mediafire.com/?6kfyh4l68f944fj[/hide]
here's a very simple demonstration of the particles at w3rk
Script
[hide]https://docs.google.com/leaf?id=0B5AnMItZ28l8N2Y3Y2Y0ZTktZTBmYS00MTY0LTg5OGYtMzczYjEyZWU5NDI3&hl=en[/hide]
[hide]https://docs.google.com/leaf?id=0B5AnMItZ28l8N2Y3Y2Y0ZTktZTBmYS00MTY0LTg5OGYtMzczYjEyZWU5NDI3&hl=en[/hide]
Instructions
Two things:
$game_map.p_weather(type, power, duration)
type: enter as a string. ex: 'rain'
power: number of particles to appear on screen,
duration: amount of time in frames weather takes to reach its max (buggy)
$game_map.p_wind(strength, duration, direction)
strength: enter as an array: [x power, ypower] (as of right now this number has to be a multiple of four)
duration: amount of frames between gusts
direction: enter as array w/ numbers:
[4= left; 6 = right, 2 = down; 6 = up]
note: x may be reversed... just mess around with it
#particle_struct at line 214 is h youow build new particles, I tried my best to lay them out in a readable fashion... it's pretty self explanatory, just make a new 'type' and then give that type a bunch of features.
Additional notes:
If you like this script, help out! It's still in its initial phase, I'm sure there are some bugs to work out... but that aside, more particles/new more realistic particles, effects etc... it could be a pretty cool thing
Two things:
$game_map.p_weather(type, power, duration)
type: enter as a string. ex: 'rain'
power: number of particles to appear on screen,
duration: amount of time in frames weather takes to reach its max (buggy)
$game_map.p_wind(strength, duration, direction)
strength: enter as an array: [x power, ypower] (as of right now this number has to be a multiple of four)
duration: amount of frames between gusts
direction: enter as array w/ numbers:
[4= left; 6 = right, 2 = down; 6 = up]
note: x may be reversed... just mess around with it
#particle_struct at line 214 is h youow build new particles, I tried my best to lay them out in a readable fashion... it's pretty self explanatory, just make a new 'type' and then give that type a bunch of features.
Additional notes:
If you like this script, help out! It's still in its initial phase, I'm sure there are some bugs to work out... but that aside, more particles/new more realistic particles, effects etc... it could be a pretty cool thing
Compatibility
Seeing as this script just aliases #game_screen and #spriteset_map, it should work with most scripts...
Seeing as this script just aliases #game_screen and #spriteset_map, it should work with most scripts...
Credits and Thanks
ปล.ผมก็อปมาทั้งดุ้นไม่ได้เปลี่ยนอะไีรเลย
ปล.ผมก็อปมาทั้งดุ้นไม่ได้เปลี่ยนอะไีรเลย
- GasolineWaltz
- check out Avelpopo's particle engine
[RMXP]Particle Weather
ผมไม่อัพ อะไรทั้งสิ้นแล้วนะครับ ติดใจกระทู้ไหนก็ขอโทษครับ ขอไม่ตอบ ขอเป้นฝ่ายดูอย่างเดียว
### โหลดโดจินฟรี ที่นี้ คลิก ๆ ###
### โหลดโดจินฟรี ที่นี้ คลิก ๆ ###
[IMG]
[IMG]
[IMG]
[IMG]
[IMG]