Lap counter tutorial algodoo
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- Here's the code: e.other.materialName = "lap" ? (e.other._lapcount = e.other._lapcount + 1) : ();
e.other.vel = (10, 2) (yeah the e.other.vel is so it does't count the lap twice because sometimes it does that
Music:
Leopard print elevator by Kevin MacLeod
4 questions.
1 - Is it possible to make 1 block effect the code for up to 20 different marbles/carts (im running something in a discord server where they send me pngs and I make them into marble)?
2 - I see that you have the code for instant velocity activating alongside the lap counting code, seperated by a semicolon. Would that be how the first question would be done?
3 - Any chance you could post your lap counter code for the pieces other than on the kart?
4 - Do all names (im calling the place where you typed "_lapcount" on the circle a name) require the underscore in front.
1. You can have as many different marbles as you want, as long as it's a different name
2. To have different marbles, you have to redo the same thing for all of them, you can also copy and paste the marbles and change some details
3. Probably, but I'm not advanced enough to know the code for that
4. Yes to create variabls they all have to start by an underscore
@@gougou737 Thank you.
3 - Ah, it seems i was unclear. I was thinking something like screenshots of the code for each coded block. Like for the block that adds laps to the lap counter, since the only code I see or can understand from the description is what gets placed on the kart/marble.
Since like you said, it just needs some slight changes for each marble
how do you make a kart that works with a custom color like tan?
nvm i figured it out
this is too easy
I can't unterstand 😕🤔