Game Distribution
Before distributing the game, make sure this code has been added to the Game
class { distribute = true; }
:
file :: YourGame.java // JFC import java.awt.Graphics2D; // GTGE import com.golden.gamedev.Game; public class YourGame extends Game { { distribute = true; } public void initResources() { } public void update(long elapsedTime) { } public void render(Graphics2D g) { } }
{ distribute = true; }
mark the game that the game is ready to distribute, thus GTGE will remove fps counter, and also catch any unexpected error/bugs from your game (if any) and show it to the player in GUI form and ask them to send it to your email.
And for the usual way to distribute the game is by packing the game in compressed JAR form (similar like ZIP file format), and later can be processed in Webstart, Applet, etc. Use Jar Maker utility to pack your game in JAR, Webstart, or Applet.
End of GTGE Tutorial
GTGE Tutorial has ended, but GTGE still has lots features that you could dig deeper in GTGE API Documentation, such as :
- Bitmap font (font that using images).
- Image manipulation.
- Sprite rendering based on position/z-depth/etc.
- Separate game entities (separate game title, option logic, from the real game logic).
- ETC.
The GTGE API Documentation is easy to understand because in the header of each class and package, there is a brief description of what is the class or the package about and how to use it.
Besides of developing GTGE library as the main engine to create games, we also develop game tools to make your game development even easier and develop some add-ons to extend GTGE functional (like add-ons for playing MP3 and OGG audio format) that you can download freely at game development utilities section in our site.
To make you more understand of how GTGE game is actually created, you could see source code of games we made with GTGE at game section in our site (generally source code of games we made is available for public).
For *any* questions/troubles/features request/bugs report that related with Java, GTGE, or even specific to your game, can be asked in our dedicated forum, we will do our best to answer any questions!
And there are also some articles and tutorials of making game that come from us or other GTGE user in the forum, so be sure to visit it!
Finally, we want this tutorial as simple as possible! easy to understand by novice and expert Java programmer. So if you feel this tutorial is hard or confusing, drop me a line at pauwui@yahoo.com and tell which part that confusing you, or which part that you feel difficult so we can simplify it a bit.
Or if you have other technique to make this tutorial even simpler, don't hesitate to contact us.
And note that English is not our primary language (hope you not recognized this much in this tutorial), if you find wrong vocab, grammar, structure, etc, please be kind by correcting it and send it to us.
Thank you
Till we meet again.......
Thank you for using Golden T Game Engine (GTGE) Frame Work
Happy Coding! :-)
Written by,
Paulus Tuerah
Golden T Game Engine Developer
http://www.goldenstudios.or.id/
Very Important Note
Golden T Game Engine (GTGE) is freeware library!
You can download, distribute, and sell any game produced with GTGE commercially, free of charge! And even if you like to, you could put your game in our site Game Showcase and order us to sell it!
There is only one thing that you must remember to do, you should mention that the game is made using GTGE and provide direct link to GTGE official site (www.goldenstudios.or.id). You could write it inside the game or in the web page where the game directly download / played, or other place that you think more appropriate. In other words credits to us, Golden T Studios, must stay intact!
If you feel GTGE is great and help you a lots, you could also help us to keep working on it and improve GTGE feature and quality in many way, from not cost you any penny to direct donation. Some of what you can do to help us are :
- Spread words about GTGE to your friends, classmate, forum you visit, family :-) etc.
- Actively in our forum.
- Visit our sponsor.
- Buy books or merchandise from our sponsor (amazon affiliate site).
- Directly donate to our account, you could donate as small as $0.01.
- Share your sales a bit for us, whether you success selling game you made by GTGE.
- ETC.