×

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
  • /
  • Seção Editor de Mapas e Modules
  • /
  • Guia Module + Tópico de Dúvidas
« ‹ 3 / 55 › »
Guia Module + Tópico de Dúvidas
Brenower
« Censeur »
1381195620000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#41
  0
Como eu faço uma tabela que sabe um score de um player?
Fluffyshine
« Citoyen »
1381196280000
    • Fluffyshine#0000
    • Profil
    • Derniers messages
    • Tribu
#42
  0
Brenower a dit :
Como eu faço uma tabela que sabe um score de um player?

De um ou de todos?
Brenower
« Censeur »
1381196400000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#43
  0
Fluffyshine a dit :
De um ou de todos?

Todos.
Djbrunninha
« Citoyen »
1381205220000
    • Djbrunninha#0000
    • Profil
    • Derniers messages
    • Tribu
#44
  0
Adorei adorei adorei
Miceefray
« Citoyen »
1381236720000
    • Miceefray#0000
    • Profil
    • Derniers messages
#45
  0
Gente qual script pra por nome no minigame
Rowis
« Citoyen »
1381237620000
    • Rowis#0000
    • Profil
    • Derniers messages
    • Tribu
#46
  0
os comandos do meu minigame no cafofo da tribo nao estao pegando eles tavam pegando antes
Brenower
« Censeur »
1381267200000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#47
  0
Brenower a dit :
Como eu faço uma tabela que sabe um score de um player?

...
--------------------------------------------------------------------
Como eu faço para iniciar um novo mapa a partir da reposta da pop-up?
ui.addPopup(10, 0, "Qual mapa?", player, 20, 50, 200)

function eventPopupAnswer(10, player, Qual o mapa?)
tfm.exec.newGame("(answer)")
end
Loastdll
« Citoyen »
1381270380000
    • Loastdll#0000
    • Profil
    • Derniers messages
#48
  0
Alguns que coloco no meu cafofo, ele roda o 1º mapa, mas no seguinte mapa, ele volta para o mapa da tribo, isso é bug ?'
Doneky
« Citoyen »
1381270500000
    • Doneky#0000
    • Profil
    • Derniers messages
    • Tribu
#49
  0
Talvez.. Tenta usar outra script.^
Tini
« Sénateur »
1381273080000
    • Tini#0015
    • Profil
    • Derniers messages
    • Tribu
#50
  0
Pq todos os tópicos de Minigames ficam fechados?
Doneky
« Citoyen »
1381273800000
    • Doneky#0000
    • Profil
    • Derniers messages
    • Tribu
#51
  0
Tinittee a dit :
Pq todos os tópicos de Minigames ficam fechados?

É uma nova seção, não HÁ regras definidas.
Estou aceitando isso em uma forma como se fosse um PAUSE no tempo. kkk
Lupersinio
« Citoyen »
1381273800000
    • Lupersinio#0000
    • Profil
    • Derniers messages
    • Tribu
#52
  0
Eu talvez comece a fazer um mg, mas preciso de uma certa ajuda, alguém poderia?
Julioforum
« Citoyen »
1381274580000
    • Julioforum#0000
    • Profil
    • Derniers messages
    • Tribu
#53
  0
Lupersinio a dit :
Eu talvez comece a fazer um mg, mas preciso de uma certa ajuda, alguém poderia?

eu
talvez
depende mt
Tini
« Sénateur »
1381275600000
    • Tini#0015
    • Profil
    • Derniers messages
    • Tribu
#54
  0
BR é a única comunidade que está deixando todos os tópicos dos jogos fechados.
:/
Por quê?
Podem me ajudar no script de CANHÃO PARA TODOS?
Thogabrielll
« Citoyen »
1381276140000
    • Thogabrielll#0000
    • Profil
    • Derniers messages
    • Tribu
#55
  0
