domingo, 25 de enero de 2015

tutorial de renpy codigos expandidos y modo de uso



ya que se bajen el renpy  requiere que se bajen el jedit y que tengan una  instalacion de java reciente y si tienen xp aun fuciona el pack de java aunque diga que no a 2015  26 de enero 
renpy solo acepta archivos .png de imagenes 
y archivos .mp3 y ogg de sonido 















codigos del tutorial 

scene bg whitehouse       fondo 
with slow dissolve       efecto 

scene bg washington 
show eileen happy
with slowdissolve 

play music ¨sin flower.ogg¨ fadeout 1              musica
queue music (sunflower.ogg) entre   comillas  

stop music fadeout 1


play sound [tower.ogg)     toca un sonido una vez 



menu:                 /inicio menu 
     yes i do 
      jump choice yes   /ve a 

     no i dont 
      jump choice no
     
label choice yes 
  
     $menu_flag=true 

e ¨while creating etc¨

jump choice1 done        


label choice no:
    $menu_flag=false

label choice1 done:  / fin de label choice



 else:

-----------pos
upper left corner

1.0  right 
05 center

peliculas 
image movie= movie(size=320,240),xpos=475,ypos=50,xanchor=0,yanchor=0) 

show movie behind eileen
play movie ¨shutlle.ogv¨

stop movie 
hide movie 

$renpy.movie_cutscene(¨shutle.ogv¨)

vpunch
hpunch 

move transition

pause 

blinds 

circleirisin

dream

teleport

zoom in 

zoom out

wiperight
wipe left 
wipe up
wipe down

slides

slideright
slideleft
slideup
slidedown
slideawayright
slideawayleft
slideawayup
slideawaydown

irisout
irisin

crop operation
im.composite    multiple images 
livecomposite
im.scale operation 
im.factorscale    original


im.map mess with the red green blue
looks sick with out red
im.recolor operation

im.twocolor  white 

assing colorl to replace

im.matrixcolor 
image blue
rotate the bue  green 

invert the colors
im.grayscale 
im.sepia 
im.alpha like phantom 
im.flip

viewport can be adjusted mouse wheel 


dismiss

text tags  bold italic struckthrough or underlined

pause 

images inside text

pause and auto-advance 

color of the text 

spacing can be increased 

hypelinks

space 
and 
vspace 

the outlines setting lets you put outlines arounf the text 

here we have two outlines around the white text 
show side image 

centered character 


image bgcave=¨cave.jpg¨
image luce happy=¨lucy_happy.png¨
image lucy mad=luce_mad.png¨¨ 


