SylvainCCSF / CS177_Project_1

Repository for the CS177 Project #1
0 stars 6 forks source link

Inverted Y axis #3

Closed cr1tterp0wer closed 11 years ago

cr1tterp0wer commented 11 years ago

The y-axis seems to be inverted through Slick2D and not through the applet.

SanFranciscoGirl commented 11 years ago

Hello,

can you go over how to do the scoring again.

I think per click, there is a check.  And you said there is some array and it will check @ least 3 are matching.

Sorry, I usually have a paper/pencil handy. ^_^

I'd like to get started.. and I didn't have a recorder on me.. I know you have tons to do, but I'd really appreciate it. ^_^

thanks,

Cristina.


From: cr1tterp0wer notifications@github.com To: SylvainCCSF/CS177_Project_1 CS177_Project_1@noreply.github.com Sent: Thursday, April 18, 2013 11:54 PM Subject: [CS177_Project_1] Inverted Y axis (#3)

The y-axis seems to be inverted through Slick2D and not through the applet. — Reply to this email directly or view it on GitHub.

SylvainCCSF commented 11 years ago

I can confirm that the axis system in an applet works like this: (0,0) is the upper left corner of the frame; increasing abscissa (x) go from left to right and increasing ordinate (y) go from top to bottom. So the difference with a math system is just that the y-axis is reverse and I'm not a specialist but I think it's a Java standard for graphics. According to this thread, the coordinate system for slick2D seems to be also a Java standard : http://slick.javaunlimited.net/viewtopic.php?p=24964 So they both should work the same way!!! May be you can be more precise about the bug that cause this suspicion?

SylvainCCSF commented 11 years ago

To Cristina I think you should not use the issue tracker for your personal question about the project: it's unappropriate because your question is not related to the topic of the thread. Please, use the mailing list instead...

yyeb commented 11 years ago

Visuals help, so here is a simple explanation taken from http://faculty.cs.wwu.edu/martin/Software%20Packages/BreezyGUI/tutorial/FromCS1Book/SimpleGraphics.htm

In Java and many other programming languages, the coordinate system is oriented as shown in Figure 2. Note that the only quadrant shown is the one that defines the coordinates of the computer’s screen, extending down and right from the point (0, 0) in the upper left corner. The other three quadrants exist, but the points in them never appear on the screen.

Figure 2: Java's coordinate system.

-Yolanda

Sent from my iPhone

On Apr 19, 2013, at 11:22 AM, Sylvain notifications@github.com wrote:

I can confirm that the axis system in an applet works like this: (0,0) is the upper left corner of the frame; increasing abscissa (x) go from left to right and increasing ordinate (y) go from top to bottom. So the difference with a math system is just that the y-axis is reverse and I'm not a specialist but I think it's a Java standard for graphics. According to this thread, the coordinate system for slick2D seems to be also a Java standard : http://slick.javaunlimited.net/viewtopic.php?p=24964 So they both should work the same way!!! May be you can be more precise about the bug that cause this suspicion?

— Reply to this email directly or view it on GitHub.

SanFranciscoGirl commented 11 years ago

OK,

Sorry, I didn't know this was issue tracker.. Thanks for letting me know.. So, where can I email you guys?

Thanks,

Cristina


From: Sylvain notifications@github.com To: SylvainCCSF/CS177_Project_1 CS177_Project_1@noreply.github.com Cc: SanFranciscoGirl cristina_er@yahoo.com Sent: Friday, April 19, 2013 11:24 AM Subject: Re: [CS177_Project_1] Inverted Y axis (#3)

\ To Cristina ** I think you should not use the issue tracker for your personal question about the project: it's unappropriate because your question is not related to the topic of the thread. Please, use the mailing list instead... — Reply to this email directly or view it on GitHub.

cr1tterp0wer commented 11 years ago

Yup, that's the problem. Slick (0,0)is bottom left On Apr 19, 2013 11:22 AM, "Sylvain" notifications@github.com wrote:

I can confirm that the axis system in an applet works like this: (0,0) is the upper left corner of the frame; increasing abscissa (x) go from left to right and increasing ordinate (y) go from top to bottom. So the difference with a math system is just that the y-axis is reverse and I'm not a specialist but I think it's a Java standard for graphics. According to this thread, the coordinate system for slick2D seems to be also a Java standard : http://slick.javaunlimited.net/viewtopic.php?p=24964 So they both should work the same way!!! May be you can be more precise about the bug that cause this suspicion?

— Reply to this email directly or view it on GitHubhttps://github.com/SylvainCCSF/CS177_Project_1/issues/3#issuecomment-16671619 .

cr1tterp0wer commented 11 years ago

The linked list is located in the cardhandler class, called indexList, which gets cleared every check On Apr 19, 2013 8:25 AM, "SanFranciscoGirl" notifications@github.com wrote:

Hello,

can you go over how to do the scoring again.

I think per click, there is a check. And you said there is some array and it will check @ least 3 are matching.

Sorry, I usually have a paper/pencil handy. ^_^

I'd like to get started.. and I didn't have a recorder on me.. I know you have tons to do, but I'd really appreciate it. ^_^

thanks,

Cristina.


From: cr1tterp0wer notifications@github.com To: SylvainCCSF/CS177_Project_1 CS177_Project_1@noreply.github.com Sent: Thursday, April 18, 2013 11:54 PM Subject: [CS177_Project_1] Inverted Y axis (#3)

The y-axis seems to be inverted through Slick2D and not through the applet. — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/SylvainCCSF/CS177_Project_1/issues/3#issuecomment-16659731 .

davejdupont commented 11 years ago

lol, it is much harder than it seems it should be.

It took me a while to set up eclipse.  I had to make a new workspace which was not near my git repo, then file>import>general>existing project and import the git repo. Hopefully this is correct?

 Now I have some compile errors in the sound files

catch (UnsupportedAudioFileException  | IOException  | LineUnavailableException e) { e.printStackTrace(); }

I looked it up and remember you guys talking about needing a later version of Java.  What version of java do I need?  Do I need to tell eclipse that I am using a later version?   How do I do that?

thank you!

Dave J. Dupont Check out my animation reel and resume at: http://www.animationspike.com davejdupont@yahoo.com 609-417-9842

cr1tterp0wer commented 11 years ago

Whoa, I recommend taking a bucket of gasoline and pitch and burning eclipse to the ground.

Hover your mouse over the "try and catch()" block then click the error that pops up, use java 1.7

Or just switch to using java 1.7 manually.

Eclipse is garbage, I hate it. On Apr 20, 2013 2:20 PM, "davejdupont" notifications@github.com wrote:

lol, it is much harder than it seems it should be.

It took me a while to set up eclipse. I had to make a new workspace which was not near my git repo, then file>import>general>existing project and import the git repo. Hopefully this is correct?

Now I have some compile errors in the sound files

catch (UnsupportedAudioFileException | IOException | LineUnavailableException e) { e.printStackTrace(); }

I looked it up and remember you guys talking about needing a later version of Java. What version of java do I need? Do I need to tell eclipse that I am using a later version? How do I do that?

thank you!

Dave J. Dupont Check out my animation reel and resume at: http://www.animationspike.com davejdupont@yahoo.com 609-417-9842

— Reply to this email directly or view it on GitHubhttps://github.com/SylvainCCSF/CS177_Project_1/issues/3#issuecomment-16711543 .

cr1tterp0wer commented 11 years ago

Guys, seriously, STOP POSTING NEW ISSUES IN OLD THREADS! Make new threads for new issues, it's not that hard.