Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  help in tamagtochi  (Read 1591 times)
0 Members and 1 Guest are viewing this topic.
Offline yehey

Junior Newbie





« Posted 2009-04-04 11:25:52 »

I am programming for a simulation of tamagotchi in Java... Does anyone know what to do? pls...
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #1 - Posted 2009-04-04 11:27:17 »

do you mean the entire game?

orthe animation?

be mnore specific.
Offline yehey

Junior Newbie





« Reply #2 - Posted 2009-04-04 13:51:50 »

the game itself...

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #3 - Posted 2009-04-04 14:01:03 »

have you every made a game before.

if not got to cokeandcode.com

if you have, you may want to check out slick (slick.cokeandcode.com).
Slick is built off of LWJGL. Then learn about state based games.

Structure of the game:

  • you will need a menu( for choosing what you want with your tamagatchi)
  • then you will need a main loop (if yuo are using slick, this is covered for you.)
  • You gotta have an init() method. It will initiate all of the sprites and such
  • You must have a render() method. It draws everything
  • And an update() method for all the logic
  • You going to have a method which is called when a key is pressed (jsut google "key listening in java"
  • In the update() method you are going ot have to chekc which event you are in. get It from what was choosen in the menu
  • Then make a switch depending on what you are doing
  • Have whatever is going to happen.

that should be most of it.

hope I could help Smiley
Offline yehey

Junior Newbie





« Reply #4 - Posted 2009-04-04 14:03:36 »

thank you very much!!! appreciate it...
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #5 - Posted 2009-04-04 14:51:44 »

btw, jsu tout of curiouosity, is htis you first game?
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

xFryIx (62 views)
2014-11-13 12:34:49

digdugdiggy (41 views)
2014-11-12 21:11:50

digdugdiggy (36 views)
2014-11-12 21:10:15

digdugdiggy (30 views)
2014-11-12 21:09:33

kovacsa (53 views)
2014-11-07 19:57:14

TehJavaDev (56 views)
2014-11-03 22:04:50

BurntPizza (55 views)
2014-11-03 18:54:52

moogie (70 views)
2014-11-03 06:22:04

CopyableCougar4 (71 views)
2014-11-01 23:36:41

DarkCart (156 views)
2014-11-01 14:51:03
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!