Jump to content




ComputerCraft Wiki blocks + keyboard rendering


  • You cannot reply to this topic
9 replies to this topic

#1 AfterLifeLochie

    Wiki Oracle

  • Moderators
  • 480 posts
  • LocationAfterLifeLochie's "Dungeon", Australia

Posted 28 December 2012 - 08:54 PM

So if you've not seen the Wiki recently (you should be disappointed with yourself. :P), you may have noticed some of the replacement high-ish definition Dimetric-renders of most of the blocks in ComputerCraft - Computer, Advanced Computer, Monitor, Advanced Monitor, Disk Drive & Printer (image links). I also put together a portable image-format keyboard of all keys and their associated key codes in ComputerCraft.

Most of the rendering done above is done in Java - for dimetric rendering - and PHP for keyboard rendering (personal preference). I've thrown the code on Github here if anyone's interested in reading some pretty, err, messy code and learning a little about LWJGL/rendering methods/etc. I would have included the images here, but they'd distort the page pretty nicely.

(Next project: turtle rendering, woo!)

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 29 December 2012 - 06:20 AM

That's some pretty sexy rendering!

#3 KillaVanilla

  • Members
  • 303 posts

Posted 29 December 2012 - 08:31 PM

Oooo, pretty.
I've bookmarked the keyboard code reference, just in case (I can use the keys API, but in case I can't...).

#4 AfterLifeLochie

    Wiki Oracle

  • Moderators
  • 480 posts
  • LocationAfterLifeLochie's "Dungeon", Australia

Posted 29 December 2012 - 08:33 PM

View PostKillaVanilla, on 29 December 2012 - 08:31 PM, said:

Oooo, pretty.
I've bookmarked the keyboard code reference, just in case (I can use the keys API, but in case I can't...).
As it's an image, you can actually download it and print/save it for future (portable) reference - which I personally find ultra-handy. :P

#5 Eric

  • Members
  • 92 posts
  • LocationUK

Posted 17 January 2013 - 12:38 PM

Do we need the image if we have an html form?

#6 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 18 January 2013 - 06:30 AM

View PostEric, on 17 January 2013 - 12:38 PM, said:

Do we need the image if we have an html form?
Actually, that one is out of date. It seems that the numberpad enter key returns '28' instead of '156'. THis is apparently a bug in LWJGL.

#7 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 24 January 2013 - 04:24 AM

aren't some of the keys filtered out in CC though (escape, tab etc)? perhaps you could make a note of that

#8 AfterLifeLochie

    Wiki Oracle

  • Moderators
  • 480 posts
  • LocationAfterLifeLochie's "Dungeon", Australia

Posted 24 January 2013 - 09:58 AM

View PostKaoS, on 24 January 2013 - 04:24 AM, said:

aren't some of the keys filtered out in CC though (escape, tab etc)? perhaps you could make a note of that
Indeed they are - I'll incorporate that into the next update.

#9 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 24 January 2013 - 10:31 AM

View PostAfterLifeLochie, on 24 January 2013 - 09:58 AM, said:

Indeed they are - I'll incorporate that into the next update.

much appreciated

#10 knoxy5467

  • New Members
  • 11 posts

Posted 26 January 2013 - 11:20 AM

these look nice





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users