×

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
  • /
  • Modules
  • /
  • [Minigame]Shaman Defence
« ‹ 2 / 3 › »
[Minigame]Shaman Defence
Ethanrockz
« Citoyen »
1382112600000
    • Ethanrockz#0000
    • Profil
    • Derniers messages
    • Tribu
#21
  0
Wheres the code that opens the shop?
Ordboka
« Citoyen »
1382112840000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#22
  0
The shop button is called on screen in the new game method.

Ethanrockz a dit :
ui.addTextArea(4, "<p align='center'><a href='event:shopOpened'>Shop</a></p><br>", NIL, 50, 25, 35, 20, 0x1C3C41, 0x1C3C41, 1)

And this gets triggered when the button is clicked


Ethanrockz a dit :
ui.addTextArea(5, [[<p align='center'><font size='20'>Shop</font></p>
<p>Spawns a cannon instead of rune when you click</p>
<p>A tower spawn runes in random directions</p>
<p>A tower spawn cannons in random directions </p>
<p>You can spawn items twice as fast </p>]], playerName , 200, 50, 400, 225, 0x1C3C41, 0x1C3C41, 1)
ui.addTextArea(11, "<p align='center'><a href='event:closeHelp'>Buy for 25</a></p><br>", playerName, 500, 135, 100, 20, 0x0E242D, 0x0E242D, 1)
ui.addTextArea(12, "<p align='center'><a href='event:closeHelp'>Buy for 100</a></p><br>", playerName, 500, 170, 100, 20, 0x0E242D, 0x0E242D, 1)

Feel free to ask if anything is still unclear.
Ethanrockz
« Citoyen »
1382114520000
    • Ethanrockz#0000
    • Profil
    • Derniers messages
    • Tribu
#23
  0
so What order do I put the codes in cause the shop comes up but I cant get out of it and it errors when i DO THE FIRST BIT OF COMMAND i FOUND :p
Ordboka
« Citoyen »
1382163420000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#24
  0
Can I see your code? Would make it easier to se where you went wrong.
Ethanrockz
« Citoyen »
1382204400000
    • Ethanrockz#0000
    • Profil
    • Derniers messages
    • Tribu
#25
  0
ui.addTextArea(4, "<p align='center'><a href='event:shopOpened'>Shop</a></p><br>", NIL, 50, 25, 35, 20, 0x1C3C41, 0x1C3C41, 1)

ui.addTextArea(5, [[<p align='center'><font size='20'>Shop</font></p>
<p>Spawns a cannon instead of rune when you click</p>
<p>A tower spawn runes in random directions</p>
<p>A tower spawn cannons in random directions </p>
<p>You can spawn items twice as fast </p>]], playerName , 200, 50, 400, 225, 0x1C3C41, 0x1C3C41, 1)
ui.addTextArea(11, "<p align='center'><a href='event:closeHelp'>Buy for 25</a></p><br>", playerName, 500, 135, 100, 20, 0x0E242D, 0x0E242D, 1)
ui.addTextArea(12, "<p align='center'><a href='event:closeHelp'>Buy for 100</a></p><br>", playerName, 500, 170, 100, 20, 0x0E242D, 0x0E242D, 1)


elseif textAreaId == 111 and players[playerName].cash &gt;= 25 then
players[playerName].cash = players[playerName].cash - 25
closeShop(100)
towerBuildingMode = true
towerBuilder = playerName
towerObjectPicker = 32
elseif textAreaId == 112 and players[playerName].cash &gt;= 100 then
players[playerName].cash = players[playerName].cash - 100
closeShop(100)
towerBuildingMode = true
towerBuilder = playerName
towerObjectPicker = 19
end
if players[playerName].cash &gt;= 250 then
players[playerName].cash = players[playerName].cash - 250
doubleSpeed = true
ui.removeTextArea(113, playerName)
ui.addTextArea(114, "&lt;p align='center'&gt;&lt;a href='event:closeHelp'&gt;Bought&lt;/a&gt;&lt;/p&gt;&lt;br&gt;", playerName, 1300, 205, 100, 20, 0x0E242D, 0x0E242D, 1)
end
end

