error messages

Discussion and feedback on Construct 2

Post » Thu May 04, 2017 8:14 pm

I keep getting a javascript error and can't figure out what is wrong.
Is there any good tutorials that shows how to find these bugs/problems and how to fix them ?
B
4
Posts: 15
Reputation: 230

Post » Thu May 04, 2017 8:32 pm

Depends what you are doing

You shouldn't have any errors on default plug ins or conditions if you are using them correctly

A common one is not having the sprite you are calling not already in the layout at the start of the layout.
All the sprites and other layout objects have to be in the layout at the start. YOu can then destroy them or re use them but they have to exist at the start.

Other errors can crop up from not using arrays correctly or while loops etc, if you are using 3rd party plug ins then that is a whole different issue.

You can post a pic or details maybe someone can help

but basically if you read through the manual you should be able to use all the default plug ins and conditions without too much fuss.
...
B
44
S
23
G
7
Posts: 286
Reputation: 7,985

Post » Fri May 05, 2017 7:41 am

Please give as much detail as possible - in this case, the error message is critical if you wish us to at least hazard a guess at your problem.

The quickest way to a resolution is always to provide the .capx for us to check.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Fri May 05, 2017 9:03 am

Checking for errors in browsers otherwise will grant you access to the dev console in the browser and allows to get some further informations on what may be happening.
Useful informations to provide as well, often has clues about what is going on.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,287


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests