Jump to content




Why setPaletteColor was a GREAT Idea


17 replies to this topic

#1 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 08 June 2017 - 03:07 PM

Posted Image


Edited by KingofGamesYami, 08 June 2017 - 05:40 PM.


#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 08 June 2017 - 11:48 PM

Palette alterations can be used for all sorts of neat effects. Want to render an ocean, for example? No need to make the waves move, just change the palette indexes to get the same effect.

For eg, the pulsing green radar in UFO is all done by palette manipulation.

#3 Xella

  • Members
  • 145 posts
  • LocationOn Earth

Posted 27 August 2017 - 04:56 PM

How can I achieve such great power over colors? I can't find any API for it...

#4 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 27 August 2017 - 05:09 PM

You'll have to be using the latest beta (1.80) where term.setPaletteColor exists.

#5 Xella

  • Members
  • 145 posts
  • LocationOn Earth

Posted 27 August 2017 - 05:13 PM

Ah. Too bad I have the latest 1.8.9 version in my modpack and the same for the CCEmuRedux emulator :/
Thought maybe I could add a shading/shadow system to my 3D rendering API I'm working on.

Any idea when the new version is released?

#6 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 27 August 2017 - 05:55 PM

View PostXelostar, on 27 August 2017 - 05:13 PM, said:

Any idea when the new version is released?
You can download the latest version from the unofficial build server. We haven't heard anything from Dan on his plans for release if there ever will be one.

On the emulator side, CCEmuX has support for it. You can download the latest builds here.

#7 Xella

  • Members
  • 145 posts
  • LocationOn Earth

Posted 28 August 2017 - 06:35 AM

View PostSquidDev, on 27 August 2017 - 05:55 PM, said:

View PostXelostar, on 27 August 2017 - 05:13 PM, said:

Any idea when the new version is released?
You can download the latest version from the unofficial build server. We haven't heard anything from Dan on his plans for release if there ever will be one.

On the emulator side, CCEmuX has support for it. You can download the latest builds here.

Okay, thanks for the information. I was already aware you can download CC 1.80.
However I didn't know CCEmuX. I'm using CCEmuRedux since it's working great.
I'd like anyone to be able to use the software like intended in the current version, so I guess I'll have to wait.

If we would all just donate $1. Would he hurry up a bit more? Would that be enough motivation? :P

#8 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 30 August 2017 - 06:00 PM

WAIT! Is this in CC? Or is this one of these suggestions or user made stuff? :blink:

#9 Wilma456

  • Members
  • 187 posts
  • LocationGermany

Posted 30 August 2017 - 06:03 PM

Yes, this is in CC. You can change the RGB of alll Colors in the latest beta.

#10 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 30 August 2017 - 07:00 PM

And there is no entry in the computercraft wiki!? Oh, i know the wiki hasn't been updated for years now... But, thats awesome! Where can i find a documentation?

Edited by Jummit, 30 August 2017 - 07:03 PM.


#11 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 30 August 2017 - 08:14 PM

The help file is the closest thing to documentation that I know of. Personally, I just read the implementation details from the pull request conversation.

#12 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 31 August 2017 - 01:51 PM

Only one question: for what stands the first number for in term.setPaletteColor()?

#13 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 31 August 2017 - 02:34 PM

The color you want to replace the value of. For example, colors.white or colors.black could be replaced.

#14 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 31 August 2017 - 04:49 PM

View PostJummit, on 30 August 2017 - 07:00 PM, said:

And there is no entry in the computercraft wiki!? Oh, i know the wiki hasn't been updated for years now...

The is up to date for the latest official release (or atleast should be, sometimes the community misses things). What Yami used for this post was an unofficial release which the wiki intentionally doesn't track.

Edited by Lupus590, 31 August 2017 - 04:49 PM.


#15 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 01 September 2017 - 07:07 AM

View PostLupus590, on 31 August 2017 - 04:49 PM, said:

View PostJummit, on 30 August 2017 - 07:00 PM, said:

And there is no entry in the computercraft wiki!? Oh, i know the wiki hasn't been updated for years now...

The is up to date for the latest official release (or atleast should be, sometimes the community misses things). What Yami used for this post was an unofficial release which the wiki intentionally doesn't track.
So computercraft still gets updates and new functions? Thats cool. I thought after the open source release thing cc would only be updated by users.

Edited by Jummit, 01 September 2017 - 10:58 AM.


#16 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 01 September 2017 - 10:00 AM

View PostJummit, on 01 September 2017 - 07:07 AM, said:

So computercraft still gets updates and new functions? Thats cool. I thought after the open source release thing cc would only be updated by users.

There is yet to be an official release since the change to open source. So it may not happen, but, from what i understand, the plan is to have more official releases eventually.

#17 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 01 September 2017 - 10:57 AM

Only Dan may accept changes into the main repository, and it's anyone's guess as to when / if he'll release a new "stable". My understanding of the new license is that other users could create and distribute their own versions, however, the main wiki is unlikely to document their workings.

#18 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 04 September 2017 - 11:50 AM

View PostBomb Bloke, on 01 September 2017 - 10:57 AM, said:

Only Dan may accept changes into the main repository . . .
So CC is on Github? And I could make a pull request? Thats cool.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users