![]() ![]() |
![]() ![]() « Censeur » 1493936580000
| 3 | ||
Roxyrockster a dit : Tentei fazer um ai pra você ... kkkkk -- (Utilize a tecla [E] para tacar seu bloco de lava) function eventNewPlayer(name) system.bindKeyboard(name, 69, false) end for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end n=1 function eventKeyboard(name,key,down,x,y) if key == 69 then n = n + 1 if tfm.get.room.playerList[name].isFacingRight then tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false}) tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70}) else tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false}) tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70}) end tfm.exec.removePhysicObject(n-4) end end |
![]() 1494092460000
| | ||
[Modéré par Quatrogivas, raison : Caráter sexual] |
![]() ![]() « Citoyen » 1494094320000
| 0 | ||
É possível fazer que quando o jogador clica na TextArea saia uma particula ? Obs : Eu tentei mas sempre dá erro |
![]() ![]() « Censeur » 1494174000000
| 0 | ||
Hugotitas a dit : Claro, mas aonde a partícula irá sair? Na TextArea, no mapa, no jogador?! |
![]() ![]() « Censeur » 1494175320000
| 0 | ||
Samuelfilho1 a dit : Não remove a neve depois de um tempo function eventKeyboard(name, key, down, x, y) if key == 69 or key == 40 or key == 83 then if tfm.get.room.playerList[name].isFacingRight then tfm.exec.addShamanObject(34,x+20,y - 7,180,10,0) else tfm.exec.addShamanObject(34,x-20,y - 7,180,-10,0) end end end function eventNewPlayer(name) system.bindKeyboard(name, 40, false) system.bindKeyboard(name, 69, false) system.bindKeyboard(name, 83, false) end for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end Conceito que o Laagaadoo utilizou na página anterior (Removendo a neve depois de 3s) local pool = {} local objs = {} function eventKeyboard(name, key, down, x, y) if key == 69 or key == 40 or key == 83 then local facingRight = tfm.get.room.playerList[name].isFacingRight table.insert(pool, {tfm.exec.addShamanObject(34, facingRight and x + 20 or x - 20, y, 0, facingRight and 10 or -10), os.time()}) end end function eventLoop(el, rm) for i,v in ipairs(pool) do if v[2] < os.time() - 3000 then tfm.exec.removeObject(v[1]) table.remove(pool, i) end end end function eventNewPlayer(name) system.bindKeyboard(name, 40, false) system.bindKeyboard(name, 69, false) system.bindKeyboard(name, 83, false) end for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end |
![]() ![]() « Citoyen » 1494187320000
| 0 | ||
Um script que faça chover (Temporal) Agradeço pra quem fizer ![]() |
![]() ![]() « Censeur » 1494191220000
| 1 | ||
Mc_nandinhog a dit : Não fui eu que fiz, foi o Rianmojang, mas já que você pediu está ai! function eventLoop() for k = 20,0,-1 do tfm.exec.displayParticle(14,math.random(0,800),math.random(50),0,math.random(1.1),0,math.random(0.22)) end end |
![]() ![]() « Citoyen » 1494194520000
| 0 | ||
Obrigado ![]() |
![]() ![]() « Citoyen » 1494201660000
| 0 | ||
Tem algum script pra por no cafofo que você possa virar qualquer personagem de anime? |
![]() ![]() « Censeur » 1494600840000
| 0 | ||
Babyratinhah a dit : Nop, não podemos colocar imgs, só o da equipa de module |
![]() ![]() « Citoyen » 1494720780000
| 0 | ||
Desculpa, ocorreu um erro aqui no fórum meu mas agr já desbugou por causa disso que tive que editar essa mensagem Dernière modification le 1494720960000 |
0 | ||
Scripts que deixa o rato invisível ou algo do tipo. Semelhante ao module de esconde-esconde. |
![]() ![]() « Censeur » 1494954360000
| 0 | ||
Snownevo a dit : Isso implicaria colocar uma foto no nada em vez do rato, aí chegamos ao mesmo sítio do de cima |
0 | ||
Script de ver quais teclas a pessoa ta apertando no jogo. |
![]() ![]() « Citoyen » 1495513440000
| 0 | ||
Script com um mapa de uma partida esportiva (futebol, basquete, volei sla) na qual o time pontuasse se marcasse um ponto. |
![]() ![]() « Citoyen » 1495650900000
| 0 | ||
Seria possível criar um script em que, quando uma pessoa entrasse na tribo ou logasse no jogo, apareceria uma tela a dizer informações e tal? |
![]() ![]() « Censeur » 1495651560000
| 0 | ||
Biaromeira a dit : só possível se entrar na sala Vitordiaspas a dit : toma esse, eu estava a criar para a minha galeria aqui Dernière modification le 1495652040000 |
![]() ![]() « Citoyen » 1495675200000
| 0 | ||
Vitordiaspas a dit : toma esse, eu estava a criar para a minha galeria aqui[/quote] Cadê a bola '-' ja achei valeu muito bom jelly valeu ae :) Dernière modification le 1495675320000 |
0 | ||
Alguem sabe como posso aprender códigos LUA aqui no jogo? nao tem nenhum tutorial , no caso a Linguagem LUa e a mesma usada pro jogo? |
![]() ![]() « Censeur » 1496428320000
| 0 | ||
Rafszika a dit : sim... e topico errado |