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 | 
 

 [solved][Req] movement without up,down,left,right

Topik sebelumnya Topik selanjutnya Go down 
[solved][Req] movement without up,down,left,right Empty2010-06-12, 18:43
Post[solved][Req] movement without up,down,left,right
#1
eve 
Loli Mecha Mesum Musume
avatar

Level 5
Posts : 1620
Thanked : 30
Engine : Other
Skill : Beginner
Type : Writer
Awards:

[solved][Req] movement without up,down,left,right Vide
begini.,.,

wa kan make script si yanfly yg Extended Movement

http://wiki.pockethouse.com/index.php?title=Extended_Movement

nah.,. ada yg bisa bantu wa otak-atik tuh script (atau mungkin bikin script baru :) )

yang wa inginkan begini.,.,.,

saat player menekan Directional Pad Down, maka character bakal bergerak serong kiri bawah
saat player menekan Directional Pad Right, maka character bakal bergerak serong kanan bawah
saat player menekan Directional Pad left, maka character bakal bergerak serong kiri atas
saat player menekan Directional Pad Up, maka character bakal bergerak serong kanan atas

jadinya karakter hanya bisa bergerak serong tanpa bisa bergerak lurus ke atas, bawah, kiri, kanan.

alsannya: karena ntar bakal pake map isometri 3/4 view :-

mohon bantuan scripter2 di sini :sembah:

over and out


Terakhir diubah oleh eve tanggal 2010-06-13, 00:09, total 1 kali diubah
[solved][Req] movement without up,down,left,right Empty2010-06-12, 20:40
PostRe: [solved][Req] movement without up,down,left,right
#2
ALS Strife 
Newbie
Newbie
ALS Strife

Level 4
Posts : 91
Thanked : 0
Engine : Multi-Engine User
Skill : Intermediate
Type : Developer

[solved][Req] movement without up,down,left,right Vide
waw, jadi jalannya kaya waktu maen Harvest Moon PSX itu yah kk??
keren juga tuh
mank bisa jadi 3/4 view di RM?
[solved][Req] movement without up,down,left,right Empty2010-06-12, 20:57
PostRe: [solved][Req] movement without up,down,left,right
#3
eve 
Loli Mecha Mesum Musume
avatar

Level 5
Posts : 1620
Thanked : 30
Engine : Other
Skill : Beginner
Type : Writer
Awards:

[solved][Req] movement without up,down,left,right Vide
@^
lebih kurang begitu.,.,

masalah 3/4 (isometric) view, kan tinggal spritenya aja yg dibikin isometric
[solved][Req] movement without up,down,left,right Empty2010-06-12, 21:17
PostRe: [solved][Req] movement without up,down,left,right
#4
ALS Strife 
Newbie
Newbie
ALS Strife

Level 4
Posts : 91
Thanked : 0
Engine : Multi-Engine User
Skill : Intermediate
Type : Developer

[solved][Req] movement without up,down,left,right Vide
bukan sprite-nya yang aku maksud,
apa MAP-nya juga bisa dibikin 3/4 view?
klo semisal bisa, pake script ato graphic tileset-nya yang dibikin 3/4?

maaf, pengetahuan saya masih kurang :p
[solved][Req] movement without up,down,left,right Empty2010-06-12, 21:25
PostRe: [solved][Req] movement without up,down,left,right
#5
eve 
Loli Mecha Mesum Musume
avatar

Level 5
Posts : 1620
Thanked : 30
Engine : Other
Skill : Beginner
Type : Writer
Awards:

[solved][Req] movement without up,down,left,right Vide
@^
maaf.,., wa rasa anda udah OOT terlalu jauh.,.,

sekalian jawab.,.,

map dibikin 3/4 view dengan membuat SPRITE MAP (a.k.a. TILESET) menjadi tampilan 3/4 view juga.,.,
[solved][Req] movement without up,down,left,right Empty2010-06-12, 21:29
PostRe: [solved][Req] movement without up,down,left,right
#6
shikami 
Member 1000 Konsep
avatar

