×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • [LUA] Alien Text
[LUA] Alien Text
Monjackio
« Citoyen »
1388788200000
    • Monjackio#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  0
players={}
i=0

mouseLeft=[[
<ROSE><font size='50' face='Verdana'>ᕙ༼ຈل͜ຈ༽ᕗ
]]
mouseRight=[[
<ROSE><font size='50' face='Verdana'>ᕙ༼ຈل͜ຈ༽ᕗ
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Pet Mouse")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
Alifsatria
« Citoyen »
1388880240000
    • Alifsatria#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Monjackio a dit :
players={}
i=0

mouseLeft=[[
&lt;ROSE&gt;&lt;font size='50' face='Verdana'&gt;ᕙ༼ຈل͜ຈ༽ᕗ
]]
mouseRight=[[
&lt;ROSE&gt;&lt;font size='50' face='Verdana'&gt;ᕙ༼ຈل͜ຈ༽ᕗ
]]

function eventNewGame()
tfm.exec.setUIShamanName("&lt;CH&gt;Script By: &lt;BV&gt;Issey")
tfm.exec.setUIMapName("&lt;VP&gt;Pet Mouse")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end

apa an lu
Candrai
« Citoyen »
1389000540000
    • Candrai#0000
    • Profil
    • Derniers messages
    • Tribu
#3
  0
ini mah editan dari pet mouse, dari Issey
Alifsatria
« Citoyen »
1389138660000
    • Alifsatria#0000
    • Profil
    • Derniers messages
    • Tribu
#4
  0
oh gw gk tau Candrai
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • [LUA] Alien Text
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27