In: Computer Science
I would like to create a Memory Game using JCreator. But am unsure where to start. Please help. I would like to start with a basic code so I can add and change designs and colors ect... Any help would be greatly appreciated. I do want to use pics such as .jpg in my code.
JCreator is very popular java IDE . Before go for game development using JCreator , you must have sufficient knowledge of core java and GUI(Graphical User Interface), first you have to go through core java part and then GUI part because core java help you to understand Java Graphical user interface.
1) Core Java
Core Java is very important because it contain syntax and conceptual understanding of conditional statements( how to use + where to use ) , various looping statements , file handling(how to read + how to store + how to process) , how to create our own package( Most require to create game or complex system) , Object Oriented programming( Very important) , Exception handling ( how to handle error during game or runtime ) and Threads ( how to create , its life cycle , how to assign work to it) . Threads are most useful part of game . Ex. If game has counting coin functionality , then one thread continuously doing this task , another threads maintain other functionality of game. This all the things is enough to understand basics of java
2) GUI part
In java , you can make attractive Graphics. To develop very good graphics , you have to go through a concept known as Java Swings. Java Swing is pre defined java package which have all the methods to create GUI app. By using swing you can add component ( require in game ) , you can design it as you wish , you can arrange components in the whole desktop as per your choice. In swing with the help event handler and action listener you can perform necessary operation like if your game has a "show score" button , when user hit the button you can display their score with the help of event handler and action listener. After go through all the mention things above you can easily understand any java game code or develop your own game.
If you want to develop a game for your better understanding then this much concepts are good enough , but if you want to develop distributed high level games , then you also have to visit advance java which contain api integration and database related interface.