Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 Script Jump

Topik sebelumnya Topik selanjutnya Go down 
Script Jump Empty2012-06-26, 18:19
PostScript Jump
#1
Dumabass99 
Newbie
Newbie
Dumabass99

Level 3
Posts : 44
Thanked : 0
Engine : RMXP
Skill : Beginner
Type : Writer

Script Jump Vide
Minta Script YAng Bisa Lompat.... :oops:
Script Jump Empty2012-06-26, 18:33
PostRe: Script Jump
#2
Deenos 
Advance
Advance
Deenos

Level 5
Posts : 487
Thanked : 7
Engine : RMVX Ace
Skill : Skilled
Type : Databaser
Awards:
Script Jump Vide
beuh...
kan bisa buat pakai event... :lol:
ngapain pakai script segala :lol:

OOT:
Script Jump Empty2012-06-26, 18:54
PostRe: Script Jump
#3
Mynamenicholas 
Novice
Novice
avatar

Level 5
Posts : 149
Thanked : 0
Engine : RMVX Ace
Skill : Intermediate
Type : Writer

Script Jump Vide
Minta ???
Beli dong !!
*OOT
Btw Atas gw bener tuh
Script Jump Empty2012-06-26, 20:08
PostRe: Script Jump
#4
aidilriski 
Senior
Senior
aidilriski

Level 5
Posts : 643
Thanked : 2
Engine : Multi-Engine User
Type : Mapper

Script Jump Vide
woi, jgn kasar-kasar napa!!! Dia newbie tuh, *eh, sya juga ya :hammer:
jgn terlalu kasar om sma newbie, tpi bner yg dibilang di atas, bisa pke event kok, klo mau, bisa diajarin, wani piro?
hehehe :peace:
Script Jump Empty2012-06-26, 20:11
PostRe: Script Jump
#5
ReydVires 
The First ThV©
ReydVires

Level 5
Posts : 538
Thanked : 5
Engine : RMVX
Skill : Skilled
Type : Event Designer

Script Jump Vide
@^ Wah XD kasian kak XD dia nanya bener XD kok malah gitu jwbnnya XD

@TS: Sebenarnya pakai Event juga bisa XD tapi kemungkinan bug masih besar XD
Kalo pengen, pakai Common Event... Jadi settingannya Conditional branch...
if Press X
@>Char jump x*y (Setting prioritinya XD )

Mungkin hanya bisa itu XD :kabur: kalo gak ngerti... maaf kak XD saya newbie XD

thx
Script Jump Empty2012-06-26, 20:16
PostRe: Script Jump
#6
Danger Force Ryder 
Advance
Advance
Danger Force Ryder

Level 3
Posts : 307
Thanked : 1
Engine : RMXP
Skill : Very Beginner
Type : Writer

Script Jump Vide
nih script jumpnya
Code:
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Simple Jump System by Nathmatt
# Version: 1.04
# Type: Custom Movement System
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

#  This work is protected by the following license:
# #----------------------------------------------------------------------------
# # 
# #  Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
# #  ( http://creativecommons.org/licenses/by-nc-sa/3.0/ )
# # 
# #  You are free:
# # 
# #  to Share - to copy, distribute and transmit the work
# #  to Remix - to adapt the work
# # 
# #  Under the following conditions:
# # 
# #  Attribution. You must attribute the work in the manner specified by the
# #  author or licensor (but not in any way that suggests that they endorse you
# #  or your use of the work).
# # 
# #  Noncommercial. You may not use this work for commercial purposes.
# # 
# #  Share alike. If you alter, transform, or build upon this work, you may
# #  distribute the resulting work only under the same or similar license to
# #  this one.
# # 
# #  - For any reuse or distribution, you must make clear to others the license
# #    terms of this work. The best way to do this is with a link to this web
# #    page.
# # 
# #  - Any of the above conditions can be waived if you get permission from the
# #    copyright holder.
# # 
# #  - Nothing in this license impairs or restricts the author's moral rights.
# # 
# #----------------------------------------------------------------------------
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# This is the config:
#
#  (Jump_Distance) is how far you want to jump.
#   
#  (Cant_Jump) is the terrain tag that you cant jump on.
#
#  (Off_Switch_id) is the swith id used to turn off the jump.
#
#  (Jump_key) is the key used to jump if using tons ads custom controls.
#
#  (Jump_Animation) is if you want a speacial graphic for jumping
#  add _jmp  so 001-Fighter01 would be 001-Fighter01_jmp.

#-------------------------------------------------------------------------------
module SJS_Config
  Jump_Distance = 2
  Jump_Animation = false
  Off_Switch_id = 50
  Jump_Key = ','
  # Terrain_Tags
  Cant_Jump = 1
end
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# This is the update method:
#
#-------------------------------------------------------------------------------
 
class  Game_Player < Game_Character
 
   
  alias nathmatt_update update
  def update
    nathmatt_update
    actor = $game_party.actors[0] unless actor == $game_party.actors[0]
    if check_key && !jumping? && !$game_switches[SJS_Config::Off_Switch_id]
      d =  SJS_Config::Jump_Distance
      case direction
        when 2 then jump(0,d,false)
        when 4 then jump(-d,0,false)
        when 6 then jump(d,0,false)
        when 8 then jump(0,-d,false)
      end
    end
    if jumping? && SJS_Config::Jump_Animation
      @character_name_org = actor.character_name
      @character_name = @character_name_org+'_jmp'
    end
    if @character_name != actor.character_name && !jumping?
      @character_name = actor.character_name
    end
   
  end
 
  def check_key
    if $tons_version != nil && $tons_version >= 5.40 &&
        TONS_OF_ADDONS::CUSTOM_CONTROLS
      return Input.trigger?(Input::Key[SJS_Config::Jump_Key])
    else
      return Input.trigger?(Input::Q) 
    end
  end
 
  alias SJS_jump jump
  def jump(x,y,c=true)
    px = $game_player.x + x
    py = $game_player.y + y
    if c
      SJS_jump(x,y)
    elsif $game_map.terrain_tag(px,py) != SJS_Config::Cant_Jump
      SJS_jump(x,y)
    end
  end

end
Script Jump Empty
PostRe: Script Jump
#7
Sponsored content 




Script Jump Vide
 

Script Jump

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMXP-