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 | 
 

 [tanya] cara mbuat Choice SCREEN

Topik sebelumnya Topik selanjutnya Go down 
[tanya] cara mbuat Choice SCREEN Empty2011-01-23, 16:06
Post[tanya] cara mbuat Choice SCREEN
#1
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
Permisi mas-mbak bro....
mau nanya ni?? ada yang tau ngga gimana mbuat screen kaya pict ni..tlolong dong kasih pencerahan

[tanya] cara mbuat Choice SCREEN Screen10
[tanya] cara mbuat Choice SCREEN Empty2011-01-23, 16:17
PostRe: [tanya] cara mbuat Choice SCREEN
#2
bungatepijalan 
Moe Princess
bungatepijalan

Level 5
Posts : 1487
Thanked : 30
Engine : Multi-Engine User
Skill : Intermediate
Type : Developer
Awards:
[tanya] cara mbuat Choice SCREEN Vide
Wah, ini mah pake script :kabur:
Ane kasi dikit caranya, kira2 contohnya kaya gini:
Code:
class Scene_Option1
  #--------------------------------------------------------------------------
  # * Main Processing
  #--------------------------------------------------------------------------
  def main
    # Make command window
    s1 = "Full Screen Mode"
    s2 = "Window Mode"
    @command_window = Window_Command.new(192, [s1, s2])
    @command_window.x = 320 - @command_window.width / 2
    @command_window.y = 240 - @command_window.height / 2
    # Execute transition
    Graphics.transition
    # Main loop
    loop do
      # Update game screen
      Graphics.update
      # Update input information
      Input.update
      # Frame Update
      update
      # Abort loop if screen is changed
      if $scene != self
        break
      end
    end
    # Prepare for transition
    Graphics.freeze
    # Dispose of window
    @command_window.dispose
    # If switching to title screen
    if $scene.is_a?(Scene_Title)
      # Fade out screen
      Graphics.transition
      Graphics.freeze
    end
  end
# blablabla.....
end
Biarpun cuma dikit sepotong2 dan tktnya salah, lagian tampilannya gakan kaya gini :hammer: tapi semoga membantu :)
Dan juga ini sebenarnya nyontek dari script bawaan Scene_End :kabur:
[tanya] cara mbuat Choice SCREEN Empty2011-01-23, 16:22
PostRe: [tanya] cara mbuat Choice SCREEN
#3
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
itu classNya dimasukin sebelum main ato setelahnya ya'...ato waktu main manggil class scene_title diganti ama itu dulu???
[tanya] cara mbuat Choice SCREEN Empty2011-01-23, 16:31
PostRe: [tanya] cara mbuat Choice SCREEN
#4
bungatepijalan 
Moe Princess
bungatepijalan

Level 5
Posts : 1487
Thanked : 30
Engine : Multi-Engine User
Skill : Intermediate
Type : Developer
Awards:
[tanya] cara mbuat Choice SCREEN Vide
Ya seperti biasalah sebelum main :kabur:
scene_title jgn diganti lah, nanti title screennya robah jadi gitu :kabur:
[tanya] cara mbuat Choice SCREEN Empty2011-01-23, 16:44
PostRe: [tanya] cara mbuat Choice SCREEN
#5
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
ane dapet script na setelah main dia manggil Scene_Intro
isinya
Code:
#==============================================================================
# play events before title
# http://makegame.vn
#==============================================================================

class Scene_Intro
def main
$data_actors = load_data("Data/Actors.rxdata")
$data_classes = load_data("Data/Classes.rxdata")
$data_skills = load_data("Data/Skills.rxdata")
$data_items = load_data("Data/Items.rxdata")
$data_weapons = load_data("Data/Weapons.rxdata")
$data_armors = load_data("Data/Armors.rxdata")
$data_enemies = load_data("Data/Enemies.rxdata")
$data_troops = load_data("Data/Troops.rxdata")
$data_states = load_data("Data/States.rxdata")
$data_animations = load_data("Data/Animations.rxdata")
$data_tilesets = load_data("Data/Tilesets.rxdata")
$data_common_events = load_data("Data/CommonEvents.rxdata")
$data_system = load_data("Data/System.rxdata")
$game_system = Game_System.new
    Graphics.frame_count = 0

    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables    = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party        = Game_Party.new
    $game_troop        = Game_Troop.new
    $game_map          = Game_Map.new
    $game_player        = Game_Player.new
 
    $game_party.setup_starting_members

    $game_map.setup(63)

    $game_player.moveto($data_system.start_x, $data_system.start_y)

    $game_player.refresh

    $game_map.autoplay
 
    $game_map.update
   
    $scene = Scene_Map.new
  end
  end

