PPT-Module - I - Chapter 1 - Introduction To Game Programming
PPT-Module - I - Chapter 1 - Introduction To Game Programming
CSE
Course : Introduction to Game Programming
Module : I
Chapter : 1
Note:
❖The latest versions of Java offer an efficient full-screen mode by suspending the normal
windowing environment.
❖Typically, a large part of the graphics rendering of a game is handled by hardware or software
outside of Java.
❖For example, Java 3D passes its rendering tasks down to OpenGL or DirectX, which may emulate
hardware capabilities such as bump mapping.
❖Often the performance bottleneck in network games is the network and not the Java language.
Department of CSE, GIT - ECS442 - Game Programming
Java Has Memory Leaks
❑C/C++ programmers refer to memory leaks in Java:
➢Its very difficult to understand how Java works
➢Java doesn’t offer pointer arithmetic
➢Typical C-style memory leaks, such as out-of-bounds array accesses, are caught by the
Java compiler
❑Another Memory Complaint is Garbage Collector:
✓Java garbage collector is executing at poorly timed intervals,
✓Causes the application to halt for seconds as the collector sweeps and cleans.
❑JVM comes with different garbage collectors:
✓collect in various ways and can be selected and fine-tuned from the command-line.
✓Information on the performance of the chosen collector can be gathered and
analyzed.
➢Java gaming, the Phantom will come with a complete JRE. It was demoed during
Electronic Entertainment Exposition (E3) in 2004, show running Law and Order: Dead on
the Money (which uses Java 3D).
➢Die-hard programmers may point out that it’s possible to get Java running on a PS2 with
the support of open source tool Kaffe, non-Sun JVM, on top of PlayStation Linux.
➢ RenderWare and Gamebyro have the track record of best selling games and can port
games across the consoles such as PS2, Xbox, GameCube and PCs.
Department of CSE, GIT - ECS442 - Game Programming
No One Uses Java to Write Real Games
✓Puzzle Pirates by Three Rings (http://www.puzzlepirates.com/)
✓Chrome by Techland (http://www.chromethegame.com/en/show.php)
✓Law and Order II by Legacy Interactive. (http://www.lawandordergame.com/index2.htm)
✓Kingdom of Wars by Abandoned Castle Studios (http://www.abandonedcastle.com/)
✓Alien Flux by Puppy Games (http://www.puppygames.net/info.php?game=Alien_Flux)
✓War! Age of Imperialism by Eagle Games(http://www.eaglegames.net/products/WAR_AOI/wai.shtml)
✓Runescape by Jagex (http://www.runescape.com)
✓Star Wars Galaxies by LucasArts (http://www.lucasarts.com/products/galaxies/)
✓IL-2 Sturmovik by Ubi-Soft (http://www.il2sturmovik.com/)
✓Pernica by Starfire Research (http://www.starfireresearch.com/pernica/pernica.html)
✓Cosm by Navtools, Inc. (http://www.cosm-game.com/)
✓C&C Attack Copter by Electronic Arts (http://www.eagames.com/free/home.jsp)
✓Roboforge by Liquid Edge Games (http://www.roboforge.com)
✓Galactic Village by Galactic Village Games (http://www.galactic-village.com
✓Wurm Online by Mojang Specifications (http://www.wurmonline.com/)
✓Jellyvision (http://www.jellyvision.com/)
✓Vampire the Masquerade: Redemption (2000) by Nihilistic software (http://www.nihilistic.com/)
✓Tom Clancy’s Politika (1997) by Red Storm Entertainment (http://www.redstorm.com/)
Note: The main source for java games link: http://www.java.com/en/games/
Department of CSE, GIT - ECS442 - Game Programming
Freeware/Shareware Games
➢The recent version of java speed has improved and APIs crucial to gaming—such as
graphics and audio—are of a high quality. Numerous websites uses Java Games:
➢Java Games Factory (JGF) (http://grexengine.com/sections/externalgames/)
➢ArcadePod.com (http://www.arcadepod.com/java/)
➢Java 4 Fun (http://www.java4fun.com/java.html)
➢jars.com (http://www.jars.com)
➢Java Shareware (http://www.javashareware.com/)
➢Java Games Central (http://www.mnsi.net/~rkerr/)
❑Some freeware/shareware games are:
➢Super Elvis; also known as Hallucinogenesis
➢http://www.puppygames.net/downloads/hallucinogenesis/hallucinogenesis.jnlp)
➢FlyingGuns (http://www.flyingguns.com/)
➢Cosmic Trip (http://www.mycgiserver.com/~movegaga/cosmictrip.html)
➢Squareheads (http://home.halden.net/tombr/squareheads/squareheads.html)
➢Escape (http://javaisdoomed.sourceforge.net/)
➢CazaPool3D (http://membres.lycos.fr/franckcalzada/Billard3D/Pool.html)
➢SourceForge (http://sourceforge.net/search/)
➢FreshMeat.com (http://freshmeat.net/)
➢Code Beach (http://www.codebeach.com)
➢Programmers Heaven (http://www.programmersheaven.com/zone13/)
➢The “Your Games Here” Java Games Forum (http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=Announcements)