connect
 

Description:
Thématiques:

FAT_Player_MikMod
Super_Mario_Galaxies
Vie_privée
Lucky_Slot_Ds
DadaS
FAT_Player_Raw
Jetfighter
HamHamDS
BD_Heros
Fonctions_Lua
DeSxpressions

[+]

Abonnement aux flux
Flux rss
blog de Cid2Mizard

11 jui
2007

Fonctions DSLua

Retrouver toutes les fonctions DSLua  ici :wiki.xtreamlua.com/doku.php

17 jui
2007

Intro type RPG

Voici un exemple pour faire une intro ou des echanges de discution entre personnages en Lua
 
Mettre les personnages en Sprites pour changer selon l'emotion,le texte progressif :
functionDSLua.ProgressiveString(progstr,coloredwut,screenwhich,delaybetweeneach,xvl,yvl)
for current_position = 1, string.len( progstr ) do
current_char = string.sub( progstr, current_position, current_position )
if screenwhich == 0 then
BGBotText:SetColor(coloredwut)
BGBotText:PrintXY( xvl, yvl, current_char )
end
if screenwhich == 1 then
BGTopText:SetColor(coloredwut)
BGTopText:PrintXY( xvl, yvl, current_char )
end
if screenwhich == 2 then
BGBotText:SetColor(coloredwut)
BGTopText:SetColor(coloredwut)
BGBotText:PrintXY( xvl, yvl, current_char )
BGTopText:PrintXY( xvl, yvl, current_char )
end
for delay = 1, delaybetweeneach do end
xvl = xvl + 1
if xvl == 32 then xvl = 0 yvl = yvl + 1
end
end
end
pour l utiliser :
DSLua.ProgressiveString("TEXTHERE!!!",color,screen,delay,X,Y)

<< | 0 | 1 | 2 | 3 | 4 | 5 | >>
lache tes com dev fr scrutator irc bot
created by Jerome Wax based on LT version 0.3.2 - dev-fr.org 0.4 install