Loading...
Logo
Processing Forum

duplicate field

in Programming Questions  •  2 months ago  
Hello everyone,
I apologize for my English.
I did the download this project http://www.openprocessing.org/sketch/1088
but when I open it with the editor of processing (2 and 1.51) and push the button "run" I have several errors: duplicate field Land_4.land and others.
How can I solve these problems?
thanks

Replies(3)

Re: duplicate field

2 months ago
Both Land_4 and Land_and_Buggy_2 have a setup() method, so I suppose they are actually two different sketches using the same classes, or something like that. Separate the sketches, duplicate the classes and see if it works better.

Re: duplicate field

2 months ago
Thanks for the reply PhiLho,
You could kindly give me an example of what I should change?

Many thanks

Re: duplicate field

2 months ago
Remove the following files from the download:
  • Land_and_Buggy_2.java
  • Land_and_Buggy_2.pde
  • Land2D.pde
  • /code folder