Level 5
Posts : 3744
Thanked : 31
Engine : Multi-Engine User
Skill : Beginner
Type : Developer
Awards:


[solved][Req] movement without up,down,left,right Vide
@eve~udh nyoba bkin mapnya? masalah passability gmn?IMO bisa map 3/4 ko.. ada di script GBTS,tp yg VX dh bsa ap blum krang tau,tp wat XP dh lancar,mapnya XP lebih enak seh.
klo script iso movement gk ngerti ada ato gk..
[solved][Req] movement without up,down,left,right Empty2010-06-12, 23:01
PostRe: [solved][Req] movement without up,down,left,right
#7
wltr3565 
Senior
Senior
wltr3565

Level 5
Posts : 870
Thanked : 28
Engine : RMVX
Skill : Skilled
Type : Scripter
Awards:

[solved][Req] movement without up,down,left,right Vide
Dan tambah lagi, kok ngepost di Completed Scripts :swt:, kan harusnya RGSS2 support ato Script Request...

Nih:
Code:
if $imported["ExtendedMovement"] # Flag untuk mencegah error dari orang yang gak make ExtendedMovement
  class Game_Player < Game_Character
    if YEM::MOVEMENT::ENABLE_8D_MOVEMENT
  #--------------------------------------------------------------------------
  # overwrite method: move_by_input
  #--------------------------------------------------------------------------
  def move_by_input
    return unless movable?
    return if $game_map.interpreter.running?
    @tap_counter = YEM::MOVEMENT::TAP_COUNTER if @tap_counter == nil
    @idle_frames = 0 if @idle_frames == nil
    if Input.dir8 != 0
      break_pose
      @tap_counter -= 1
      @direction = Input.dir8
      @idle_frames = 0
      return if @tap_counter > 0
    else
      @idle_frames += 1
      @tap_counter = YEM::MOVEMENT::TAP_COUNTER
    end
    if @idle_frames > YEM::MOVEMENT::IDLE_FRAMES and
    (@pose == nil or @pose == "")
      @pose = YEM::MOVEMENT::IDLE_POSE[rand(YEM::MOVEMENT::IDLE_POSE.size + 1)]
    end
    case Input.dir8
    when 2
      if !dir8_passable?(2) and dir8_passable?(4)
        move_left
      elsif dir8_passable?(2) and !dir8_passable?(4)
        move_down
      else
        move_down
        move_left
        @direction = Input.dir8
      end
    when 6
      if !dir8_passable?(2) and dir8_passable?(6)
        move_right
      elsif dir8_passable?(2) and !dir8_passable?(6)
        move_down
      else
        move_down
        move_right
        @direction = Input.dir8
      end
    when 4
      if !dir8_passable?(8) and dir8_passable?(4)
        move_left
      elsif dir8_passable?(8) and !dir8_passable?(4)
        move_up
      else
        move_up
        move_left
        @direction = Input.dir8
      end
    when 8
      if !dir8_passable?(8) and dir8_passable?(6)
        move_right
      elsif dir8_passable?(8) and !dir8_passable?(6)
        move_up
      else
        move_up
        move_right
        @direction = Input.dir8
      end
    end
  end
  end # YEM::MOVEMENT::ENABLE_8D_MOVEMENT
end
end
Pasang aja dibawah scriptnya dan diatas main. Pake tanpa ExtendedMovement pun gak akan berarti apa-apa.
[solved][Req] movement without up,down,left,right Empty2010-06-13, 00:09
PostRe: [solved][Req] movement without up,down,left,right
#8
eve 
Loli Mecha Mesum Musume
avatar

Level 5
Posts : 1620
Thanked : 30
Engine : Other
Skill : Beginner
Type : Writer
Awards:

[solved][Req] movement without up,down,left,right Vide
@wltr:
makasih banyak :sembah:

trit solved
[solved][Req] movement without up,down,left,right Empty
PostRe: [solved][Req] movement without up,down,left,right
#9
Sponsored content 




[solved][Req] movement without up,down,left,right Vide
 

[solved][Req] movement without up,down,left,right

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Scripts :: RGSS2 Request :: RGSS2 Request Archive-