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 default 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 default 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


Hey Guest, check out my demos!
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]




G101's theme colors
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this image.]


shhh.... [You must be registered and logged in to see this link.]



[You must be registered and logged in to see this link.]
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 default 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 default 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 default 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


Hey Guest, check out my demos!
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]




G101's theme colors
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this image.]


shhh.... [You must be registered and logged in to see this link.]



[You must be registered and logged in to see this link.]
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 default 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]

 

Chatbox system disabled
Personal messaging disabled