Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2012
    Posts
    10
    Rep Power
    0

    Default How to play a game you made and code it at the same time with eclipse

    I'd like to know how to play the game i made with java and code it while i'm playing it. I've seen people do it but I don't know how. And I'm using eclipse

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: How to play a game you made and code it at the same time with eclipse

    Moved from Advanced Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: How to play a game you made and code it at the same time with eclipse

    Are you just looking for the debugger?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Join Date
    Mar 2012
    Posts
    10
    Rep Power
    0

    Default Re: How to play a game you made and code it at the same time with eclipse

    What do you mean?

  5. #5
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: How to play a game you made and code it at the same time with eclipse

    What do YOU mean? Did you google "debugger" to see whether that's what you're talking about?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Join Date
    Mar 2012
    Posts
    10
    Rep Power
    0

    Default Re: How to play a game you made and code it at the same time with eclipse

    Well I looked up "debugger" and it seems to be the right thing to do. But I also found a video example of what I want to do:

    Coding with Notch (from Minecraft: The Story of Mojang) - YouTube

  7. #7
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: How to play a game you made and code it at the same time with eclipse

    I'm at work so I don't want to watch a youtube video. You can either wait until somebody else translates what you're trying to say, or you can describe it in more detail. What exactly do you mean by "play a game and code it at the same time"? If it's not a debugger, I'm not sure what it is.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. #8
    Join Date
    Mar 2012
    Posts
    10
    Rep Power
    0

    Default Re: How to play a game you made and code it at the same time with eclipse

    I mean. . .Ok say I have a window and it has a square drawn on it. Now, I want to add a second square but I want to leave the same window running and code the new square and have it update without me having to run it again.

  9. #9
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: How to play a game you made and code it at the same time with eclipse

    I guess my first question would be, why do you want to do this?

    Then I would tell you to investigate using a debugger.

    If that's not it, then I would recommend really thinking about whether you actually need to do this. I have no idea what Notch was using, but if you're still a beginner, chances are that you shouldn't be aspiring to mimic him. Start with the basics before you try to do the advanced stuff. Start with programming and debugging before you try on-the-fly code modification.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  10. #10
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,310
    Blog Entries
    7
    Rep Power
    20

    Default Re: How to play a game you made and code it at the same time with eclipse

    Maybe jrebel can do what you want; basically it's a classloader that allows for 'hot deployment', i.e. you can reload your code while it's running. jrebel does quite some nifty stuff you wouldn't realize on first thought. Note: I'm not related to those folks whatsoever.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. A game made by me.
    By utsav1995 in forum Reviews / Advertising
    Replies: 0
    Last Post: 05-30-2012, 07:41 PM
  2. Let's Bounce! (game I made for LD warmup weekend)
    By KevinWorkman in forum Reviews / Advertising
    Replies: 0
    Last Post: 04-16-2012, 02:35 PM
  3. Replies: 11
    Last Post: 03-14-2012, 07:30 PM
  4. eclipse and user made library
    By walkswithzombies in forum Eclipse
    Replies: 10
    Last Post: 02-13-2012, 11:03 AM
  5. Replies: 0
    Last Post: 05-14-2011, 08:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •