CodeKube by bentog

[raw]
made by bentog for LD28 (COMPO)
CodeKube, the game where you program! Write scripts to the console and watch them come to life!

Instructions are in the game, but anyways:

WASD / Arrow keys to move
Spacebar to go up
Left shift to go down

Click a line of code on the "message board" to copy it to the code box

Run "r" to reset level
Run "t" to popup a helpful documentation page (make sure to enable popups!)

Ratings

Coolness 57% 3
Overall 3.28 282
Audio 2.67 421
Fun 2.69 623
Graphics 2.97 473
Humor 2.30 469
Innovation 4.22 7
Mood 2.72 518
Theme 2.93 469

Feedback

Thein
16. Dec 2013 路 08:31 UTC
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!
馃帳 bentog
16. Dec 2013 路 14:33 UTC
Sorry for the broken link, it should be working now. The secret behind the game is the eval() function. For example:
eval("Debug.Log('Hello World')");
will print "Hello world". I'm glad you enjoyed it!
GravityScore
16. Dec 2013 路 16:51 UTC
Cool concept! Nice twist on the theme!
occash
16. Dec 2013 路 17:32 UTC
I have error(
馃帳 bentog
16. Dec 2013 路 17:37 UTC
occash, can you elaborate on that?
lubos
16. Dec 2013 路 17:40 UTC
This is extremely interesting. Graphics are also very pleasant.
archaeometrician
16. Dec 2013 路 19:32 UTC
Great idea !! Love it very much! I don't know how I did it but the little cube disappear after I wrote : Print("hello!");

Really cool concept !
Rother Games
16. Dec 2013 路 19:33 UTC
I
apwolf
16. Dec 2013 路 19:34 UTC
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!
TijmenTio
16. Dec 2013 路 19:40 UTC
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
reecpj
16. Dec 2013 路 19:49 UTC
Really amazing idea and execution, well done! Maybe less of a game, more a test on how well you can script in Unity!
馃帳 bentog
16. Dec 2013 路 19:51 UTC
@archaeometrician print(); doesn't work in the game, you have to use the function Log(message : String, color : Color);

If you are in the level TimeWarper, the cube goes everywhere. To have an idea of where the cube is, use the following command:

me.transform.position = transform.position + Vector3(0,5,-10);

This will place the camera close to the cube.
JoeProgram
16. Dec 2013 路 20:05 UTC
How are you assigning one component of a position Vector3 without creating a new variable? When I do that in Unity, I get a:

"error CS1612: Cannot modify a value type return value of `UnityEngine.Transform.position'. Consider storing the value in a temporary variable"
馃帳 bentog
16. Dec 2013 路 20:10 UTC
@JoeProgram What? Like,

transform.position.y = 10;

? Never had a problem with that.
archaeometrician
16. Dec 2013 路 20:15 UTC
@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 :)
Thanks again !
馃帳 bentog
16. Dec 2013 路 20:18 UTC
@archaeometrician c:
kookoon
16. Dec 2013 路 22:17 UTC
This may be a nice idea for a step-by-step unity tutorial for starters.
Cool stuff!
gingerBill
16. Dec 2013 路 23:28 UTC
No idea what I was doing but that is why I loved it so much! Never really seen a game like this before!
derdragon
16. Dec 2013 路 23:29 UTC
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.
Udell Games
16. Dec 2013 路 23:30 UTC
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.
abeing
16. Dec 2013 路 23:37 UTC
nice idea and cute graphics. also chilling bgm
chamberlainpi
16. Dec 2013 路 23:42 UTC
Interesting idea, but all I could do was the tutorial, was there more to it?
DavidErosa
17. Dec 2013 路 12:40 UTC
I like the idea and graphics. Would be a nice tutorial-thingy.
馃帳 bentog
17. Dec 2013 路 13:12 UTC
@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.
evilDan
17. Dec 2013 路 15:16 UTC
Woah - neat. Not too much to do if you don't script with Unity though. Pretty darn impressive implementation, though.
deathray
18. Dec 2013 路 06:26 UTC
Nicely innovative and an excellent idea ...but I wish it taught me more unity scripting by doing.
GaTechGrad
25. Dec 2013 路 07:32 UTC
Really neat concept. I just wish there were some objectives to the game.
Manuel Magalh茫es
26. Dec 2013 路 17:34 UTC
I like the concept. I also like how it uses a scripting language that exists outside of the game. (Unityscript)
BradleySmith
04. Jan 2014 路 18:14 UTC
Interesting take on the theme. :)