Computer Science Canada moving and importing pics |
Author: | magicman [ Thu Oct 14, 2004 12:45 pm ] |
Post subject: | moving and importing pics |
i'm probably going to make a game for my final project like galaxy and i was wondering how i would move the space ship and import the pic. please help |
Author: | Dan [ Thu Oct 14, 2004 3:22 pm ] |
Post subject: | |
what APIs are you using? RTP or standered java? |
Author: | magicman [ Thu Oct 14, 2004 3:24 pm ] |
Post subject: | |
i'm using ready to program 1.5.0 if thats what u mean |
Author: | rizzix [ Thu Oct 14, 2004 4:25 pm ] |
Post subject: | |
noo u see. dosent matter.. he's taking about the api.. and ur using RTP. not std java. its a little problematic for ppl on this forum to help you out in RTP.. cuz most of us (at least those u are experienced java programmers) are well versed with Pure Java and have no knowldege whatsoever on the proprietary Holt API (RTP). |
Author: | magicman [ Thu Oct 14, 2004 6:09 pm ] |
Post subject: | |
i still don't know what u mean |
Author: | wtd [ Thu Oct 14, 2004 6:13 pm ] |
Post subject: | |
There is a standard Java API created and maintained by Sun Microsystems. This is the set of classes that form the foundation of Java. It's very large and contais classes for pretty much anything you could ever want to do. Holtsoft created a different set of classes, because they felt doing so made Java easier to teach. The problem is that Java as a language isn't especially noteworthy. The extensive set of standard classes is. Holtsoft misses the point of Java by creating an environment which doesn't teach students how to use those classes. If you're going to push a technology that students are unlikely to use in the "real world", there are better languages than Java to start with. |
Author: | Dan [ Thu Oct 14, 2004 7:10 pm ] | ||
Post subject: | |||
From what i see of my cope of the sorce code it looks like the method in the console class drawImage(Image img, int x, int y, ImageObserver obs) will (i think) draw the give image at x and y. Tho the problem is that i see no methods in any of the RTP classes for loading a image file in to an instance of the class Image defined in awt. So i am not shure how hloth soft thinks there method should be used with out geting in to the awt API. Hostly tho, all RTP is, is a bunch of clases witch basiclk copy awt api by using awt and duming it down and chaging the names of the methods to be more turing like. What i whould do is use awt to load the image and then the RTP crap to display it, to load an Image using awt api you could do somting like this:
note that i do not have java installed right so i could not test that code, hopfully there are no type-os. |
Author: | magicman [ Fri Oct 15, 2004 10:51 am ] |
Post subject: | |
Quote: what APIs are you using? RTP or standered java? can u explain that to me. because i'm sooo confused. |
Author: | Tony [ Fri Oct 15, 2004 11:20 am ] |
Post subject: | |
basically what you need to know is that Ready to Program is not java |
Author: | magicman [ Fri Oct 15, 2004 11:58 am ] |
Post subject: | |
Quote: basically what you need to know is that Ready to Program is not java then what am i using??? |
Author: | Dan [ Fri Oct 15, 2004 2:01 pm ] |
Post subject: | |
An evil by product of holth software that they like to call java. But in realty they just stole sun's (the poleop who realy make java) code and APIs then removed alot of java and then added in there own APIs witch just make it harder to use. |
Author: | wtd [ Fri Oct 15, 2004 2:27 pm ] |
Post subject: | |
magicman wrote: Quote: basically what you need to know is that Ready to Program is not java then what am i using??? You're using the Java syntax and compiler, but not the standard Java libraries. It's like if I used English grammer and sentence structure, but made up gibberish words to use as vocabulary. |