Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Java queries  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

King Tetiro

Leader of Phoenix Heart
Java queries
« on: June 23, 2008, 10:46:08 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
As your well aware, Im leaving Gamemaker for C++ and Java. One's for PC games and one is for non-PC

Anyway, my problem is this. For now Im learning Java and I have got the basics basically covered

Anyway, I want to start by making a simple point and click game. But first my problem. Graphics

How do I draw graphics? <-This is the problem

Im using Standard Edition. Please gimme a hand here. Point me towards a tutorial.
Logged
  • Phoenix Heart
Re: Java queries
« Reply #1 on: June 25, 2008, 10:25:54 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
http://java.sun.com/j2se/1.4.2/docs/api/

Important classes: Image, Graphics, Graphics2D, MouseListener

http://java.sun.com/docs/books/tutorial/2d/index.html

I suggest you go through all hyperlinks and read about Graphics.drawImage and more.

I suggest you not do Java and C++ at the same time. Do Java first as it's a lot easier and extremely good for learning object oriented design principles.

I also suggest you do command line applications to fully understand Java before jumping into graphics.

But hell if you've really got the basics as in Classes, Instantiation, Access Modifiers, Lists, Listeners and Buffers/Streams then go for it.
Logged
the a o d c
Re: Java queries
« Reply #2 on: June 25, 2008, 08:28:05 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 266
You may want to invest time in learning Object Oriented concepts while concentrating on one language over the other. Java is more commonly used as a tool to introduce students to OO. By doing this, the API will make a lot more sense.
Logged
Intel P4 3.2 GHZ
2.5GB SDRAM DDR400
350GB SATA
ATI RADEON HD 2600PRO 512MB
Creative Sound Blaster Audigy2 Z
Windows XP SP2

Current Projects: None.
- Trask
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.133 seconds with 40 queries.

anything