Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java Help

Name: Anonymous 2012-09-19 20:40

New to programming in general.
I learned how to use the turtle class to draw.

However, how do you make two turtles?

Name: Anonymous 2012-09-19 20:48

You install gentoo. Get clang/llvm, compile sdl libsdl.org, and then start reading the documentation on how draw.

or check and use GraphicsMagick

Name: Anonymous 2012-09-19 21:02

>>1
LOGO and BASIC are better for drawing. Java is something you would use if you were making a turtle graphics browser applet or cross-platform application.

Name: Anonymous 2012-09-19 21:03

>>2
epic post le /g/edditor

see you at r/technology XD

Name: Anonymous 2012-09-19 21:06

OP here, not surprised none of that halps.

I need to learn this for my class.

Name: Anonymous 2012-09-19 21:12

You obviously didnt learn how to use the ``turtle class'' to draw if you don't know how to make as many of them as you want.

Name: Anonymous 2012-09-19 21:24

Obviously not, so fucking TELL ME!

Name: Anonymous 2012-09-19 21:29

What I do is:

World w= new World();
Turtle t1 = new Turtle(w);

but when I do:

World w= new World();
Turtle t1 = new Turtle(w);
Turtle t2 = new Turtle(w);

it doesn't work.

I am EXTREMELY new at this so HALP faggots.

inb4 OP is a faggot

Name: Anonymous 2012-09-19 21:30

dubs

Name: Anonymous 2012-09-19 21:50

>>1
my apologies, I konfuzed you with the other kid:
http://www.imagemagick.org/script/api.php#java

Name: Anonymous 2012-09-19 23:08

>>8
How do you know it doesn't work? From the way you're calling them it sounds like it did work but the problem is you have the two turtles DISPLAYING ON TOP OF ONE ANOTHER WHICH TO YOUR AMATEUR EYE MAKES IT LOOK LIKE THERE'S JUST ONE OF THEM.

Don't change these.
Name: Email:
Entire Thread Thread List