trus q cari di map juga ga ada tu
isi map
Code:

class Scene_Map
  #--------------------------------------------------------------------------
  # Scene_Map
  #--------------------------------------------------------------------------
  def main

    @spriteset = Spriteset_Map.new
 
    @message_window = Window_Message.new

    Graphics.transition

    loop do
 
      Graphics.update

      Input.update
 
      update
   
      if $scene != self
        break
      end
    end

    Graphics.freeze
 
    @spriteset.dispose

    @message_window.dispose

    if $scene.is_a?(Scene_Title)
 
      Graphics.transition
      Graphics.freeze
    end
  end
kurang lebih kayak itu,.dia bisa nampilin screen kayak gmbar,.tpi text buat choiceNya dimana ya :| :|
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 09:38
PostRe: [tanya] cara mbuat Choice SCREEN
#6
bungatepijalan 
Moe Princess
bungatepijalan

Level 5
Posts : 1487
Thanked : 30
Engine : Multi-Engine User
Skill : Intermediate
Type : Developer
Awards:
[tanya] cara mbuat Choice SCREEN Vide
Justru choicenya gada hubungan ama kedua scene yg km sebutin..
Coba pelajari dari script bawaan Scene_Menu, dgn salah satu command window End Game yang menuju Scene_End
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 16:38
PostRe: [tanya] cara mbuat Choice SCREEN
#7
rusted_71 
Scripter Karatan
rusted_71

Level 5
Posts : 392
Thanked : 11
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
mungkin itu choice dari eventing biasa...

kenapa bisa munculin event sebelum title?

karena dia punya script intro yang fungsinya manggil semua database awal trus buka scene_map...

nah di scene_map (map awal tempat char muncul pertama) kan ada event yang autorun...

di event itu dia manggil choice deh...

nah trus di event itu juga kita bisa bikin biar scenenya balik lagi ke scene_title...

klo masih ga ngerti tanya aja lagi...
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 20:40
PostRe: [tanya] cara mbuat Choice SCREEN
#8
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
coy ni game rainblood yang dah ane jadiin project,.karena sifat game yg berbayar tolong untuk tidak disebar luaskan ya,.ane cuman pngen dapet ilmunya,.mnta tolong bantuannya nganalisa ya, dimana letak screen itu n gimana alurnya...

[url=link download]http://www.media*fire.com/download.php?hoxf0x6qwa0zcjd
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 20:56
PostRe: [tanya] cara mbuat Choice SCREEN
#9
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
[tanya] cara mbuat Choice SCREEN Vide
bungatepijalan wrote:
Wah, ini mah pake script :kabur:
Ane kasi dikit caranya, kira2 contohnya kaya gini:
Code:
class Scene_Option1
  #--------------------------------------------------------------------------
  # * Main Processing
  #--------------------------------------------------------------------------
  def main
    # Make command window
    s1 = "Full Screen Mode"
    s2 = "Window Mode"
    @command_window = Window_Command.new(192, [s1, s2])
    @command_window.x = 320 - @command_window.width / 2
    @command_window.y = 240 - @command_window.height / 2
    # Execute transition
    Graphics.transition
    # Main loop
    loop do
      # Update game screen
      Graphics.update
      # Update input information
      Input.update
      # Frame Update
      update
      # Abort loop if screen is changed
      if $scene != self
        break
      end
    end
    # Prepare for transition
    Graphics.freeze
    # Dispose of window
    @command_window.dispose
    # If switching to title screen
    if $scene.is_a?(Scene_Title)
      # Fade out screen
      Graphics.transition
      Graphics.freeze
    end
  end
# blablabla.....
end
Biarpun cuma dikit sepotong2 dan tktnya salah, lagian tampilannya gakan kaya gini :hammer: tapi semoga membantu :)
Dan juga ini sebenarnya nyontek dari script bawaan Scene_End :kabur:


skrip apanya?
itu eventing pun bisa (yaa mesti skip titlescreen dulu sih)

[tanya] cara mbuat Choice SCREEN 35411902

