Jump to content




[CC 1.3 / 1.4] Load Screen / Bar API — The first REALTIME load screen — Use your logo as progress! Now you can have multiple progress bars!

api utility

37 replies to this topic

#1 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 11 January 2013 - 03:51 PM

Thread Closed in favour of merging to a single, easier to manage, thread and website
Spoiler

[/spoiler]

Edited by TheOriginalBIT, 23 January 2013 - 07:25 PM.


#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 11 January 2013 - 05:31 PM

Wow....
I really like this! It doesn't use useless sleep methods, and you can set your own messages! I would give you +10 for this, but sadly, you only get one...

#3 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 11 January 2013 - 05:39 PM

 Cranium, on 11 January 2013 - 05:31 PM, said:

Wow....
I really like this! It doesn't use useless sleep methods, and you can set your own messages! I would give you +10 for this, but sadly, you only get one...

yeh I originally had a sleep, but then I was like hey, why render the screen when I don't need to! then I remembered the os.queueEvent and I'm like "PERFECT!" .... haha why thank you :)

#4 Reactive Owl

  • New Members
  • 9 posts

Posted 11 January 2013 - 05:42 PM

I was working on this for my bar as well but...
you have me beat...I might as well stop now before i get too far.
screw it I'll still keep going anyway...

#5 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 11 January 2013 - 05:56 PM

 Reactive Owl, on 11 January 2013 - 05:42 PM, said:

I was working on this for my bar as well but...
you have me beat...I might as well stop now before i get too far.
screw it I'll still keep going anyway...
That's the spirit. Don't give up.

#6 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 11 January 2013 - 06:00 PM

 Reactive Owl, on 11 January 2013 - 05:42 PM, said:

I was working on this for my bar as well but...
you have me beat...I might as well stop now before i get too far.
screw it I'll still keep going anyway...
Good attitude... who knows maybe you will ad a feature that I don't have and make it more awesome...

EDIT: Feel free to read through my code as a learning experience of how I did it :)

Edited by TheOriginalBIT, 11 January 2013 - 06:01 PM.


#7 Heracles421

  • Members
  • 258 posts

Posted 11 January 2013 - 06:05 PM

What about a bar that's like a circle? Well, not a loading bar, since it's not a bar, but like the iPod's loadin circle. I can help if you want

#8 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 11 January 2013 - 06:07 PM

 Heracles421, on 11 January 2013 - 06:05 PM, said:

What about a bar that's like a circle? Well, not a loading bar, since it's not a bar, but like the iPod's loadin circle. I can help if you want

could do that ;) use some deg and rad calculations... could work...
currently I'm adding support for non-advanced computers...

#9 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 11 January 2013 - 07:18 PM

Update
v1.1

Added support for ComputerCraft 1.3
Added new ascii mode! See OP for details.

#10 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 12 January 2013 - 03:15 AM

This is amazing :P Nice

#11 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 January 2013 - 03:17 AM

 remiX, on 12 January 2013 - 03:15 AM, said:

This is amazing :P Nice
Why thank you :)

#12 darkroom

  • Members
  • 70 posts

Posted 12 January 2013 - 03:21 AM

First thing I thought after seeing this was UPVOTE too much time on reddit.... anyway this looks really nice might use this actually :)

#13 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 January 2013 - 03:29 AM

 darkroom, on 12 January 2013 - 03:21 AM, said:

First thing I thought after seeing this was UPVOTE too much time on reddit.... anyway this looks really nice might use this actually :)

haha! Thank you :) Well if you do let me know and I'll put a little "Uses this" section and a link to your program... This stands for EVERYONE, if you have used this and want me to include your program here, just post it :)

#14 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 12 January 2013 - 03:51 AM

Nice API! You did really deserve the +1

#15 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 12 January 2013 - 03:52 AM

 anonimo182, on 12 January 2013 - 03:51 AM, said:

Nice API! You did really deserve the +1
Thank you :)

#16 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 13 January 2013 - 03:47 AM

ASCII Mode ( for Advanced computers only )
Spoiler

You missed out the [code] tag

#17 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 13 January 2013 - 09:55 AM

So this works with tekkit?
Great work anyway because It just looks Awesome.
And could you maybe put a pastebin link too so it's easier to download.

#18 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 January 2013 - 12:23 PM

 ZudoHackz, on 13 January 2013 - 03:47 AM, said:

- snip -
You missed out the [code] tag
Thanx, didn't see that, did that one just before bed ;)

 Hellkid98, on 13 January 2013 - 09:55 AM, said:

So this works with tekkit?
Great work anyway because It just looks Awesome.
And could you maybe put a pastebin link too so it's easier to download.
Yes it should work in Tekkit, definitely will in Tekkit_lite, I haven't actually tested yet, but the logic is sound, just note the known bug... this will cause an error in CC1.3 too... Still trying to fix that one, its an odd one!
Thank you :)
Yeh I've been meaning to do that, keep forgetting... sorry ill put that up now...

Note to all, there will be a new version at some point today that adds a new mode, and allows you to use multiple load bars at once!. :D

#19 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 13 January 2013 - 01:02 PM

 TheOriginalBIT, on 13 January 2013 - 12:23 PM, said:

Note to all, there will be a new version at some point today that adds a new mode, and allows you to use multiple load bars at once!. :D/>

Will there even be space for more than one? O.o

#20 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 January 2013 - 01:06 PM

 remiX, on 13 January 2013 - 01:02 PM, said:

 TheOriginalBIT, on 13 January 2013 - 12:23 PM, said:

Note to all, there will be a new version at some point today that adds a new mode, and allows you to use multiple load bars at once!. :D/>

Will there even be space for more than one? O.o
Well the programmer decides where they are... you could have a screen full of them if you wish, the limit will be 999 of them ;) ... I'm adding a new mode which is a bar only, no logo, no screen clearing...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users