Re: Coding while running the program

2013-03-24 Thread Antoine Noo
Hello, You can use var as references. example: (def A 1) (def B (var A)) (def A 12) @B give you 12 if A is a function (@B) and (B) execute A's function. 2013/3/24 Oskar Kvist > George Oliver: I actually tried penumbra (the graphics lib he uses in the > tetris video) and was able to code whil

Re: Coding while running the program

2013-03-24 Thread Oskar Kvist
George Oliver: I actually tried penumbra (the graphics lib he uses in the tetris video) and was able to code while running the program. But penumbra is missing some features I would like. *Adrian*: Are you sure? I think Minecraft uses LWJGL, which is just a library of OpenGL bindings plus some

Re: Coding while running the program

2013-03-23 Thread Rob Lachlan
Ring offers functionality for automatic reloading if you happen to be developing a web app. See here: https://github.com/mmcgrana/ring/wiki/Interactive-Development On Saturday, March 23, 2013 7:22:14 AM UTC-7, Oskar Kvist wrote: > > Hi! > > I saw this video http://www.youtube.com/watch?v=BES9

Re: Coding while running the program

2013-03-23 Thread Niels van Klaveren
Doing stuff like you describe was one of Cris Granger's inspirations for making Light Table. See http://www.chris-granger.com/2012/02/26/connecting-to-your-creation/ However, most of this is doable with a REPL, as Mikera already noted. For Clojure/Clojurescript, redefining functions in running c

Re: Coding while running the program

2013-03-23 Thread Yves S. Garret
The only thing that I've seen do what you describe successfully is Erlang (it's called hot-swapping the code and no, it's not easy to implement :) , a worthy project nontheless)... and as Adrian Tillman suggests, it's most likely Notch isn't working on the gaming engine directly, but rather on a su

Re: Coding while running the program

2013-03-23 Thread Adrian Tillman
What you're seeing is a feature of game Engines that have a scripting engine. With this type of architecture you can separate the game content from the game engine itself. This allows you to change the game without recompiling the entire engine unnecessarily. On Mar 23, 2013, at 5:06 PM, Osk

Re: Coding while running the program

2013-03-23 Thread Oskar Kvist
John: I don't really understand why you say it's a waste of time. Speeding up the feedback cycle seems great to me. Thanks to everyone who has contributed to this thread so far! On Saturday, March 23, 2013 7:48:28 PM UTC+1, John Smith wrote: > > Yes, but are you saving time with this? What type

Re: Coding while running the program

2013-03-23 Thread Mikera
I coded a large proportion of my "7 day Roguelike" Alchemy ( https://github.com/mikera/alchemy ) while the game was running. Tools I used were Eclipse, Clojure and the Counterclockwise plugin. No special JVM settings required: Clojure is quite happy to reload and recompile code on demand on any

Re: Coding while running the program

2013-03-23 Thread George Oliver
Also, I forgot to mention this, http://www.lighttable.com/ -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with you

Re: Coding while running the program

2013-03-23 Thread Yves S. Garret
Yes, but are you saving time with this? What types of games do you want to make? RTS? FPS? RPG? What's the platform that you're targeting? No offense, but I've seen a lot of people like this (me including :) ), who want to learn technology X for... wait for it... to make games or something els

Re: Coding while running the program

2013-03-23 Thread Wujek Srujek
I have no idea what the guy uses, neither am I a big fan of Eclipse as a tool for anything, but the one tool I do use on a daily basis is JRebel. It is basically a very smart classloader that observes the filesystem for newly compiled classes / copied resources (that happens on save in Eclipse, for

Re: Coding while running the program

2013-03-23 Thread Oskar Kvist
It's not about looking cool, it's about saving time. Den lördagen den 23:e mars 2013 kl. 16:03:19 UTC+1 skrev John Smith: > > If you want to make a game, then make a game. Don't worry about looking > "cool" about it. You don't need to have some feature to make something > entertaining :) . > > I

Re: Coding while running the program

2013-03-23 Thread Mayank Jain
Nice. Thanks for sharing. On Sat, Mar 23, 2013 at 9:15 PM, George Oliver wrote: > > > On Saturday, March 23, 2013 7:22:14 AM UTC-7, Oskar Kvist wrote: >> >> Hi! >> >> I saw this video >> http://www.youtube.com/**watch?v=BES9EKK4Aw4of >> Notch coding

Re: Coding while running the program

2013-03-23 Thread George Oliver
On Saturday, March 23, 2013 7:22:14 AM UTC-7, Oskar Kvist wrote: > > Hi! > > I saw this video http://www.youtube.com/watch?v=BES9EKK4Aw4 of Notch > coding on Minecraft while the game was running, and of course seeing the > changes in the running program. He used some kind of debug mode in his I

Re: Coding while running the program

2013-03-23 Thread Yves S. Garret
If you want to make a game, then make a game. Don't worry about looking "cool" about it. You don't need to have some feature to make something entertaining :) . I'm making a game with a tool called GameMaker. Not as full-featured or powerful as with a programming language? Sure, but then I wan

Coding while running the program

2013-03-23 Thread Oskar Kvist
Hi! I saw this video http://www.youtube.com/watch?v=BES9EKK4Aw4 of Notch coding on Minecraft while the game was running, and of course seeing the changes in the running program. He used some kind of debug mode in his IDE (I don't really know which IDE). I want to make a game, and I want to to a