Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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  
  Notch making Prelude of the Chambered - IDE question  (Read 3310 times)
0 Members and 1 Guest are viewing this topic.
Offline Suds

Senior Newbie




Lead Developer, DefeatThePurpose Entertainment


« Posted 2011-11-15 23:33:48 »

From about 15 seconds into the video (link below) Notch starts apparently coding while the game is running - and having it magically reflect his changes. I tried to stop/start the video in a sort of frame by frame manner. I notice just before he starts doing it, a properties window of some sort pops up but I'm too slow to catch it. I can see that he's using Eclipse and I understand that he uses LWJGL for his games, right? The make-up of the game seems to be an applet (I have limited experience with applets).

Does anyone know how he does that? Is the application actually updating to reflect code changes without having to go through the close/build/run sequence?

http://www.youtube.com/watch?v=KcfFJ6pNEZk

Offline Mike

JGO Wizard


Medals: 84
Projects: 1
Exp: 6 years


Java guru wanabee


« Reply #1 - Posted 2011-11-15 23:57:14 »

You're not the first to ask the question Smiley

http://www.java-gaming.org/topics/markus-quot-notch-quot-live-streaming-from-ludum-dare/24657/view.html

Reply 17 onward.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #2 - Posted 2011-11-15 23:57:32 »

You can do that when you are running in debug mode (see that little button next to the run button, the one with the "bug" icon?). Eclipse hot-swaps the new bytecode in while your app is running.

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

Senior Newbie




Lead Developer, DefeatThePurpose Entertainment


« Reply #3 - Posted 2011-11-16 00:09:18 »


Good read. :-)

You can do that when you are running in debug mode (see that little button next to the run button, the one with the "bug" icon?). Eclipse hot-swaps the new bytecode in while your app is running.

Thanks - now I get to spend a while seeing if I can make netbeans do it. ;-)

Offline Cero
« Reply #4 - Posted 2011-11-16 00:26:10 »

if you get used to it's very comfortable
change everything while the game is running and stuff

Offline ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5 - Posted 2011-11-16 01:55:26 »

You can change almost everything......you guessed it...except:
-add/remove/modify global variables
-add/remove/modify methods
-change method signature
-add/remove/rename classes

Basically, you can only change code that is inside methods. It's still really useful when doing graphical stuff and you want to position/color an object the perfect position/shade.

Offline sproingie

JGO Kernel


Medals: 202



« Reply #6 - Posted 2011-11-16 02:34:04 »

Any IDE should be able to do hotswap -- it's a java feature, not an IDE feature.  The built in hotswap is nice, but for real pro work, JRebel is where its at.  Notch I'm sure can afford a JRebel license.
Offline Suds

Senior Newbie




Lead Developer, DefeatThePurpose Entertainment


« Reply #7 - Posted 2011-11-16 02:53:11 »

Any IDE should be able to do hotswap -- it's a java feature, not an IDE feature.  The built in hotswap is nice, but for real pro work, JRebel is where its at.  Notch I'm sure can afford a JRebel license.


O_O I want that.

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.

Pippogeek (36 views)
2014-09-24 16:13:29

Pippogeek (29 views)
2014-09-24 16:12:22

Pippogeek (18 views)
2014-09-24 16:12:06

Grunnt (41 views)
2014-09-23 14:38:19

radar3301 (24 views)
2014-09-21 23:33:17

BurntPizza (60 views)
2014-09-21 02:42:18

BurntPizza (30 views)
2014-09-21 01:30:30

moogie (35 views)
2014-09-21 00:26:15

UprightPath (48 views)
2014-09-20 20:14:06

BurntPizza (52 views)
2014-09-19 03:14:18
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!