{"author_link":"\/author\/bentog\/","author_name":"bentog","author_uid":"17307","comments":[{"author_name":"Thein","author_uid":"22449","time":"Dec 16, 2013 @ 8:36am","epoch":1387182660,"text":"Awesome idea! I really enjoyed messing around in free mode. I'm really interested in seeing how you did this, but your source link seems to be dead. As a Unity user myself, the levels were pretty straightforward, but I did learn some things (like Time.timeScale). I would have loved to see more challenging levels! Good job!"},{"author_name":"bentog","author_uid":"17307","time":"Dec 16, 2013 @ 2:38pm","epoch":1387204380,"text":"Sorry for the broken link, it should be working now. The secret behind the game is the eval() function. For example: \r<br\/>eval(&quot;Debug.Log('Hello World')&quot;);\r<br\/>will print &quot;Hello world&quot;. I'm glad you enjoyed it!"},{"author_name":"GravityScore","author_uid":"28875","time":"Dec 16, 2013 @ 4:56pm","epoch":1387212660,"text":"Cool concept! Nice twist on the theme!"},{"author_name":"occash","author_uid":"31683","time":"Dec 16, 2013 @ 5:37pm","epoch":1387215120,"text":"I have error("},{"author_name":"bentog","author_uid":"17307","time":"Dec 16, 2013 @ 5:42pm","epoch":1387215420,"text":"occash, can you elaborate on that?"},{"author_name":"lubos","author_uid":"23619","time":"Dec 16, 2013 @ 5:45pm","epoch":1387215600,"text":"This is extremely interesting. Graphics are also very pleasant."},{"author_name":"archaeometrician","author_uid":"27214","time":"Dec 16, 2013 @ 7:37pm","epoch":1387222320,"text":"Great idea !! Love it very much!  I don't know how I did it but the little cube disappear after I wrote : Print(&quot;hello!&quot;);\r<br\/>\r<br\/>Really cool concept !"},{"author_name":"Rother Games","author_uid":"28953","time":"Dec 16, 2013 @ 7:38pm","epoch":1387222380,"text":"I"},{"author_name":"apwolf","author_uid":"31848","time":"Dec 16, 2013 @ 7:39pm","epoch":1387222440,"text":"I liked it but sadly, I had no idea what I was doing. Really good reminder to start using Unity, really need to get into it!"},{"author_name":"TijmenTio","author_uid":"18775","time":"Dec 16, 2013 @ 7:45pm","epoch":1387222800,"text":"This is really interesting. Maybe a new way to learn basic code to kids? idk but this thing here has some true potential y'all. Way to goo"},{"author_name":"reecpj","author_uid":"31762","time":"Dec 16, 2013 @ 7:54pm","epoch":1387223340,"text":"Really amazing idea and execution, well done! Maybe less of a game, more a test on how well you can script in Unity!"},{"author_name":"bentog","author_uid":"17307","time":"Dec 16, 2013 @ 7:56pm","epoch":1387223460,"text":"@archaeometrician print(); doesn't work in the game, you have to use the function Log(message : String, color : Color);\r<br\/>\r<br\/>If you are in the level TimeWarper, the cube goes everywhere. To have an idea of where the cube is, use the following command:\r<br\/>\r<br\/>me.transform.position = transform.position + Vector3(0,5,-10);\r<br\/>\r<br\/>This will place the camera close to the cube."},{"author_name":"JoeProgram","author_uid":"19367","time":"Dec 16, 2013 @ 8:10pm","epoch":1387224300,"text":"How are you assigning one component of a position Vector3 without creating a new variable?  When I do that in Unity, I get a:\r<br\/>\r<br\/>&quot;error CS1612: Cannot modify a value type return value of `UnityEngine.Transform.position'. Consider storing the value in a temporary variable&quot;"},{"author_name":"bentog","author_uid":"17307","time":"Dec 16, 2013 @ 8:15pm","epoch":1387224600,"text":"@JoeProgram What? Like, \r<br\/>\r<br\/>transform.position.y = 10;\r<br\/>\r<br\/>? Never had a problem with that."},{"author_name":"archaeometrician","author_uid":"27214","time":"Dec 16, 2013 @ 8:20pm","epoch":1387224900,"text":"@bentog : Ahh ! I should have used the Log function ! I will give it a new try. Also, thank you very much for your feedback about my game. It' really appreciated ! I will update my game with a new custom mouselook script instead of the default one. Also, thanks for the tips about the 3d text. I was wondering why it was so ugly. This will be fixed in the next update :)\r<br\/>Thanks again !"},{"author_name":"bentog","author_uid":"17307","time":"Dec 16, 2013 @ 8:23pm","epoch":1387225080,"text":"@archaeometrician c:"},{"author_name":"kookoon","author_uid":"30303","time":"Dec 16, 2013 @ 10:22pm","epoch":1387232220,"text":"This may be a nice idea for a step-by-step unity tutorial for starters.\r<br\/>Cool stuff!"},{"author_name":"gingerBill","author_uid":"29029","time":"Dec 16, 2013 @ 11:33pm","epoch":1387236480,"text":"No idea what I was doing but that is why I loved it so much! Never really seen a game like this before!"},{"author_name":"derdragon","author_uid":"299","time":"Dec 16, 2013 @ 11:34pm","epoch":1387236540,"text":"Interesting... though probably more than I'm willing to mess with at the moment. Totally agree with the comments here about using this as something educational though."},{"author_name":"Udell Games","author_uid":"30630","time":"Dec 16, 2013 @ 11:35pm","epoch":1387236600,"text":"This is amazing, but I'd really like to be able to reset without having to clear the text in the box, typing r and hitting Once. A separate button would be good. Also perhaps not using up the semi-colon if there's an error? I hate it when Unity's non-standard function casing results in a level restart."},{"author_name":"abeing","author_uid":"30693","time":"Dec 16, 2013 @ 11:42pm","epoch":1387237020,"text":"nice idea and cute graphics. also chilling bgm"},{"author_name":"chamberlainpi","author_uid":"4398","time":"Dec 16, 2013 @ 11:47pm","epoch":1387237320,"text":"Interesting idea, but all I could do was the tutorial, was there more to it?"},{"author_name":"DavidErosa","author_uid":"5049","time":"Dec 17, 2013 @ 12:45pm","epoch":1387284000,"text":"I like the idea and graphics. Would be a nice tutorial-thingy."},{"author_name":"bentog","author_uid":"17307","time":"Dec 17, 2013 @ 1:17pm","epoch":1387285920,"text":"@Udell Games: I hear you. Resetting should be more dynamic and only necessary if the script works. @chamberlainpi There are seven levels. After winning you must read the message board."},{"author_name":"evilDan","author_uid":"23275","time":"Dec 17, 2013 @ 3:21pm","epoch":1387293360,"text":"Woah - neat.  Not too much to do if you don't script with Unity though. Pretty darn impressive implementation, though."},{"author_name":"deathray","author_uid":"17861","time":"Dec 18, 2013 @ 6:31am","epoch":1387347960,"text":"Nicely innovative and an excellent idea ...but I wish it taught me more unity scripting by doing."},{"author_name":"GaTechGrad","author_uid":"19778","time":"Dec 25, 2013 @ 7:37am","epoch":1387956720,"text":"Really neat concept.  I just wish there were some objectives to the game."},{"author_name":"Manuel Magalh\u00e3es","author_uid":"2490","time":"Dec 26, 2013 @ 5:39pm","epoch":1388079240,"text":"I like the concept. I also like how it uses a scripting language that exists outside of the game. (Unityscript)"},{"author_name":"BradleySmith","author_uid":"14944","time":"Jan 4, 2014 @ 6:19pm","epoch":1388859240,"text":"Interesting take on the theme. :)"}],"images":["ld28\/17307-280d5299f58e4be293590430e2e9f7ba.jpg","ld28\/17307-4b6c6371492d38696b9967ed26e4aac9.jpg","ld28\/17307-44085ca68e7be33d1680acd77e566803.jpg","ld28\/17307-0e2b754bbb7d51a87bf146063d753b7e.jpg","ld28\/17307-c8693a4ca097800528d9af63eabe481d.jpg"],"links":[{"url":"http:\/\/gab.grafen.com.br\/ld\/CodeKube\/","text":"Web (Unity)"},{"url":"http:\/\/gab.grafen.com.br\/ld\/CodeKube\/CodeKube.rar","text":"Source"}],"metadata":{"g_key":"22447","g_author":"17307","g_event":"LD28","g_eventkey":"20","g_subevent":"COMPO","g_urlkey":"22477","g_title":"CodeKube","g_status":"UCHK1","g_place":"282","g_commentcount":"29","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/308734\/17307-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/308734\/17307-shot1.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/308734\/17307-shot2.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/308734\/17307-shot3.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/308734\/17307-shot4.png-eq-900-500.jpg"],"text":"CodeKube, the game where you program! Write scripts to the console and watch them come to life!\r\n\r\nInstructions are in the game, but anyways:\r\n\r\nWASD \/ Arrow keys to move\r\nSpacebar to go up\r\nLeft shift to go down\r\n\r\nClick a line of code on the \"message board\" to copy it to the code box\r\n\r\nRun \"r\" to reset level\r\nRun \"t\" to popup a helpful documentation page (make sure to enable popups!)","title":"CodeKube"}