×

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
  • /
  • Lights
1 / 3 › »
Lights
Tailtong
« Citoyen »
1386353280000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  0
You (probably) have celebrated birthdays, holidays, party days and more important days without lights on TFM. Well now it's time to add light to those days!

a dit :
Code 1 (less colors, more realistic)

Link

Code 2 (more colors, less realistic)

Link

http://i.imgur.com/PkFSn5k.png
Benbirkralm
« Citoyen »
1386355680000
    • Benbirkralm#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Cool *-*
Livcorish
« Citoyen »
1386360660000
    • Livcorish#0000
    • Profil
    • Derniers messages
#3
  0
Wow! Cool :)
Safwanrockz
« Censeur »
1386360960000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#4
  0
Ahah it's amazing.
Leo
« Citoyen »
1386360960000
    • Leo#6000
    • Profil
    • Derniers messages
#5
  0
wow! cooll
Tailtong
« Citoyen »
1386361440000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
Updated! Now you can set a radius.
Thanks for the kind words, everybody!
Unimeowse
« Citoyen »
1386361440000
    • Unimeowse#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  0
Nice, holiday feel to it. Great work!
Mikuhl
« Citoyen »
1386363000000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#8
  0
a dit :
for i=1,pAtOnce do

Not really noticable but, starting a loop at 1 means it will do one less. So 100 particles would do 99 since you started at one, rather than zero.
Tailtong
« Citoyen »
1386363360000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#9
  0
Well, which solution is better for you?
a dit :
for i=0,pAtOnce do

a dit :
or

a dit :
for i=1,pAtOnce+1 do
Mikuhl
« Citoyen »
1386363480000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#10
  0
Tailtong a dit :
Well, which solution is better for you?

First one would save you characters but they look like they both work.
Baasbase
« Citoyen »
1386364800000
    • Baasbase#0095
    • Profil
    • Derniers messages
#11
  0
Jaackster a dit :
Not really noticable but, starting a loop at 1 means it will do one less. So 100 particles would do 99 since you started at one, rather than zero.

Please try

Baasbase a dit :

for i=1, 3 do
print("Test: " .. i)
end

and then come back here.

Please edit the OP back, it was correct in the first edition.
Tailtong
« Citoyen »
1386364920000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#12
  0
Oh, okay, thank you Baas. (and Jaack)
Xanmeow
« Citoyen »
1386380400000
    • Xanmeow#0000
    • Profil
    • Derniers messages
    • Tribu
#13
  0
lol this makes it fun:

!par 10000

ten thousand

dont move or chat or do anything or it crashes the script
Unimeowse
« Citoyen »
1386387840000
    • Unimeowse#0000
    • Profil
    • Derniers messages
    • Tribu
#14
  0
Xanmeow a dit :
lol this makes it fun:

!par 10000

ten thousand

dont move or chat or do anything or it crashes the script

The limit is 1600 I believe. That's because it exceeds 40ms per 4 second
Impossiblevn
« Citoyen »
1386393180000
    • Impossiblevn#0000
    • Profil
    • Derniers messages
    • Tribu
#15
  0
merry chirsmart :D
Iceymouseh
« Citoyen »
1386419820000
    • Iceymouseh#0000
    • Profil
    • Derniers messages
#16
  0
Amazing lights, but do you think you could add more colors other then teal,yellow,purple and red?
Tailtong
« Citoyen »
1386425580000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#17
  0
Iceymouseh a dit :
Amazing lights, but do you think you could add more colors other then teal,yellow,purple and red?

I added something like you requested to the first post.
Papero
« Citoyen »
1386425580000
    • Papero#9240
    • Profil
    • Derniers messages
    • Tribu
#18
  0
Tailtong a dit :
There isn't any more particles that have different colors, sadly, but I tried something.

try using uh popups?
Tailtong
« Citoyen »
1386425820000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#19
  0
Why popups? Popups are all the same color.
Papero
« Citoyen »
1386425820000
    • Papero#9240
    • Profil
    • Derniers messages
    • Tribu
#20
  0
Tailtong a dit :
Why popups? Popups are all the same color.

i mean text areas.
@_@
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lights
1 / 3 › »
© Atelier801 2018

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

Version 1.27