RPG Socrate
Bonjour et Bienvenue sur RPG Socrate !!!




Si tu es déjà inscrit, connecte toi ci-dessous.

Sinon, inscrit-toi vite (en cliquant sur "s'enregistrer").

Nous serons ravis de t'accueillir parmi nous !!!




L'homme sans visage

Rejoignez le forum, c’est rapide et facile

RPG Socrate
Bonjour et Bienvenue sur RPG Socrate !!!




Si tu es déjà inscrit, connecte toi ci-dessous.

Sinon, inscrit-toi vite (en cliquant sur "s'enregistrer").

Nous serons ravis de t'accueillir parmi nous !!!




L'homme sans visage
RPG Socrate
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Connexion

Récupérer mon mot de passe

Meilleurs posteurs
Yosura (252)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
L'homme sans visage (225)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
The Best of Maker (196)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
okaya (103)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
kilari (26)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
apocalypse (8)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
Shaymin (6)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
EM!R'Ald (4)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
yojoqc (3)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 
fandbz13 (3)
Combats vu de coté I_vote_lcapCombats vu de coté I_voting_barCombats vu de coté I_vote_rcap 

Horloge Socratienne
Voter pour nôtre site avec un écart de 2h entre chaque vote. MERCI

TOP GAMEMAKING
L'Hymne de RPG Socrate

Découvrez Tryo!
Nombre de Visiteurs
Derniers sujets
» L'avenir de RPG Socrate
Combats vu de coté Icon_minitime1Mar 19 Juin 2012 - 19:07 par apocalypse

» parodie des jeux pokemon
Combats vu de coté Icon_minitime1Ven 8 Juin 2012 - 18:56 par apocalypse

» Rpg maker xp
Combats vu de coté Icon_minitime1Jeu 14 Juil 2011 - 4:56 par kaplio0777

» Présentation de kaplio0777
Combats vu de coté Icon_minitime1Jeu 14 Juil 2011 - 4:43 par kaplio0777

» me presenté
Combats vu de coté Icon_minitime1Ven 17 Juin 2011 - 17:12 par apocalypse

» créer un jeu de rôle
Combats vu de coté Icon_minitime1Ven 17 Juin 2011 - 17:09 par apocalypse

» se presenter
Combats vu de coté Icon_minitime1Mer 19 Jan 2011 - 21:54 par apocalypse

» Serment du Juge actuel
Combats vu de coté Icon_minitime1Dim 26 Déc 2010 - 15:52 par Yosura

» Le Réseau Social - Parodie de la BA de The Social Network
Combats vu de coté Icon_minitime1Dim 26 Déc 2010 - 15:42 par Yosura

[Partenaire] Feuille d'RPG

Mer 28 Jan 2009 - 0:42 par L\'homme sans visage

Un site crée part kilari spécialisé dans les scénarios.

Feuille d'RPG

Commentaires: 0

[Partenaire] RPG Alliance

Lun 26 Jan 2009 - 20:45 par L\'homme sans visage

Voici le site que nous avons créer en partenariat avec The Best of Maker :

RPG Alliance

Commentaires: 0

[Partenaire] Super RPG

Sam 24 Jan 2009 - 0:38 par L\'homme sans visage

