- This topic has 39 replies, 2 voices, and was last updated 8 months, 4 weeks ago by c4cc.
-
AuthorPosts
-
2024-03-07 at 8:26 am #71386c4ccParticipant
For example:
https://www.soft8soft.com/docs/files/puzzles/puzzles-loops-for-each-example.jpg
Is “i” actually required to get the loop running through list, or can you put another name like “target”?
2024-03-07 at 8:37 am #71388kdvParticipantYou can rename “i” as you wish. It’s a local variable that is visible and working only inside a loop.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-07 at 8:42 am #71389c4ccParticipantThanks, btw, can you help me here please? It’s a loop through a clone list, each clone assigned a dict.
2024-03-07 at 8:52 am #71390kdvParticipantCreate a simplified app, attach it here and in this case it will be possible to find out what you want.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-07 at 9:13 am #71392c4ccParticipantThe link i mentioned earlier explained what I needed:
The puzzles in question:
- This reply was modified 9 months, 2 weeks ago by c4cc.
2024-03-07 at 10:58 am #71395kdvParticipantYou didn’t get the point. You puzzles are useless, they cannot be tested without the main part of your app. Just looking at the screenshot there is nothing to say It’s like a couple of words torn from the whole text. Nobody even tries.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-07 at 2:11 pm #71402c4ccParticipantDone, here is a test app as per attachments. Puzzles:
Basically, I want clones as individuals to only disappear and explode when they come into contact with the red object (player). Not all disappear together. How do I do this?
- This reply was modified 9 months, 2 weeks ago by c4cc.
- This reply was modified 9 months, 2 weeks ago by c4cc.
- This reply was modified 9 months, 2 weeks ago by c4cc.
- This reply was modified 9 months, 2 weeks ago by c4cc.
Attachments:
You must be logged in to view attached files.2024-03-08 at 5:55 pm #71423kdvParticipantShould work exactly like here https://v3d.net/trh
Attachments:
You must be logged in to view attached files.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-09 at 7:13 am #71446c4ccParticipantThanks for the reply. Sorry for being late.
Should work exactly like here https://v3d.net/trh
While the individual clones do disappear when touched, their explosions follow around the player. I’d like the explosions to remain in place where the clone is removed.
2024-03-09 at 10:17 am #71447kdvParticipantRemove one puzzle and they won’t follow. It’s initially your puzzles and it’s you who added this following.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-09 at 10:29 am #71448c4ccParticipantFound the problem.
Should work exactly like here https://v3d.net/trh
I’ll try this out and let you know ASAP, thanks
Attachments:
You must be logged in to view attached files.2024-03-09 at 10:33 am #71450kdvParticipantFound the problem.
Just remove the “parent to object” puzzle. Why did you add it? It’s not needed at all in this case.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-03-09 at 3:27 pm #71452c4ccParticipantMy bad. I was so tired, I failed to see that mistake
2024-03-09 at 9:01 pm #71453c4ccParticipantShould work exactly like here https://v3d.net/trh
Attached is the variant of what you posted here. Yet not only could the clones not disappear when individually touched, the clones’ template went missing for some reason. What went wrong?
- This reply was modified 9 months, 1 week ago by c4cc.
Attachments:
You must be logged in to view attached files.2024-03-09 at 11:23 pm #71455kdvParticipantYour logic went wrong. See the last loop with more attention.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.