function closeShop(num)
ui.removeTextArea(5+num, playerName)
ui.removeTextArea(6+num, playerName)
ui.removeTextArea(7+num, playerName)
ui.removeTextArea(8+num, playerName)
ui.removeTextArea(10+num, playerName)
ui.removeTextArea(11 +num, playerName)
ui.removeTextArea(12 + num, playerName)
ui.removeTextArea(13 + num, playerName)
ui.removeTextArea(14 + num, playerName)
end
Alishakouri
« Citoyen »
1382206320000
    • Alishakouri#0000
    • Profil
    • Derniers messages
    • Tribu
#26
  0
someone give me the game code . i can't see the link . 404 ERROR NOT FOUND :/
Shamousey
« Consul »
1382207220000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#27
  0
Alishakouri a dit :
someone give me the game code . i can't see the link . 404 ERROR NOT FOUND :/

The link in the OP works fine for me. http://pastebin.com/qsvF3Y7U
Alishakouri
« Citoyen »
1382207220000
    • Alishakouri#0000
    • Profil
    • Derniers messages
    • Tribu
#28
  0
404 - Not Found< PLS COPY THE CODE :/
Littlechedda
« Citoyen »
1382208720000
    • Littlechedda#0000
    • Profil
    • Derniers messages
    • Tribu
#29
  0
how do i play this D:
Ordboka
« Citoyen »
1382247660000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#30
  0
Ordboka a dit :


Shaman defence is about trying to stop the floating shaman objects from reaching the the top of the map. You do this by clicking on the screen on one of the yellow fields. In the start the only weapon you have is a rune, but when you make progress in the game you can buy new things like automatic shooters and cannons ^_^. To make the game a bit more exiting there are two teams playing the game. You can't see what the other team is doing, so just try to survive and the team that survives the longest wins.

How can I play?

Right now(and probably forever) this program must be played in your tribehouse, so gather your tribemates and have some fun. Simply copy the code on the link below into the /lua window.


Copied from the first post. Hope you are able to play and have fun doing it :D
Jeremiahmice
« Citoyen »
1383111540000
    • Jeremiahmice#0000
    • Profil
    • Derniers messages
    • Tribu
#31
  0
spell your word corect first
Ordboka
« Citoyen »
1383117180000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#32
  0
Jeremiahmice a dit :
spell your word corect first

What do you mean?
Jsilv
« Citoyen »
1383119340000
    • Jsilv#0000
    • Profil
    • Derniers messages
#33
  0
Probably defence/defense again..

crying for you ord, no one understands
Ordboka
« Citoyen »
1383147120000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#34
  0
Jsilv a dit :
Probably defence/defense again..

crying for you ord, no one understands

Haha. Thanks for caring <3
Michealjacki
« Citoyen »
1383155940000
    • Michealjacki#0000
    • Profil
    • Derniers messages
    • Tribu
#35
  0
bored ;-;
Ordboka
« Citoyen »
1383157200000
    • Ordboka#0000
    • Profil
    • Derniers messages
    • Tribu
#36
  0
Michealjacki a dit :
bored ;-;

Because of the minigame?
Qrcun
« Citoyen »
1384189140000
    • Qrcun#0000
    • Profil
    • Derniers messages
#37
  0
hey ! Topic-456238
but tr and different
Mehmetardal
« Citoyen »
1392983520000
    • Mehmetardal#0000
    • Profil
    • Derniers messages
    • Tribu
#38
  0
arabalar
:DD
Jaedee
« Citoyen »
1396767600000
    • Jaedee#0000
    • Profil
    • Derniers messages
    • Tribu
#39
  0
is this minigame official? :o
Hixed
« Citoyen »
1396768620000
    • Hixed#0000
    • Profil
    • Derniers messages
    • Tribu
#40
  0
Jaedee a dit :
is this minigame official? :o

no you can only play it in the tribe house with the code he provided
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Minigame]Shaman Defence
« ‹ 2 / 3 › »
© Atelier801 2018

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

Version 1.27