Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (511)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 2D / Re: Get row and col of mouse click on Isometric map on: 2010-02-09 18:56:47
I just made an isometric diamond like you had, by using 46x24 pixel tiles. The tiles are square images with the little diamond drawn on them, then I display them on the screen using textured quads. I then used the exact code what dishmoth posted to convert the coordinates of a mouse click to tile coordinates and it worked perfectly. (changing the origin to fit mine, of course)

I used LWJGL and set up my screen coordinates so that (0, 0) is the top left corner, however, the Mouse class sees the top left as (0, screenHeight) so I had to alter the y coordinate before I used it. This could be part of the problem you have been having, so make sure your screen coordinates match your mouse coordinates with whatever you are using.

Good luck  Smiley
2  Java Game APIs & Engines / Java 2D / Re: Get row and col of mouse click on Isometric map on: 2010-02-09 03:39:31
You might try the solution this site lists (at the bottom of the page)

http://trac.bookofhook.com/bookofhook/trac.cgi/wiki/OverviewOfIsometricEngineDevelopment

make sure to take note:
Quote
The basic equation is simplistic in that it doesn't take into account any translation (scrolling) or other offsets for toolbars and user interface, but those are easy enough to substitute back in.
3  Games Center / Archived Projects / Re: WIP : GeomWarRemake on: 2010-01-27 04:16:28
Runs great except for the game continuing when I have zero lives and I become invincible.  Grin
4  Discussions / General Discussions / Re: Java Game Development in a High School Classroom? on: 2010-01-22 11:23:25
1. Do you feel that a group of high school students could complete a polished game in 16 weeks, meeting everyday for about 70 minutes? 

Recreating a classic arcade game should be easily doable in this time frame, although I don't think the polish is entirely necessary. Getting the gist of a game is probably the more important thing, if they remake Asteroids with the ship as a square and the asteroids as circles I would consider that a success.

2. The students all want to do 3D games, my principal wants to do 3D, however I feel that producing a "good" game will generally be much harder if we go with 3D. Especially, because we don't teach 3D modeling at my school so I'd have to teach that as well, however most of my students will have had graphic arts and will have Photoshop experience. Do you agree with that sentiment?

I don't think the students will want to do 3D once they see how much work it can be, however, if they think they can tackle it you can always encourage them to do the research for it outside of class. It all comes down to how much effort they want to put in their project. I would recommend that you focus on 2D though as that would be easier to grasp and will allow you to cover aspects specific to programming.

I recommend taking a look at http://fivedots.coe.psu.ac.th/~ad/jg/ for more information on java 2d game programming.

On a side note, my high school offered a java programming course, it was only a trimester and most people did not know any programming but using Greenfoot most were able to create a mostly functional game in about 3 weeks for our final project. I don't really know how much time people worked on it outside of class though.
5  Game Development / Performance Tuning / Re: Engine Test For Optimization Please! on: 2010-01-22 07:21:24
Windows 7 Pro 32bit
Intel Core 2 Duo T8300 @ 2.4Gz
GeForce 8400M GS 128MB

Windowed:
Shader         58.2 fps
No Shader    72 fps

Fullscreen:
Shader         62.1 fps
No Shader    100-105.5 fps
6  Discussions / General Discussions / Re: I have an oppourtunity.... for you, and your Java Games. on: 2010-01-17 02:13:19
I think it would be best if you could at least make the skeleton of the site so people can get a better feel for it and better see that you are definitely committed to making and maintaining this site. In addition, you might want to come up with some rules for games to be submitted, genres, size of files, formats, content (e.g. no nudity, racism, etc...) that sort of thing before too long.

Do have any marketing plan at this point to bring interest to your site?
7  Game Development / Newbie & Debugging Questions / Re: Tower Defense Game Tutorial on: 2010-01-14 02:05:33
I don't know of any specific java TD tutorials but I did stumble across this TD tutorial for flash. It will at least give you some ideas on mechanics of the game. There are several parts to it.

http://www.emanueleferonato.com/2007/10/06/make-a-flash-game-like-flash-element-tower-defense-part-1/

And another site detailing features of TD games broken down by skill.

http://world-editor-tutorials.thehelper.net/towerdef.php

Hope that helps.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (50 views)
2014-10-17 03:59:02

Norakomi (39 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (36 views)
2014-10-15 16:18:58

TehJavaDev (66 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!