×

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
  • /
  • [Minijuego]Apocalipsis
« ‹ 2 / 2
[Minijuego]Apocalipsis
Vigilante
« Citoyen »
1500710160000
    • Vigilante#9886
    • Profil
    • Derniers messages
    • Tribu
#21
  0
ya quiero probar Apocalipsis se ve divertido
Rolmantrra
« Citoyen »
1501544220000
    • Rolmantrra#0000
    • Profil
    • Derniers messages
#22
  0
Hola Cannonllx, pues mira tengo un problema yo copio el script y solo se queda en el mapa casa tribu y caen los cañones, ¿Qué hago?
Lolotomy
« Citoyen »
1501548540000
    • Lolotomy#0000
    • Profil
    • Derniers messages
    • Tribu
#23
  0
EXACTO, ME PASA LO MISMO
Saintgio
« Consul »
1501556160000
    • Saintgio#0000
    • Profil
    • Derniers messages
    • Tribu
#24
  0
Script minimamente modificado para los que quieran probar este minijuego.

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
local random = math.random
local maps = {"6592516", "3741982", "6599994"}
local objects = {17}
local players = 0
local mode = ""

function main()
tfm.exec.setGameTime(5)
table.foreach(tfm.get.room.playerList, newPlayer)
mode = "game_0"
end

function newPlayer(playerName)
players = players + 1
end

function eventPlayerDied()
players = players - 1
if players < 1 then
tfm.exec.setUIMapName("<CH>No winners ;(")
main()
end
end

function eventPlayerWon(playerName)
ui.addPopup(0,0,""..playerName.."'s win", nill, 100, 100, 170, true)
end

function eventNewGame()
tfm.exec.setUIMapName("@"..tfm.get.room.xmlMapInfo.mapCode.." <VI>- <RO>Apocalipsis")
tfm.exec.setUIShamanName("Fanstama")
mode = "game_1"
end

