| |
| « Citoyen » 1543552140000
| 0 | ||
| HoW dO yOu MaKe A tImEr? *i suck at lua :(* |
| 0 | ||
Overjoy06 a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 local timer = 0 |
| « Sénateur » 1543578600000
| 0 | ||
Overjoy06 a dit : https://atelier801.com/topic?f=6&t=876859 |
| « Citoyen » 1543655760000
| 0 | ||
| how can i set a timer so that a new game wont load after 3 seconds |
| « Citoyen » 1545461220000
| 0 | ||
| Please i really need it god damn it |
| « Citoyen » 1545897120000
| 0 | ||
| Can someone make a simple script to when a member join the tribe house send a welcome message? |
| « Citoyen » 1545983400000
| 0 | ||
| You know when you click the campfire it does the marshmallow animation? Is it possible to make something similar where if you click/touch a ground for example to become a vampire/sham? Or is it possible to even spawn a campfire that lasts forever? |
| « Citoyen » 1546014120000
| 0 | ||
| can you help me? Lua |
| « Citoyen » 1546014360000
| 0 | ||
| give me a snowball script for example help command vs. do you have code similar to this??? pls help |
| « Sénateur » 1546019940000
| 1 | ||
Overjoy06 a dit : Code Lua 1 2 3 4 5 6 local canLoadNewMap = false Clofofa a dit : Code Lua 1 2 3 eventNewPlayer = function(player) Camila_cabello a dit : For the campfire the lasts forever, yes, but it has to be made with images. For the "click and transform", yeah it's also possible, but too heavy: get xml grounds, take size and angle in consideration, take the Z index in consideration. It's just meh to make, better to make it using textareas! |
| « Censeur » 1546263780000
| 0 | ||
| I can't figure out how to use tfm.exec.removeObject. Could someone give me a script that instantly removes a shaman object as soon as a shaman is done summoning it (eventSummoningEnd) unless it's a cannonball (object id 17)? And, now that I'm asking, could someone also do a command that deletes all shaman objects in the room (like #utility's !clear command)? |
| « Consul » 1546268940000
| 0 | ||
Hypermousem a dit : I found code for clear: Code Lua 1 2 3 4 5 6 7 8 9 function clear() Call the function to clear. |
| « Citoyen » 1548287820000
| 0 | ||
| This project is quite a handful but I don't think it's been done before. I'd like a shimeji for transformice tribe houses. Basically a little pet that climbs on the edges of the screen and does whatever it wants unless you command it to do something else (sort of by using sprites?). I can make the frames of the character itself but can't figure out how to give it a walk and climb cycle. If that seems complicated just do code for something that walks in any way and I'll work with it. Thanks! |
| « Sénateur » 1548288180000
| 0 | ||
| ^ Hey. The problem is that you can't use images. The API won't let you unless you're part of the Module Team :/ Could you draw a little sketch of the pet movement? Does it move randomly around the map or just in the edges? etc If you draw it, and if you give me the sprites, I can help you ^_^ |
| « Citoyen » 1548288600000
| 0 | ||
Bolodefchoco a dit : Yeah actually I was thinking I'd use transformice objects to draw it but if you could help that'd be awesome and yeah it moves randomly here's an example of some sprites from a super basic shimeji (I did not make this one) https://imgur.com/a/U9DxEVM this one has walking, falling, climbing, and multiplying animations |
| « Sénateur » 1548290760000
| 0 | ||
| Haha, he is cute! Should it detect the ground or act like pacman? :P |
| « Citoyen » 1548291660000
| 0 | ||
Bolodefchoco a dit : detect the ground |
| « Sénateur » 1548291720000
| 0 | ||
| Oof. That would be a pain to make. I believe the best you could reach without runtime issues is something like the !pet command in #shamousey rooms. Do you know them? |
| « Citoyen » 1548296820000
| 1 | ||
Bolodefchoco a dit : Yeah I'll see if I can tweak anything Thanks for the help! |
| « Citoyen » 1549685880000
| 0 | ||
| if t==60 then i dont get how that code works. I've tried to test it but it doesnt work like it was supposed to be in my head |