pertama, ganti dulu main dengan ini

Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  Graphics.freeze
 
  $defaultfonttype = $fontface = $fontname = Font.default_name = "Calibri"
  $defaultfontsize = $fontsize = Font.default_size =  19
    $data_actors        = load_data("Data/Actors.rxdata")
    $data_classes      = load_data("Data/Classes.rxdata")
    $data_skills        = load_data("Data/Skills.rxdata")
    $data_items        = load_data("Data/Items.rxdata")
    $data_weapons      = load_data("Data/Weapons.rxdata")
    $data_armors        = load_data("Data/Armors.rxdata")
    $data_enemies      = load_data("Data/Enemies.rxdata")
    $data_troops        = load_data("Data/Troops.rxdata")
    $data_states        = load_data("Data/States.rxdata")
    $data_animations    = load_data("Data/Animations.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
    $map_infos          = load_data("Data/MapInfos.rxdata")
    for key in $map_infos.keys
      $map_infos[key]  = $map_infos[key].name
    end
#------------------------------------------------------------------------------
    $game_self_variables = Self_Variables.new if $self_var
#------------------------------------------------------------------------------
    $game_system        = Game_System.new
    $game_temp          = Game_Temp.new
    $game_switches      = Game_Switches.new
    $game_variables    = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party        = Game_Party.new
    $game_troop        = Game_Troop.new
    $game_map          = Game_Map.new
    $game_player        = Game_Player.new
    $game_party.setup_starting_members
    $game_map.setup ($data_system.start_map_id)
    $game_player.moveto ($data_system.start_x, $data_system.start_y)
    $game_player.refresh
    $game_map.autoplay
    $game_map.update
    $scene = Scene_Map.new
#  $scene = Scene_Title.new
  $scene.main while $scene != nil
 
  Graphics.transition(20)
 
rescue Errno::ENOENT
  filename = $!.message.sub("Tidak ada file atau direktory itu - ", "")
  print("Tidak menemukan #{filename}.")
end

terus di map nya (tempat player start position) bikin event autorun kyk gini

[tanya] cara mbuat Choice SCREEN 25986342

yg dibawahnya itu custom evented title screen, kk cari aja di gugel caranya
kalo gw post caranya keribetan
pokoknya perhatiin aja itu choice yg yes nya digambar
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 21:06
PostRe: [tanya] cara mbuat Choice SCREEN
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
[tanya] cara mbuat Choice SCREEN Vide
saya tidak bisa mengedit postingan saya diatas !!
mod maaf yah dopost, kalo bisa tolong mergein


cuma mau nambahin kalo gambarnya ga jelas, di bagian Iya nya codenya seperti ini (script call)

Code:
showm = Win32API.new 'user32',
'keybd_event', %w(l l l l), ''
showm.call(18,0,0,0)
showm.call(13,0,0,0)
showm.call(13,0,2,0)
showm.call(18,0,2,0)
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 21:30
PostRe: [tanya] cara mbuat Choice SCREEN
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
kerenn mas bro,.,.thengkyu so muuch i lop u pull dah,... :D :D

wah sekalian nanya lagi ni,.itu ngasi bgroundNya gmana ya'...
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 22:35
PostRe: [tanya] cara mbuat Choice SCREEN
rusted_71 
Scripter Karatan
rusted_71

Level 5
Posts : 392
Thanked : 11
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
bukannya itu tinggal tambahin eventnya doank ya?

tambahin aja show_picture...
[tanya] cara mbuat Choice SCREEN Empty2011-01-24, 23:12
PostRe: [tanya] cara mbuat Choice SCREEN
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
malah ancur,. dibagian mana se.?..
[tanya] cara mbuat Choice SCREEN Empty2011-01-25, 09:30
PostRe: [tanya] cara mbuat Choice SCREEN
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
[tanya] cara mbuat Choice SCREEN Vide
asrori wrote:
kerenn mas bro,.,.thengkyu so muuch i lop u pull dah,... :D :D

wah sekalian nanya lagi ni,.itu ngasi bgroundNya gmana ya'...

kreatip dikit lah, tambahin aja satu event lagi sebagai parallel process

[tanya] cara mbuat Choice SCREEN 75713877

jadi di player start positionnya ada 2 event

yg satu, kayak tadi (pilihan switch to fullscreen)
terus yg kedua show backgroundnya --- > (sekali lagi, kreatiplah)
[tanya] cara mbuat Choice SCREEN Empty2011-01-25, 17:13
PostRe: [tanya] cara mbuat Choice SCREEN
asrori 
Newbie
Newbie
asrori

Level 5
Posts : 32
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Scripter

[tanya] cara mbuat Choice SCREEN Vide
ok ok tengkyu,. :D :D ane masih awam banget rpg, n pngen blajar scripting,.trima kasih pencerahannya
[tanya] cara mbuat Choice SCREEN Empty
PostRe: [tanya] cara mbuat Choice SCREEN
Sponsored content 




[tanya] cara mbuat Choice SCREEN Vide
 

[tanya] cara mbuat Choice SCREEN

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-