function eventLoop(time, remaining)
if mode == "game_1" then
if remaining <= 0 then
main()
else
for i=1,random(1) do
tfm.exec.addShamanObject (objects[random(#objects)], random(800), random(-50), random(360));
end
end
elseif mode == "game_0" then
if remaining <= 0 then
tfm.exec.newGame(maps[random(#maps)])
end
end
end

tfm.exec.disableAutoShaman()
tfm.exec.disableMortCommand()
tfm.exec.disableAutoNewGame()
main()
Impure
« Citoyen »
1603402980000
    • Impure#9630
    • Profil
    • Derniers messages
    • Tribu
#25
  0
a dit :
data={};

local objects = {17};

TIME_P = 2.

for player in pairs(tfm.get.room.playerList) do
newData={
["vidas"]=3;
};
data[player] = newData;
end

maps = {7794617}

tfm.exec.disableAutoNewGame()
tfm.exec.disableAutoShaman()

system.players=function()
local alive,players = {},{}
for k,v in next,tfm.get.room.playerList do
if not v.isDead then
alive[#alive+1]=k
end
players[#players+1]=k
end
return alive,players
end

function eventPlayerDied(player)
data[player].vidas=data[player].vidas-1;
if data[player].vidas >= 1 then
tfm.exec.respawnPlayer(player)
end
end


eventLoop=function(time)
local alive = system.players()
if time <= 0 or #alive < 1 then
local lastMap = currentMap or 0
repeat currentMap = maps[math.random(#maps)] until currentMap ~= lastMap
tfm.exec.newGame(currentMap)
end
for player in pairs(tfm.get.room.playerList) do
if data[player].vidas == 3 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,90,35,0,0, 0, 0, player)
end
if data[player].vidas == 2 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
end
if data[player].vidas == 1 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
end
end
for i=1,math.random(1) do
tfm.exec.addShamanObject (objects[math.random(#objects)],
math.random(800), math.random(-50),
math.random(360));
end
end

eventNewGame=function()
tfm.exec.setGameTime(TIME_P*60)
for player in pairs(tfm.get.room.playerList) do
data[player].vidas = 3;
end
end

function eventNewPlayer(player)
newData={
["vidas"]=0;
};
data[player] = newData;
end

eventLoop(-1)




Despuès de varios años volvì para retomar el proyecto. Aquì le deje el script de està actualizaciòn:
-Nuevo mapa(E unico en esta actualizaciòn)
-Sistema de vida
-Nueva rotaciòn de mapa(ya no deberia de fallar)

En la pròxima actulizaciòn:
-Mejorar el hilo
-Mejorar el Script
-Agregar nuevas cosas (sorpresas)

Error de la actulizaciòn:
en el mapa del juego los cañones no trapazan el suelo.. (Me disculpo pero creer el mapa tan ràpido
que se me paso queria que supieran que habia retomado el proyecto que se me fue la mano).

Dernière modification le 1603403100000
Impure
« Citoyen »
1603565460000
    • Impure#9630
    • Profil
    • Derniers messages
    • Tribu
#26
  0
Actualización: V.0.9

Se han arreglado todos los errores pasados, se han implementado nuevas cosas como cañones que salen de abajo hacia arriba, vientos que te dificultan las cosas.

data={};

local objects = {17};
local ticks = 0
TIME_P = 2.

lluvia={"26"}
pAtOnce=30
radiusX=100
radiusY=100

for player in pairs(tfm.get.room.playerList) do
newData={
["vidas"]=3;
};
data[player] = newData;
end

maps = {7795434}

tfm.exec.disableAutoNewGame()
tfm.exec.disableAutoShaman()

system.players=function()
local alive,players = {},{}
for k,v in next,tfm.get.room.playerList do
if not v.isDead then
alive[#alive+1]=k
end
players[#players+1]=k
end
return alive,players
end

function eventPlayerDied(player)
data[player].vidas=data[player].vidas-1;
if data[player].vidas >= 1 then
tfm.exec.respawnPlayer(player)
end
end


eventLoop=function(time)
local alive = system.players()
if time <= 0 or #alive < 1 then
local lastMap = currentMap or 0
repeat currentMap = maps[math.random(#maps)] until currentMap ~= lastMap
tfm.exec.newGame(currentMap)
end
for player in pairs(tfm.get.room.playerList) do
if data[player].vidas == 3 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,90,35,0,0, 0, 0, player)
end
if data[player].vidas == 2 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
end
if data[player].vidas == 1 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
end
ticks = ticks + 1
if ticks == 10 then
local x = math.random(0,800)
local y = 370
tfm.exec.addShamanObject(17, x, y, 0, 0, 0, false)
ticks = 0
end
end
for i=1,math.random(1) do
tfm.exec.addShamanObject (objects[math.random(#objects)],
math.random(800), math.random(-50),
math.random(360));
end
for i=1,pAtOnce do
tfm.exec.displayParticle(lluvia[math.random(#lluvia)],math.random(400-radiusX*4,400+radiusX*4),math.random(200-radiusY*2,200+radiusY*2),0,0,0,0,nil)
end
end

eventNewGame=function()
tfm.exec.setGameTime(TIME_P*60)
for player in pairs(tfm.get.room.playerList) do
data[player].vidas = 3;
end
end

function eventNewPlayer(player)
newData={
["vidas"]=0;
};
data[player] = newData;
end

eventLoop(-1)



En la pròxima actualizaciòn se implementara perfiles, ranking, nuevos obstaculo, bot, rondas y muchas cosas nuevas.

Para los que quieran crear mapas para el module escribanme al priv.
Dcklopedia
« Citoyen »
1603734060000
    • Dcklopedia#0000
    • Profil
    • Derniers messages
    • Tribu
#27
  0

Cuenta Alt para no pùblicar 3 veces.



Mini Actualización: v.0.9.1
  • Checkpoint: Cada vez que mueres vuelves a revivir en el mismo lugar hasta que se agoten las 3 vidas
  • Meep: Cuando te queden 2 vidas se activara el meep
  • Mapas: se han agregado 2 mapas nuevos

data={};

local objects = {17};
local ticks = 0
TIME_P = 2.

lluvia={"26"}
pAtOnce=30
radiusX=100
radiusY=100

for player in pairs(tfm.get.room.playerList) do
newData={
["vidas"]=3;
};
data[player] = newData;
end

maps = {7795434, 7795891, 7795894}

tfm.exec.disableAutoNewGame()
tfm.exec.disableAutoShaman()

system.players=function()
local alive,players = {},{}
for k,v in next,tfm.get.room.playerList do
if not v.isDead then
alive[#alive+1]=k
end
players[#players+1]=k
end
return alive,players
end

function eventPlayerDied(player)
data[player].vidas=data[player].vidas-1;
if data[player].vidas >= 1 then
tfm.exec.respawnPlayer(player)
tfm.exec.movePlayer(player,tfm.get.room.playerList[player].x,tfm.get.room.playerList[player].y)
end
end


eventLoop=function(time)
local alive = system.players()
if time <= 0 or #alive < 1 then
local lastMap = currentMap or 0
repeat currentMap = maps[math.random(#maps)] until currentMap ~= lastMap
tfm.exec.newGame(currentMap)
end
for player in pairs(tfm.get.room.playerList) do
if data[player].vidas == 3 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,90,35,0,0, 0, 0, player)
end
if data[player].vidas == 2 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
tfm.exec.displayParticle(5,60,35,0,0, 0, 0, player)
tfm.exec.giveMeep (player)
end
if data[player].vidas == 1 then
tfm.exec.displayParticle(5,30,35,0,0, 0, 0, player)
end
ticks = ticks + 1
if ticks == 10 then
local x = math.random(0,800)
local y = 370
tfm.exec.addShamanObject(17, x, y, 0, 0, 0, false)
ticks = 0
end
end
for i=1,math.random(1) do
tfm.exec.addShamanObject (objects[math.random(#objects)],
math.random(800), math.random(-50),
math.random(360));
end
for i=1,pAtOnce do
tfm.exec.displayParticle(lluvia[math.random(#lluvia)],math.random(400-radiusX*4,400+radiusX*4),math.random(200-radiusY*2,200+radiusY*2),0,0,0,0,nil)
end
end

eventNewGame=function()
tfm.exec.setGameTime(TIME_P*60)
for player in pairs(tfm.get.room.playerList) do
data[player].vidas = 3;
end
end

function eventNewPlayer(player)
newData={
["vidas"]=0;
};
data[player] = newData;
end

eventLoop(-1)


-Niseparaquepùblicosiestesubforoestabienmuertoxdd-
Stargazing
« Censeur »
1603766460000
    • Stargazing#0010
    • Profil
    • Derniers messages
    • Tribu
#28
  0
Cierro a petición del autor del hilo.
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • [Minijuego]Apocalipsis
« ‹ 2 / 2
© Atelier801 2018

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

Version 1.27