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 | 
 

 [VXA]Press ENTER

Topik sebelumnya Topik selanjutnya Go down 
[VXA]Press ENTER Empty2012-10-29, 17:49
Post[VXA]Press ENTER
#1
larkuzo 
Advance
Advance
larkuzo

Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA]Press ENTER Vide
Press ENTER
Versi: 1.0
Tipe: Title Addon


Pengenalan

Menjawab ini >> https://rmid.forumotion.net/t7006-ask-press-enter-script#108458
sekalian biar nambah post :P


Fitur


  • Munculin "Press ENTER" dsb sebelum memunculkan title command seperti new game, continue, exit :v



Screenshots
Bandwidth terbatas coy :v


Demo
Tinggal copas apa susahnya sih?


Scripts
Code:

#===============================================================================
# Larkuzo Press Any Key
# Author : Larkuzo
# Version : 1.0
# Contact : http://www.rpgmakerid.com/u2820
#===============================================================================

#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
#                              CONFIG HERE                                    #
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
module LARKUZO
  TEXT = "Press ENTER" # Teks yang akan ditampilkan
  SIZE = 30 # Ukuran teks
  Y_POSITION = 208 # Letak Y untuk teks
  WAIT = 3 # Selang waktu antar pergantian warna
  STOP = false # Berhenti ganti warna saat press key?
  ACTIVE = true # Aktifkan script ini?
end
################################################################################
#                          END CONFIGURATION                                  #
################################################################################

'##############################################################################'
'######################## WARNING!! FLAMMABLE CONTENT :P ######################'
'##############################################################################'

class Scene_Title < Scene_Base
  def start
    super
    SceneManager.clear
    Graphics.freeze
    create_background
    create_foreground
    if LARKUZO::ACTIVE
    @flash = 0
    create_press_any_key
    else
    create_command_window
    end
    play_title_music
  end
 
  def create_foreground
    @foreground_sprite = Sprite.new
    @foreground_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height)
    @foreground_sprite.z = 100
    draw_game_title if $data_system.opt_draw_title
  end
 
  def create_press_any_key
    @press = Sprite.new
    @press.bitmap = Bitmap.new(544/2,416/2)
    @press2 = Sprite.new
    @press2.bitmap = Bitmap.new(544/2,416/2)
    string = @press.bitmap.text_size(LARKUZO::TEXT)
    @press.x = @press2.x = Graphics.width/2 - string.width/2
    @press.y = @press2.y = LARKUZO::Y_POSITION
    @press.z = 999
    @press2.z = 900
    @press.bitmap.font.size = LARKUZO::SIZE
    @press2.bitmap.font.size = LARKUZO::SIZE
    @press2.bitmap.font.color = Color.new(0,0,0)
    @press.bitmap.draw_text(0,0,544/2,416/2,LARKUZO::TEXT)
    @press2.bitmap.draw_text(0,0,544/2,416/2,LARKUZO::TEXT)
  end
 
  def update
    super
    if LARKUZO::ACTIVE
      press_any_key_flash
    if Input.trigger?(:C)
      loop do
      @press.x += 2
      @press2.x -= 2
      @press.opacity -= 3
      @press2.opacity -= 3
      Graphics.update
      press_any_key_flash unless LARKUZO::STOP
      if @press.opacity <= 0 && @press2.opacity <= 0
        break
      end
      create_command_window
      end
    end
    end
  end
 
  def press_any_key_flash
    @flash += 1
      r = rand(255);g = rand(255);b = rand(255)
      if @flash < 120 && @flash % LARKUZO::WAIT == 0
      @press.flash(Color.new(r,g,b),1)
      elsif @flash >= 120 && @flash % LARKUZO::WAIT == 0
      @press.flash(Color.new(r,g,b),1)
      if @flash >= 240
      @flash = 0
      end
    end
  end

  alias :term :terminate
  def terminate
    term
    @press.bitmap.dispose if LARKUZO::ACTIVE
    @press.dispose if LARKUZO::ACTIVE
    @press2.bitmap.dispose if LARKUZO::ACTIVE
    @press2.dispose if LARKUZO::ACTIVE
  end
end
Kofigurasi dilakukan di bagian CONFIG HERE jika perlu.


Credits


  • Enterbrain
  • Larkuzo


Terakhir diubah oleh larkuzo tanggal 2012-10-30, 13:58, total 1 kali diubah
[VXA]Press ENTER Empty2012-10-29, 21:29
PostRe: [VXA]Press ENTER
#2
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA]Press ENTER Vide
ajib ntar deh di coba,,,
masih di luar rumah ini,,,
>.<
lagi di net...
:p

thankz kk larkuzo
[VXA]Press ENTER Empty2012-10-30, 06:36
PostRe: [VXA]Press ENTER
#3
Deenos 
Advance
Advance
Deenos

Level 5
Posts : 487
Thanked : 7
Engine : RMVX Ace
Skill : Skilled
Type : Databaser
Awards:
[VXA]Press ENTER Vide
@TS bisa kompatibelkan sama Yeki Custom Title Screen gx hanya nambahin gambar bergerak doank kok pliss :cry:
[VXA]Press ENTER Empty2012-10-30, 06:54
PostRe: [VXA]Press ENTER
#4
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA]Press ENTER Vide
wew..

worknya cuma SPLASH+ini script...

ternyata sama CTS enggak

trus pas pencet continue, mau back ke title screen
malah EROR
huuftt
:(
[VXA]Press ENTER Empty2012-10-30, 12:44
PostRe: [VXA]Press ENTER
#5
WILR00T 
#E nalaJ hagneT id lipugN gnakuT
WILR00T

Level 5
Posts : 461
Thanked : 11
Engine : Multi-Engine User
Skill : Beginner
Type : Developer

[VXA]Press ENTER Vide
@TS TY with you script oke ...
aku doain klo kamu jadi scripter yg hebat :D
[VXA]Press ENTER Empty2012-10-30, 13:52
PostRe: [VXA]Press ENTER
#6
larkuzo 
Advance
Advance
larkuzo

Level 5
Posts : 445
Thanked : 12
Engine : RMXP
Skill : Beginner
Type : Event Designer

[VXA]Press ENTER Vide
@Deenos
Ok, ntar kalo saya niat :v
yeki CTS nya aja belum nyobain :v

@radis
Ya jelas aja gak compatible sama CTS, orang sama-sama ngerewrite Scene_Title :v
Nah, errornya apa ya?
Coba pake punya om LiTTleDRAgo >> https://rmid.forumotion.net/t7012-xp-vx-vxa-press-any-key-script#108482
kali aja gak error :v
atau SS errornya :v
atau upload projectnya :v
[VXA]Press ENTER Empty2012-10-31, 04:02
PostRe: [VXA]Press ENTER
#7
Radis3D 
Sang Iblis
Radis3D

Level 5
Posts : 755
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Writer
Awards:
[VXA]Press ENTER Vide
Erornya tiba2 langsung keluar dari game nya..
:p

ntar deh di coba lagi buat upload erornya
[VXA]Press ENTER Empty
PostRe: [VXA]Press ENTER
#8
Sponsored content 




[VXA]Press ENTER Vide
 

[VXA]Press ENTER

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 Ace Scripts-