Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Lycan ABS + GPlats?
#3
Heyoo...

This works so far. Paste it below both systems:

Code:
#==============================================================================
# ** The Lycan ABS / GPLAT Pixel Platformer Patch
#------------------------------------------------------------------------------
#    version 1.0
#    by DerVVulfman
#==============================================================================
#
#
#==============================================================================
module Lycan
  JUMP_KEY          = nil  # Force the Lycan Jump to be nil...
end


#==============================================================================
# Game_Player
#==============================================================================
class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Movement decision
  #    pixelcheck : if performing pixelmovement check
  #--------------------------------------------------------------------------
  def moving?(pixelcheck=false)
    unless @dot_m
      result = super()
      return result
    end
    # If move route is forced
    if @move_route_forcing
      return false if @move == false
      super()
    # Usually the time when present coordinate differs from real coordinates
    else
      return (@old_real_x != @real_x or @old_real_y != @real_y) if pixelcheck
      return (@x != (@real_x / 128.0).round or @y != (@real_y / 128.0).round)
    end
  end
end

A few things:
1) All I did to fix jump was 'nil' out the configurable jump in Lycan
2) Dash in GPLAT does not exist. You have a configurable value for it, but it goes nowhere
3) I copied my version of 'moving?' for this patch, so the Dash/Sneak for Lycan to use.

NOTE: You can still jump OVER too-tall enemies. Actual enemy events are still a 32x32 tile, it's just that a larger-than expected sprite is being shown. The jumping code used by GPLAT has no allowance (yet) to check if the player is trying to jump over an event that is too tall to jump over.

The update method in Game_Player, though just about as long as the default, is still too long and clunky. That's why I subdivided the version in Lycan. A sorta prelude of how modular things will be in ReGaL. I'll prolly attack that method later to deliver a better jump system so you can make events you cannot jump over.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Lycan ABS + GPlats? - by swickster - 09-08-2014, 02:54 PM
RE: Lycan ABS + GPlats? - by DerVVulfman - 09-09-2014, 03:52 AM
RE: Lycan ABS + GPlats? - by DerVVulfman - 09-15-2014, 05:59 AM
RE: Lycan ABS + GPlats? - by DerVVulfman - 09-16-2014, 03:23 AM
RE: Lycan ABS + GPlats? - by swickster - 09-16-2014, 04:40 AM
RE: Lycan ABS + GPlats? - by DerVVulfman - 09-16-2014, 04:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Lycan abs - Making enemies flee on sight ChickenFetus 1 3,985 06-07-2016, 04:39 AM
Last Post: DerVVulfman
Question  Lycan ABS - Weapon display Jetboy 4 6,425 07-14-2015, 06:02 AM
Last Post: DerVVulfman
   Ahzoh's Lycan ABS On/Off queries Ahzoh 9 11,849 12-22-2014, 04:10 AM
Last Post: DerVVulfman



Users browsing this thread: