RPG Maker VX Industry
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

RPG Maker VX Industry

Retrouver plein de resources et scripts
 
AccueilDernières imagesS'enregistrerConnexion
Bonjours si vous trouvez des ressources qui vous appartien ou a quelqu'un d'autres veullez me le signaler merci
Retrouver plein de Ressources et Script sur le forum
Le forum à été rénové graphiquement par Nicolas
Le Deal du moment : -39%
Ordinateur portable ASUS Chromebook Vibe CX34 Flip
Voir le deal
399 €

 

 credit !!!

Aller en bas 
4 participants
AuteurMessage
Nicolas
Admin
Admin
Nicolas


Messages : 606
Date d'inscription : 02/08/2010
Age : 28
Localisation : Popian

credit !!! Empty
MessageSujet: credit !!!   credit !!! EmptyLun 25 Oct - 15:12

Alala ... Souvent on dit de mettre les auteurs dans vos crédit ... "j'en ai pas !!"que vous devez vous dire ... plus aucune excuse : Twisted Evil Twisted Evil
Code:

#Font
CREDITS_FONT = "Times New Roman"
CREDITS_SIZE = 24
CREDITS_OUTLINE = Color.new(0,0,127, 255)
CREDITS_SHADOW = Color.new(0,0,0, 100)
CREDITS_FILL = Color.new(255,255,255, 255)

#==============================================================================
# ¦ Scene_Credits
#------------------------------------------------------------------------------
# This script has been edited from the original RPG Maker XP version.
#------------------------------------------------------------------------------
# It now uses pictures from the pictures folder instead of titles from the
# titles folder.
#------------------------------------------------------------------------------
# This script might need the RMXP to RMVX Compatibility Patch avialble at RPG
# Maker.net
#------------------------------------------------------------------------------
# Edited by Mac Malone (Dr.?)
# XP Version: Oringinal Author unknow, but edidted by MiDas Mike so it doesn't
# play over the Title, but runs by calling the following:
# $scene = Scene_Credits2.new
#==============================================================================

class Scene_Credits2

# This next piece of code is the credits.
#Start Editing
CREDIT=<<_END_

Untitled Project

Director
---------------
Hyarius

Scripts
---------------

Graphics
---------------

Music and sound
---------------
Les RTP des RPG Maker VX

Mapping
---------------
Hyarius

Storyline
---------------
Hyarius

Beta Testers
---------------


Special Thanks
---------------

---------------


_END_
#Stop Editing
def main

#-------------------------------
# Animated Background Setup
#-------------------------------
@sprite = Sprite.new
#@sprite.bitmap = Cache.picture($data_system.title_name)
@backgroundList = ["001"] #Edit this to the picture(s) you wish to show in the background. They do repeat.
@backgroundGameFrameCount = 0
# Number of game frames per background frame.
@backgroundG_BFrameCount = 3.4
@sprite.bitmap = Cache.picture(@backgroundList[0])

#------------------
# Credits Setup
#------------------