a dit :
maps = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "11", "12"};
tfm.exec.newGame(maps[math.random(#maps)])
function eventNewPlayer(name)
for i,key in ipairs({83,40,69}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
end

function eventKeyboard(name,key,down,x,y)
if key==83 or key==40 or key==69 then
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addShamanObject(19,x,y)
else
tfm.exec.addShamanObject(20,x,y)
end
end
end

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

ui.addPopup(1,3,"Criado por Luucassssss, bugs arrumados por Thogabriel (alguns)",player,10,30,159)
Doneky
« Citoyen »
1381276140000
    • Doneky#0000
    • Profil
    • Derniers messages
    • Tribu
#56
  0
Bolodefchoco a dit :
nada n jow. Aaaah Se alguem souber como tirar shaman e n ficar 00:20 qnd alguem morre

tfm.exec.disableAutoShaman(true) -> Desativa o shaman.
tfm.exec.disableAutoTimeLeft(true) -> Desativa o restante do tempo (eu acho que é o 20).
Julioforum
« Citoyen »
1381276500000
    • Julioforum#0000
    • Profil
    • Derniers messages
    • Tribu
#57
  0
Tinittee a dit :
BR é a única comunidade que está deixando todos os tópicos dos jogos fechados.
:/
Por quê?
Podem me ajudar no script de CANHÃO PARA TODOS?

FFA a dit :
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoShaman(true)
players={}
toDespawn={}
maps={521833,401421,541917,541928,541936,541943,527935,559634,559644,888052,878047,885641,770600,770656,772172,891472,589736,589800,589708,900012,901062,754380,901337,901411,907870,910078,1190467,1252043,1124380,1016258,1252299,1255902,1256808,986790,1285380,1271249,1255944,1255983,1085344,1273114,1276664,1279258,1286824,1280135,1280342,1284861,1287556,1057753,1196679,1288489,1292983,1298164,1298521,1293189,1296949,1308378,1311136,1314419,1314982,1318248,1312411,1312589,1312845,1312933,1313969,1338762,1339474,1349878,1297154,644588,1351237,1354040,1354375,1362386,1283234,1370578,1306592,1360889,1362753,1408124,1407949,1407849,1343986,1408028,1441370,1443416,1389255,1427349,1450527,1424739,869836,1459902,1392993,1426457,1542824,1533474,1561467,1563534,1566991,1587241,1416119,1596270,1601580,1525751,1582146,1558167,1420943,1466487,1642575,1648013,1646094,1393097,1643446,1545219,1583484,1613092,1627981,1633374,1633277,1633251,1585138,1624034,1616785,1625916,1667582,1666996,1675013,1675316,1531316,1665413,1681719,1699880,1688696,623770,1727243,1531329,1683915,1689533,1738601,3756146,912118,3326933,3722005,3566478,1456622,1357994,1985670,1884075,1708065,1700322,2124484,3699046,2965313,4057963,4019126,3335202,2050466}

function eventNewPlayer(name)
for i,key in ipairs({32,40,83}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
players[name]={
timestamp=os.time(),
offsets={x=2, y=10}
}
end

function eventKeyboard(name,key,down,x,y)
if (key==32 or key==40 or key==83) and not tfm.get.room.playerList[name].isDead and started then
if players[name].timestamp < os.time()-1000 then
local id
if tfm.get.room.playerList[name].isFacingRight then
id=tfm.exec.addShamanObject(19,x+players[name].offsets.x,y+players[name].offsets.y)
else
id=tfm.exec.addShamanObject(20,x+players[name].offsets.x,y+players[name].offsets.y)
end
players[name].timestamp=os.time()
table.insert(toDespawn,{os.time(),id})
end
end
end

function eventChatCommand(name,command)
local arg={}
for argument in command:gmatch("[^%s]+") do
table.insert(arg,argument)
end
if arg[1]=="off" then
if tonumber(arg[2]) and tonumber(arg[3]) then
players[name].offsets.x=tonumber(arg[2])
players[name].offsets.y=tonumber(arg[3])
else
players[name].offsets.x=2
players[name].offsets.y=10
end
tfm.exec.chatMessage("Offsets changed to X:"..players[name].offsets.x.." Y:"..players[name].offsets.y,name)
end
end

function eventNewGame()
started=false
end

function eventLoop(time,remaining)
if time >= 3000 and not started then
started=true
end
if remaining<=0 then
tfm.exec.newGame(maps[math.random(#maps)])
end
for i,cannon in ipairs(toDespawn) do
if cannon[1] <= os.time()-3000 then
tfm.exec.removeObject(cannon[2])
table.remove(toDespawn,i)
end
end
end

function eventPlayerDied(name)
local i=0
local n
for pname,player in pairs(tfm.get.room.playerList) do
if not player.isDead then
i=i+1
n=pname
end
end
if i==0 then
tfm.exec.newGame(maps[math.random(#maps)])
elseif i==1 then
tfm.exec.giveCheese(n)
tfm.exec.playerVictory(n)
tfm.exec.setGameTime(5)
end
end

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

tfm.exec.newGame(maps[math.random(#maps)])

Shamousey que fez.
Joaovictors
« Citoyen »
1381277040000
    • Joaovictors#0000
    • Profil
    • Derniers messages
    • Tribu
#58
  0
Brenower a dit :
...
--------------------------------------------------------------------
Como eu faço para iniciar um novo mapa a partir da reposta da pop-up?
ui.addPopup(10, 0, "Qual mapa?", player, 20, 50, 200)

function eventPopupAnswer(10, player, Qual o mapa?)
tfm.exec.newGame("(answer)")
end

quase desse jeito ai. olha ai uns ajustes:

a dit :

ui.addPopup(10, 0, "Qual mapa?", player, 20, 50, 200)

function eventPopupAnswer(id, player, resposta)
-- Para ser só com a resposta do popup de id 10
if id == 10 then
tfm.exec.newGame(resposta)
end
end

.
Julioforum
« Citoyen »
1381277280000
    • Julioforum#0000
    • Profil
    • Derniers messages
    • Tribu
#59
  0
Como bota rotação de p7?
Danihomem
« Citoyen »
1381278060000
    • Danihomem#0000
    • Profil
    • Derniers messages
    • Tribu
#60
  0
<font color='F95B5B'> PowerUps </font>

porque não fufan a cor?
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • Guia Module + Tópico de Dúvidas
« ‹ 3 / 55 › »
© Atelier801 2018

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

Version 1.27