I created a function that makes trees, and I call the function in mousePressed such that when the mouse is pressed it shows a tree, but I would like to make it so that when I press the mouse the tree stays on the sketch rather than dissapearing when the mouse is released( I tried adding it to mouseRelease but then it goes away when the mouse is pressed) ultimatley I just want the user to be able to click to build trees, Does anyone have any ideas or suggestions?
I designed a class that draws a man but when i call it in my program the arms and legs are huge, and grow to the end of the screen but when I call it independently it works?
Does anybody have any idea why this is happening?
class that I am using is below (commented out was stuff I tried but did not work)
We have to do 50 lines of stars directly under one another like on the flag, so i did three loops and for some reason the stars are coming out diagonal? help?