credit_lines = CREDIT.split(/\n/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_lines.each_index do |i|
line = credit_lines[i]
credit_bitmap.font.name = CREDITS_FONT
credit_bitmap.font.size = CREDITS_SIZE
x = 0
credit_bitmap.font.color = CREDITS_OUTLINE
credit_bitmap.draw_text(0 + 1,i * 32 + 1,525,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 + 1,525,32,line,1)
credit_bitmap.draw_text(0 + 1,i * 32 - 1,525,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 - 1,525,32,line,1)
credit_bitmap.font.color = CREDITS_SHADOW
credit_bitmap.draw_text(0,i * 32 + 8,525,32,line,1)
credit_bitmap.font.color = CREDITS_FILL
credit_bitmap.draw_text(0,i * 32,525,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.z = 9998
@credit_sprite.oy = -430
@frame_index = 0
@last_flag = false

#--------
# Setup
#--------

# ME?BGS ??????
Audio.me_stop
Audio.bgs_stop
Audio.se_stop
# ?????????
Graphics.transition
# ??????
loop do
# ????????
Graphics.update
# ???????
Input.update
# ??????
update
# ????????????????
if $scene != self
break
end
end
# ?????????
Graphics.freeze
@sprite.dispose
@credit_sprite.dispose
end

#Checks if credits bitmap has reached it's ending point
def last?
return (@frame_index >= @credit_sprite.bitmap.height + 480)
end
def last
if not @last_flag
@last_flag = true
@last_count = 0
else
@last_count += 1
end
if @last_count >= 300
$scene = Scene_Map.new
end
end

#Check if the credits should be cancelled
def cancel?
if Input.trigger?(Input::C)
$scene = Scene_Map.new
return true
end
return false
end

#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def update
@backgroundGameFrameCount = @backgroundGameFrameCount + 1
if @backgroundGameFrameCount >= @backgroundG_BFrameCount
@backgroundGameFrameCount = 0
# Add current background frame to the end
@backgroundList = @backgroundList << @backgroundList[0]
# and drop it from the first position
@backgroundList.delete_at(0)
@sprite.bitmap = Cache.picture(@backgroundList[0])
end
return if cancel?
last if last?
@credit_sprite.oy += 1
end
end

et l'image qui va avec, a mettre dans picture sous le nom de 001...
Fichiers joints
credit !!! Attachment001.png
001 version transparente
Vous n'avez pas la permission de télécharger les fichiers joints.
(9 Ko) Téléchargé 4 fois
credit !!! Attachment001.png
version normale
Vous n'avez pas la permission de télécharger les fichiers joints.
(9 Ko) Téléchargé 1 fois
Revenir en haut Aller en bas
Nicolas
Admin
Admin
Nicolas


Messages : 606
Date d'inscription : 02/08/2010
Age : 28
Localisation : Popian

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyLun 25 Oct - 16:23

J'oubliait :


$scene = Scene_Credits2.new


En ppel de script
Revenir en haut Aller en bas
stoplight
Novice
Novice
stoplight


Messages : 34
Date d'inscription : 08/11/2011
Age : 25

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyDim 13 Nov - 2:47

C'est cool mais ils me disent

Script 'credits' 344: RGSSError occured

failed to create bitmap




Portion de script:
Spoiler:


Dernière édition par stoplight le Dim 13 Nov - 17:47, édité 1 fois
Revenir en haut Aller en bas
donald
Admin
Admin
donald


Messages : 138
Date d'inscription : 31/01/2010
Age : 35
Localisation : Rennes

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyDim 13 Nov - 15:52

et bien je n'utilise pas ce script, mais il semble que tu ai un problème d'image.
as-tu bien inséré les images fournit avec dans le bon dossier et renommé comme il se doit ?
Revenir en haut Aller en bas
stoplight
Novice
Novice
stoplight


Messages : 34
Date d'inscription : 08/11/2011
Age : 25

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyDim 13 Nov - 16:54

Ben oui, 001 dans graphics/picture, il me semble que c'est ça...
Revenir en haut Aller en bas
Maraki
Novice
Novice
Maraki


Messages : 39
Date d'inscription : 09/10/2011
Age : 27
Localisation : Marmande

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyDim 13 Nov - 23:01

Salut.
Ce script est en fait pour rpg maker xp, si tu veux l'utiliser :
il te faut : un patch c'est marqué dans le script au début
Code:
# This script might need the RMXP to RMVX Compatibility Patch avialble at RPG
# Maker.net
Revenir en haut Aller en bas
stoplight
Novice
Novice
stoplight


Messages : 34
Date d'inscription : 08/11/2011
Age : 25

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyLun 14 Nov - 9:26

Argh, j'avais pas vu ^^ mais pourtant il a fonctionné sur un autre projet sans problème...
Bizarre cette histoire...
Revenir en haut Aller en bas
donald
Admin
Admin
donald


Messages : 138
Date d'inscription : 31/01/2010
Age : 35
Localisation : Rennes

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyLun 14 Nov - 11:25

Ah effectivement, s'il te faut un patch ça doit être ça.
Dsl, je ne peux pas plus t'aider pour ce script ... Mes compétences en prog ne sont pas assez développés.
Revenir en haut Aller en bas
stoplight
Novice
Novice
stoplight


Messages : 34
Date d'inscription : 08/11/2011
Age : 25

credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! EmptyLun 14 Nov - 18:54

Merci quand même! Je vais faire des recherches supplémentaires... credit !!! 371308


EDIT: grrrrrrrrrrrr
Revenir en haut Aller en bas
Contenu sponsorisé





credit !!! Empty
MessageSujet: Re: credit !!!   credit !!! Empty

Revenir en haut Aller en bas
 
credit !!!
Revenir en haut 
Page 1 sur 1

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
RPG Maker VX Industry :: RPG Maker VX :: Scripts :: Scripts Complet et Vérifier :: Autres Scripts-
Sauter vers: