View Single Post
 
Reply
Posted 2006-10-26, 03:30 PM in reply to Lenny's post starting "Interesting language that the comments..."
hey Lenny thanks, ill be checking those lines to see if i can make some changes, btw yup, its spanish lol, i forgot to say that.
Is Atnas another member, hope he takes a look at this script

Hey i found the image name, its nom_imagen (check 266, 268, 298), this is line 264 to 316:

Code:
def decidir_imagen
i=0
@nom_imagen = ""
while @mtexto[i,1] != ":" and @mtexto[i,1] != nil and @mtexto[i,1] != @carct_centinela
@nom_imagen = @nom_imagen + @mtexto[i,1]
i = i + 1
end
self.x = 160
@narracion = false
if @mtexto[i,1] != ":" and @mtexto[i,1] != @carct_centinela
@cambio_imagen = false
elsif @mtexto[i,1] == @carct_centinela
self.x = 80
@cambio_imagen = true
@narracion = true
else
@cambio_imagen = true
end
end
#---------------------------------------------------------------------
def cambiar_imagen
decidir_imagen
if @cambio_imagen or (@ventana_cara.y+14) != @imagen.y
if @impresion_imagen != nil
@impresion_imagen.dispose
end
poner_cara
end
end
#-------------------------------------------------------------------
def poner_cara
begin
@ventana_cara.contents.clear
if @cambio_imagen
@imagen.show(@nom_imagen,0,14,@ventana_cara.y+14,132*100/@tamaño_imagenes,132*100/@tamaño_imagenes,0,0)
else
@imagen.move(1, 0, 14, @ventana_cara.y+14, 132*100/@tamaño_imagenes, 132*100/@tamaño_imagenes, 0,0)

@imagen.update
end
@hay_cara = true
@impresion_imagen = Sprite_Picture.new(@viewport,@imagen)
rescue
@hay_cara = false
@ventana_cara.contents.clear
@ventana_cara.contents.font.color = c(4)
@ventana_cara.contents.font.name = "Flat Brush"
@ventana_cara.contents.font.size = $fontsize
@ventana_cara.contents_opacity = 255
@ventana_cara.contents.draw_text((160-32)/2-20,(160-32)/2-32,32,32,"SIN")
@ventana_cara.contents.draw_text((160-32)/2-32,(160-32)/2,64,32,"FOTO")
end
end
What can i change here?

Last edited by Jabicho; 2006-10-26 at 04:29 PM.
Old
Profile PM WWW Search
Jabicho is neither ape nor machine; has so far settled for the in-betweenJabicho is neither ape nor machine; has so far settled for the in-between
 
 
Jabicho