| [VX][Beta]Tankentai Realistic Shadow | |
|
+4arls Ameron aidilriski wltr3565 8 posters |
Pengirim | Message |
---|
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 16:29 | |
| Tankentai Realistic Shadow [VX] Versi: 0.2 Tipe: Add-On PengenalanAku "publish" biar yang lain bisa ngetes scriptnya. Tolong beritahu kalo masih ada masalah. Silahkan gunakan. Lebih lanjut baca keterangan pada script. FiturBaca di script. ScreenshotsDari project timku. DemoPasang dan coba aja. Susah amat? Scripts- Spoiler:
- Code:
-
=begin ================================================================================ wltr3565's Tankentai Realistic Shadow v0.2 VX ================================================================================ This script is a mere eye candy, simply to make Tankentai's battler shadows true to the battlers' original sprites. But I'm very sure this is not perfect yet. This version, v0.1, is open to public to be tested for more improvements. Alas, this script is not perfect. I lack the experience to straightly configure bitmap drawing. I cannot make sprites slanted as in photoshop. This is the best that I can do in RGSS2. Please do give feedbacks for further improvements, especially bugs.
Do free to use it for your own purpose. Just credit me, and watch out for bugs. ================================================================================ Features: - Easy to install; Just insert this below Tankentai. - Make shadows realistic, true to their real form. ================================================================================ Notes: - Realistic shadows means making the process heavier than simple shadows. It's not recommended yet for low-end PCs. - The shadows may be misplaced. You can configure the positions by adjusting the shadows' position in SBS Battler Configuration. - Don't ask about this script's compatibility between Kaduki Tankentai, Default Tankentai, etc. THIS IS OBVIOUSLY COMPATIBLE FOR ALL VERSIONS OF TANKENTAI!!! Except you have a script that do something with shadows. - It is recommeded to use detailed sprites (Not chibi style e.g. Kaduki's) with this script. - For now it only shades greatly for northern (from screen) source of light. - This is for RMVX version of Tankentai, and thus, for RMVX only. ================================================================================ =end module WLTR SHADE_PERSPECTIVE = 0.4 # Simply the shadow's vertical zoom, for perspective. end
class Sprite_Battler < Sprite_Base def make_shadow @shadow.dispose if @shadow != nil @battler_hue = @battler.battler_hue @shadow = Sprite.new(viewport) @shadow.z = self.z - 4 @shadow.visible = false # バトラーに当てられた影グラフィックを用意 @shadow.bitmap = self.bitmap @shadow.src_rect = self.src_rect @shadow_height = @shadow.bitmap.height # 影位置の微調整用インスタンス @shadow_plus_x = @battler.shadow_plus[0] - @width / 2 @shadow_plus_y = @battler.shadow_plus[1] # 更新 @shadow.zoom_x = self.zoom_x @shadow.zoom_y = WLTR::SHADE_PERSPECTIVE * self.zoom_y @shadow.tone.set(-255, -255, -255) @shadow.visible = false if @battler.shadow == "" update_shadow end def update_shadow @shadow.opacity = 108 * self.opacity / 255 @shadow.angle = 180 - self.angle @shadow.src_rect = self.src_rect @shadow.mirror = true @shadow.ox = @width - self.ox @shadow.oy = self.oy @shadow.visible = false if @battler.shadow == "" @shadow.zoom_x = self.zoom_x @shadow.zoom_y = WLTR::SHADE_PERSPECTIVE * self.zoom_y @shadow.x = @battler.position_x @shadow.y = @battler.position_y + @shadow_plus_y - (@jump_plus * 2) @shadow.z = @battler.position_z - 4 end alias shadow_battler_anime battler_anime def battler_anime shadow_battler_anime return if @shadow == nil @shadow.bitmap = self.bitmap @shadow.src_rect = self.src_rect end end #=============================================================================== # # END OF SCRIPT # #===============================================================================
Kalo ada yang berbaik hati untuk memportir buat Tankentai VXA akan sangat dihargai.
Terakhir diubah oleh wltr3565 tanggal 2012-08-09, 17:24, total 1 kali diubah | |
|
| |
aidilriski Senior
Posts : 643 Thanked : 2 Engine : Multi-Engine User Type : Mapper
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 16:37 | |
| Well, bisa jdi koleksi... *Downloaded | |
|
| |
Ameron ♚ Leader of Ameron™ ♚
Posts : 440 Thanked : 3 Engine : RMVX Skill : Intermediate Type : Developer
Trophies
Awards: | Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 16:39 | |
| ini sistemnya pake row and column ya? kalau magic bisa pake ini? 200 damge for 1 column mislanya? sole saya butuh banget. btw bisa dirapihin gak tuh formasinya biar gak berurutan seperti itu? | |
|
| |
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 16:50 | |
| @rezkyameron: Grid gak ada hubungan dengan script bayangan, lain lagi, dan aku gak ada rencana rilis. Di screenshot aku hanya ingin pamer bayangannya. | |
|
| |
arls Advance
Posts : 412 Thanked : 3 Engine : RMVX Ace Skill : Very Beginner Type : Mapper
Trophies
Awards: | Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 16:57 | |
| @all: ada yg mau sediain demo nya gk? Mobmod saya... | |
|
| |
ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 17:10 | |
| Waw, bagus nih buat animated battler. tapi making the process heavier itu yang bikin ane takut lag. Soalnya ane pernah buat sequence yang lag sampe dibuat patch sama lukas. Nice share aja deh | |
|
| |
EmperorAlan Senior
Posts : 622 Thanked : 5 Engine : RMVX Ace Skill : Very Beginner Type : Developer
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 17:40 | |
| Nice om, Btw, kenapa tidak disatukan aja ama yang XP? Thnx. | |
|
| |
wltr3565 Senior
Posts : 870 Thanked : 28 Engine : RMVX Skill : Skilled Type : Scripter
Trophies
Awards:
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 18:08 | |
| @EmperorAlan Yang mau cari gak susah nanti carinya? | |
|
| |
Ron D' Child Novice
Posts : 277 Thanked : 2 Engine : RMVX Skill : Beginner Type : Developer
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 19:57 | |
| sudah saya coba dan berjalan dengan lancar dan belum nemuin error. nice script izin make juga scriptnya. | |
|
| |
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Trophies
Awards:
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow 2012-08-09, 22:15 | |
| cuma mau nempelin feedback, kalo misalnya si shadow ngga nongol, pastikan si setting SHADOW di SBS General Settings isinya true, kalo enggak, si shadow-nya ngga bakalan nongol just my 50 cents | |
|
| |
Sponsored content
| Subyek: Re: [VX][Beta]Tankentai Realistic Shadow | |
| |
|
| |
| [VX][Beta]Tankentai Realistic Shadow | |
|