LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



View previous topic View next topic Go down Message [Page 1 of 1]

Active Member
Active Member
#1 XAS - Smooth Scroller for 3.9.1 Empty XAS - Smooth Scroller for 3.9.1
Loading

LiTTleDRAgo

LiTTleDRAgo
Active Member
Active Member
Active Member
profile
XAS - Smooth Scroller
Version: 1.01
Author: LiTTleDRAgo
Date: April 17 2011

Version History


-----

Description


This is my experiment with xas system, it will make smooth effect when character moving

Screenshots
------

Instructions
Paste below XAS-Movement

Script


Code:
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
# XAS Smooth Scroller
# Version: 1.01
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:


class Game_Player
   
 #--------------------------------------------------------------------------
 # ● Scroll Map Update
 #--------------------------------------------------------------------------
 def scroll_map_update(last_real_x,last_real_y)
    if @real_y - $game_map.display_y > 15*128 - 240*4
      $game_map.scroll_down(@real_y > $game_map.height*128 - 240*4 ?
        (($game_map.height - 15)*128 - $game_map.display_y)/16.0 :
        ((@real_y - $game_map.display_y - 15*128 + 240*4)/16.0))
    end
    if @real_x - $game_map.display_x < 320*4
      $game_map.scroll_left(@real_x < 320*4 ? $game_map.display_x/16.0 :
        (($game_map.display_x + 320*4  - @real_x)/16.0))
    end
    if @real_x - $game_map.display_x > 20*128 - 320*4
      $game_map.scroll_right(@real_x > $game_map.width*128 - 320*4  ?
        (($game_map.width - 20)*128 - $game_map.display_x)/16.0 :
        (@real_x - $game_map.display_x - 20*128 + 320*4 )/16.0)
    end
    if @real_y - $game_map.display_y < 240*4
        $game_map.scroll_up(@real_y < 240*4 ?  $game_map.display_y/16.0 :
      (($game_map.display_y+240*4-@real_y)/16.0))
    end
 end 
end


Known Compatibility Issues
This will make RMXP scrolling command wont work anymore
XAS exclusive

Special Thanks
BungaTepiJalan &
Toby Zerner for the smoothing effect

Restrictions
None
Active Member
Show Signature
Active Member
http://littledrago.blogspot.com
Administrator
Administrator
#2 XAS - Smooth Scroller for 3.9.1 Empty Re: XAS - Smooth Scroller for 3.9.1
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
well hello... what's this? an XAS script!? @,@

right on Drago! I will have to check this out again later, I'm on the road and my netbook appears to be too slow to see the smooth effect.
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
ACTIVATED
ACTIVATED
#3 XAS - Smooth Scroller for 3.9.1 Empty Re: XAS - Smooth Scroller for 3.9.1
Loading

daigonstar

daigonstar
ACTIVATED
ACTIVATED
ACTIVATED
profile
Do you replace both movement scripts or just one aha sorry i got very confused Razz
ACTIVATED
Show Signature
ACTIVATED
Active Member
Active Member
#4 XAS - Smooth Scroller for 3.9.1 Empty Re: XAS - Smooth Scroller for 3.9.1
Loading

LiTTleDRAgo

LiTTleDRAgo
Active Member
Active Member
Active Member
profile
ah sorry, updated for simple version

just paste it below xas movement
Active Member
Show Signature
Active Member
http://littledrago.blogspot.com
Administrator
Administrator
#5 XAS - Smooth Scroller for 3.9.1 Empty Re: XAS - Smooth Scroller for 3.9.1
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
oh yeah, this little script is smooth, works well for platformers too!
adds a nice effect to larger than default maps

+
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
||||||||||
||||||||||
#6 XAS - Smooth Scroller for 3.9.1 Empty Re: XAS - Smooth Scroller for 3.9.1
Loading

supercow

supercow
||||||||||
||||||||||
profile
work wonders Razz nice job as usual
||||||||||
Show Signature
||||||||||

Sponsored content

profile

View previous topic View next topic Back to top Message [Page 1 of 1]

Similar topics

-

» G101 - Page Scroller v.1

 

Chatbox system disabled
Personal messaging disabled