define I=character(_(¨lucy¨),color=¨#ffcccc¨)

show logo base at logopos behind eileen  imagen at5ras 

image eileen animated 
¨eileen_vhappy.png¨
pause.5
¨eileen_happy.png¨
pause.5
repeat
---------------other way 
transform topright
  xaling 1.0 yaling 0.0

sjow logo base 
  xaling .3 yaling .7
  linear 1.0 xaling .7 yaling .3
  linear 1.0 xaling .3 yaling .7 
repeat

transformation involves moving or distorting an image this includes 
placing it on the screen zooming it in and out, rotating it, and 
changing its opacity   

image eileen animated:
¨eileen_vhappy.png¨
pause.5 
¨eileen_happy.png¨
pause .5
repeat 


transform topright:
 xaling 1.0 yaling 0.0

transforma move_jump:
  xaling 1.0 yaling 0.0
pause 1.0
pause 1.0
repeat 

transform move_slide 
xaling 1.0 yaling 0.0
linear 3.0 xaling 0.0
pause 1.0
repeat

show logo base:
xaling .3 yalign.7 
linear 1.0 xalign .7 yalign.3
linear 1.0 xalign .3 yalign.7
repeat 

------
show bg band:
xpose 0 pos-222 xanchor 0 yanchor 0
linear 5.0 xpos -435 y pos 0

show logo base 
zoom 1.0
linear 1.0 zoom 1.5
linear 1.0 zoom 1.0
repeat 

show logo base: 
xzoom .75 yzoom 1.25 
linear 1.0 xzoom 1.25 y zoom .75
linear 1.0 xzoom.75 yzoom 1.25
repeat

show logo base :
size (300,450)

show logo base:
alpha 1.0    
linear 1.0 alpha 0.0
linear 1.0 alpha 1.0 
repeat 
                      rotar una imagen 
show logo base:
xpos 0.5 ypos 0.5 xanchor 0.5 yanchor 0.5
rotate 0 
linear 4.0 rotate 360
repeat 

show logo base:
xpos 0.5 ypos 0.5 xanchor 0.5 yanchor 0.5
rotate 0
linear 4.0 rotate 360 
repeat 

show bg washington 
crop (0,0,800,600)
size (800,600)

linear 4.0 crop(350,300,400,300)

show eileen happy:
right 
pause 1.25 
left 
pause 1.25 
repeat 

show logo base:
xalign 0.0 yalign 0.0 block 
linear 1.0 xalign 1.0 
linear 1.0 xalign 0.0 
repeat
time 11.5 
linear .5 xalign 1.0 

show logo base:
  parallel:
    linear 1.0 xalign 0.0  
    linear 1.0 xalign 1.0
    repeat 
  parallel:
    linear 1.3 yalign 1.0
    linear 1.3 yalign 0.0 
    repeat 

show logo base:
   choice:
   linear 1.0 xalign 0.0 
   choice 
   linear 1.0 xalign 1.0
   repeat 

texto 
 e "Text tags can make text {b}bold{/b}, {i}italic{/i}, {s}struckthrough{/s}, or {u}underlined{/u}."

   e "They can make the font size {size=+12}bigger{/size} or {size=-8}smaller{/size}."

    e "They let you pause{w} the display of the text, optionally with{p}line breaks."

    e "They let you include images inside text{image=exclamation.png} Neat{image=exclamation.png}"

  e "We can pause the text for a short time, and have it auto-advance.{w=1} Just like that."

    eslow "We can even have the text auto-advance,{nw}"

    with flashbulb
    extend " when we reach the end of a block of text, in slow text mode."

"They can change the {color=#f00}color{/color} {color=#ff0}of{/color} {color=#0f0}the{/color} {color=#0ff}text{/color}."

  e "The kerning tag lets you adjust the spacing between characters.\n{k=.5}The spacing between characters can be increased.{/k}\n{k=-.5}The spacing between characters can be decreased.{/k}"

  eruby "You are able to write ruby text, which can help clarify how to pronounce words, like {rb}Ren'Py{/rb}{rt}ren-pie{/rt}."

    e "{a=define_hyperlink}Hyperlinks{/a} let buttons be defined using text tags."

 e "The space and vspace tags add {space=30} horizontal and {vspace=20}vertical space, respectively."

    e "You can define your own text tags, {=pink}that use a style you define.{/=pink}"

    e "If you find yourself using text tags on every line, you should probably look at style properties instead."

    e "Used with care, text tags can enhance {b}your{/b} game."

  eslow "We can even have the text auto-advance,{nw}"

    with flashbulb
    extend " when we reach the end of a block of text, in slow text mode."



 e "There are a couple of text adjustments that don't correspond to text tags."

    eoutline "The outlines setting lets you put outlines around the text."

    eoutline "You can have more than one outline, and each has its own color and offset."

    window hide

    esubtitle "Here, we have two outlines around the white text."


window show

    esfont "For even more control, Ren'Py supports SFonts, image files containing font information."

    esfont "SFonts let you use fonts you otherwise couldn't, and apply special effects to fonts using your favorite image editor."

    e "Well, that's it for fonts and text tags."
         




0 Comentarios:

Publicar un comentario

Suscribirse a Comentarios de la entrada [Atom]

<< Página Principal