Unity: the sprite won't die on my cactus. Why? [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
So, I want the game to go to Level 2 when the sprite in the suit collides with the cactus.
Why won't this work? This code is attached to the cacti.
function OnTriggerEnter2D(collider : Collider2D) {
Application.LoadLevel(2);
}

Try OnTriggerEnter2D , and put this function inside the cactus .

Related

How to make our animation not to carry out at the beginning, only after clicking? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I want that animation to make it after clicking the menu button. I tried if and function, but it didn't work out. Click here for code
Like this?
You need to move your menuAnim code into a click listener.
https://codepen.io/nisharg/pen/abvJxKL

How i change text with Tampermonkey? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
https://prnt.sc/r9zh7k
I want change the 0,00 for another value, can anyone helps?
You can try something like
document.querySelector('[data-v-c35c6530]').innerHTML = "new text";
if you link the site, I can verify this will work.

fixing slider on my website [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am trying to add slider to run on my website but it is trowing this error preventing it from running.
this is link of the webstie
http://victoryauctions.net/
can anyone help me
Remove max-height: 164px from .fetrhgt and .clashgt (maybe it should be min-height?

How to remove Chart Copyright? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Look here : https://jsfiddle.net/oscar11/4qdan7k7/5/
How to remove the words JS chart by amCharts?
you'll need to pay for it
Removable amCharts branding
https://www.amcharts.com/online-store/

A Mistake in my Codecademy Codebit, Not Sure What [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I do NOT have code here, as for it is going to take up too much space. It is an error in JavaScript as for it won't run anything in it, aswell as jQuery.
Click here if you wanna live...
Your problem is here I think:
.replace('function mName1()'),('?Method??-Custom?','function')
that comma needs to be a period and I'm guessing replace needs called.
.replace('function mName1()').replace('?Method??-Custom?','function')

Categories