Voici le site de nôtre ami The Best of Maker.
Il parle de RPG maker (vous l'aurez sûrement devinez Laughing) :

Super RPG

Commentaires: 0

Sondage

Quel est la version de RPG maker que vous préférez ?

Combats vu de coté I_vote_lcap75%Combats vu de coté I_vote_rcap 75% [ 18 ]
Combats vu de coté I_vote_lcap0%Combats vu de coté I_vote_rcap 0% [ 0 ]
Combats vu de coté I_vote_lcap4%Combats vu de coté I_vote_rcap 4% [ 1 ]
Combats vu de coté I_vote_lcap4%Combats vu de coté I_vote_rcap 4% [ 1 ]
Combats vu de coté I_vote_lcap17%Combats vu de coté I_vote_rcap 17% [ 4 ]

Total des votes : 24

Lutter contre le SPAM
Le Deal du moment : -20%
Ecran PC GIGABYTE 28″ LED M28U 4K ( IPS, 1 ms, ...
Voir le deal
399 €

Combats vu de coté

Aller en bas

Normal Combats vu de coté

Message par Yosura Jeu 12 Fév 2009 - 22:08

Auteur : Inconnu

Ce script permet de faire des combat sur le coté (les personnages sont placés sur le coté droit et le onstre en face d'eux). Ce script est génial seulement (faut bien qu'il y ai un mais), je vous conseille d'utiliser les charset des monstres et non les battlers (comme se sontles charset des cmbattant, si vous mettez les battlers on aura l'impression de géant). Enfin, je vais m'expliquer en images:


Voilà ce que ça donne avec le battler du monstre; maintennt avec le charset du monstre:



Voilà, ensuite c'est à vous de choisir.
Alors, pour l'installation c'est très simple, vous appuyez sur F11 et copier ce script (vous lui donnez le nom que vous voulez):

Code:
#==============================================================================
#++?????????(?????????)ver. 1.14++
#Script by ???
#http://rpg.para.s3p.net/
#------------------------------------------------------------------------------
# ????????????????????????
#==============================================================================
module SDVA
X_LINE = 500 # ????????????
Y_LINE = 200 # ????????????
X_SPACE = 15 # ?????????????
Y_SPACE = 40 # ?????????????
X_POSITION = 25 # ??[????????]????
Y_POSITION = 0 # ??[????????]????
ATTACK_MOVE = true # ???????????( true / false )
SKILL_MOVE = true # ??????????????( true / false )
ITEM_MOVE = false # ???????????????( true / false )
MOVE_STEP = 1 # ????
MOVE_PIXEL = 10 # ???????????
PARTY_POS = 1 # ?????????( 0:? / 1:? / 2:? / 3:? )
WINDOWPOS_CHANGE = true # ??????????????????????( true / false )
end
#==============================================================================
# ? Game_Actor
#==============================================================================
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ? ????? X ?????
#--------------------------------------------------------------------------
def screen_x
if self.index != nil
# ?????
pos = $data_classes[self.class_id].position
x_pos = pos * SDVA::X_POSITION
scr_x = self.index * SDVA::X_SPACE + SDVA::X_LINE + x_pos
# ??????????
if self.current_action.move_action == true
# ????
scr_x += @shift_x
end
return scr_x
else
return 0
end
end
#--------------------------------------------------------------------------
# ? ????? Y ?????
#--------------------------------------------------------------------------
def screen_y
if self.index != nil
# ?????
pos = $data_classes[self.class_id].position
y_pos = pos * SDVA::Y_POSITION
scr_y = self.index * SDVA::Y_SPACE + SDVA::Y_LINE + y_pos
# ??????????
if self.current_action.move_action == true
# ????
scr_y += @shift_y
end
return scr_y
else
return 0
end
end
#--------------------------------------------------------------------------
# ? ????? Z ?????
#--------------------------------------------------------------------------
def screen_z
if self.index != nil
return self.index
else
return 0
end
end
end
#==============================================================================
# ? Game_Battler (???? 1)
#==============================================================================
class Game_Battler
#--------------------------------------------------------------------------
# ? ??????????
#--------------------------------------------------------------------------
attr_reader :pattern # ??????
attr_reader :trans_x # X???????
attr_reader :moving # ??????
#--------------------------------------------------------------------------
# ? ?????????
#--------------------------------------------------------------------------
alias initialize_sdva initialize
def initialize
initialize_sdva
move_reset
end
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def move
@moving = 1
if @step < SDVA::MOVE_STEP
# ??????????
@pattern = (@pattern + 1) % 4
@step += 1
move_step
else
# ????
@pattern = 1
@moving = 2
end
end
#--------------------------------------------------------------------------
# ? ????
#--------------------------------------------------------------------------
def move_step
# ???????????????????
case SDVA::PARTY_POS
when 0
@shift_y = @step * SDVA::MOVE_PIXEL
when 1
@shift_x = -(@step * SDVA::MOVE_PIXEL)
when 2
@shift_x = @step * SDVA::MOVE_PIXEL
when 3
@shift_y = -(@step * SDVA::MOVE_PIXEL)
end
end
#--------------------------------------------------------------------------
# ? ???????
#--------------------------------------------------------------------------
def move_reset
@moving = 0
@pattern = 0
@step = 0
@shift_x = 0
@shift_y = 0
end
end
#==============================================================================
# ? Game_BattleAction
#==============================================================================
class Game_BattleAction
#--------------------------------------------------------------------------
# ? ??????????
#--------------------------------------------------------------------------
attr_accessor :move_action # ??????????
#--------------------------------------------------------------------------
# ? ???
#--------------------------------------------------------------------------
alias clear_sdva clear
def clear
clear_sdva
@move_action = false
end
end
#==============================================================================
# ? Sprite_Battler
#==============================================================================
class Sprite_Battler < RPG::Sprite
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
alias update_sdva update
def update
# ????????????????
if @battler.is_a?(Game_Actor)
# ????????????????????
# ??????
if @battler.battler_name != @battler_name or
@battler.battler_hue != @battler_hue or
@battler.current_action.basic == 0 or
@battler.current_action.kind != 3
# ????????????
@character_name = @battler.character_name
@character_hue = @battler.character_hue
# ???????????
self.bitmap = RPG::Cache.character(@character_name, @character_hue)
cw = self.bitmap.width / 4
ch = self.bitmap.height / 4
@width = cw
@height = ch
if @battler.current_action.move_action == true
# ????
@battler.move
else
@battler.move_reset
end
# ?????????
sx = @battler.pattern * cw
sy = SDVA::PARTY_POS * ch
self.src_rect.set(sx, sy, cw, ch)
self.ox = @width / 2
self.oy = @height
# ??????????? 0 ???
if @battler.hidden
self.opacity = 0
end
end
end
update_sdva
end
end
#==============================================================================
# ? Scene_Battle
#==============================================================================
class Scene_Battle
#--------------------------------------------------------------------------
# ? ????????????????????
#--------------------------------------------------------------------------
alias phase3_setup_command_window_sdva phase3_setup_command_window
def phase3_setup_command_window
phase3_setup_command_window_sdva
if SDVA::WINDOWPOS_CHANGE
# ???????????????????
case SDVA::PARTY_POS
when 0
x_pos = @active_battler.screen_x - (@actor_command_window.width/2)
y_pos = @active_battler.screen_y
when 1
x_pos = @active_battler.screen_x - @actor_command_window.width - 16
y_pos = @active_battler.screen_y - @actor_command_window.height
when 2
x_pos = @active_battler.screen_x + 16
y_pos = @active_battler.screen_y - @actor_command_window.height
when 3
x_pos = @active_battler.screen_x - (@actor_command_window.width/2)
y_pos = @active_battler.screen_y - @actor_command_window.height - 48
end
@actor_command_window.x = x_pos >= 0 ? x_pos : 0
@actor_command_window.x = x_pos+@actor_command_window.width <= 640 ? x_pos : 640-@actor_command_window.width
@actor_command_window.y = y_pos >= 0 ? y_pos : 0
@actor_command_window.y = y_pos+@actor_command_window.height <= 480 ? y_pos : 480-@actor_command_window.height
# ??????????????????
@actor_command_window.z = 9999
end
end
#--------------------------------------------------------------------------
# ? ?????? (??????? ???? 3 : ??????????)
#--------------------------------------------------------------------------
alias update_phase4_step3_sdva update_phase4_step3
def update_phase4_step3
if SDVA::ATTACK_MOVE
if @active_battler.current_action.basic == 0
@active_battler.current_action.move_action = true
end
end
if SDVA::SKILL_MOVE
if @active_battler.current_action.kind == 1
@active_battler.current_action.move_action = true
end
end
if SDVA::ITEM_MOVE
if @active_battler.current_action.kind == 2
@active_battler.current_action.move_action = true
end
end
# ??????????????????????
if @active_battler.is_a?(Game_Actor) and
@active_battler.current_action.move_action
# ?????
if @active_battler.moving == 2
update_phase4_step3_sdva
end
elsif @active_battler.moving == 0
update_phase4_step3_sdva
end
end
#--------------------------------------------------------------------------
# ? ?????? (??????? ???? 6 : ??????)
#--------------------------------------------------------------------------
alias update_phase4_step6_sdva update_phase4_step6
def update_phase4_step6
@active_battler.current_action.move_action = false
@active_battler.move_reset
update_phase4_step6_sdva
end
end
#==============================================================================
# ? Spriteset_Battle
#==============================================================================
class Spriteset_Battle
#--------------------------------------------------------------------------
# ? ?????????
#--------------------------------------------------------------------------
alias initialize_sdva initialize
def initialize
initialize_sdva
@viewport2.z = 1
end
end
#==============================================================================
# ? Arrow_Actor
#==============================================================================
class Arrow_Actor < Arrow_Base
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
alias update_sdva update
def update
update_sdva
# ?????
if Input.repeat?(Input::DOWN)
$game_system.se_play($data_system.cursor_se)
@index += 1
@index %= $game_party.actors.size
end
# ?????
if Input.repeat?(Input::UP)
$game_system.se_play($data_system.cursor_se)
@index += $game_party.actors.size - 1
@index %= $game_party.actors.size
end
end
end
#==============================================================================
# ? Arrow_Enemy
#==============================================================================
class Arrow_Enemy < Arrow_Base
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
alias update_sdva update
def update
update_sdva
# ?????
if Input.repeat?(Input::DOWN)
$game_system.se_play($data_system.cursor_se)
$game_troop.enemies.size.times do
@index += 1
@index %= $game_troop.enemies.size
break if self.enemy.exist?
end
end
# ?????
if Input.repeat?(Input::UP)
$game_system.se_play($data_system.cursor_se)
$game_troop.enemies.size.times do
@index += $game_troop.enemies.size - 1
@index %= $game_troop.enemies.size
break if self.enemy.exist?
end
end
end
end
Yosura
Yosura
Ambassadeur
Ambassadeur

Masculin
Nombre de messages : 252
Age : 27
Localisation : dans le chateaux des tenebre de mon cousin Soron
Avertissement :
Combats vu de coté Left_bar_bleue0 / 1000 / 100Combats vu de coté Right_bar_bleue

Points : 12769
Date d'inscription : 19/12/2008

Revenir en haut Aller en bas

Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum