How much knowledge from java applies to processing? I'd like to make a little animation/Gif with a simple gray rectangle(road) and 2 dots going left and right(cars). I want to make an object/a class to make the car thing easier and less redundant to code, how do you do that? Ive made a new "tab" for my car class now but i dont know how to continue
#Java/Processing
22 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @lofty robin! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
As far as I know, the language itself should be the same
but there is a different API etc.
there are different available classes/methods
there are different things you can use in Processing
but the language itself is the same I think
Is this already the correct Format or did the app just give me a weird template
the format itself is correct but writing code on mobile phones is a pretty bad idea to be honest
Lack of Alternatives
And boredom when im outside
Will this work if i dont define x/y within the code of the class? Theyre defined in the main code under the test.pde tab
Apparently not-
you need to declare any variables before using them
Of course but you dont need to define them in the same tab
Its working now
?/10 :D
the variables need to be available
They are now