This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-11-06 22:14:36

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

MoreGamesNow wrote:

I love the updates to Decaf 0.2.0.  I understand how you didn't make the line-number-thing, but your way works just as well (click the line and it tells you).  The one thing I want to know is this: how did you get it to tell you what line you've selected?!  I've never seen that done before.

It was pretty complicated...I'm busy now, but I'll post the code later!


Fork Clamor on GitHub!

Offline

 

#27 2011-11-06 22:16:52

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

gbear605 wrote:

Could you add my release as part of the full one?

If it's okay that I make some adjustments, yes! Expect it in 0.2.1!


Fork Clamor on GitHub!

Offline

 

#28 2011-11-06 23:54:35

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

MoreGamesNow wrote:

I love the updates to Decaf 0.2.0.  I understand how you didn't make the line-number-thing, but your way works just as well (click the line and it tells you).  The one thing I want to know is this: how did you get it to tell you what line you've selected?!  I've never seen that done before.

Okay, so first you have the textarea:

Code:

<textarea name="decaf" rows="10" cols="50" onfocus="f = true; getLine(this);" onblur="f = false;"></textarea>

Then, for the JavaScript you do:

Code:

function getLine(txtArea) {
    var t1 = txtArea.value.split("");
    var t2 = t1.slice(0, txtArea.selectionStart);
    var t3 = 1;
    var i;
    for (i in t2) {
        if (t2[i] == "\n") {
            t3++;
        }
    }
    document.getElementById("ln").innerHTML = t3;
    if (document.editor.lines) {
        document.editor.lines.value = t3 - 1;
    }
    document.editor.morelines.value = t3 - 1;
    if (f) {
        setTimeout("getLine(document.editor.decaf)", 1);
    }
}

Fork Clamor on GitHub!

Offline

 

#29 2011-11-07 00:15:09

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread


Fork Clamor on GitHub!

Offline

 

#30 2011-11-07 15:48:47

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Decaf Official Release Thread

ohaiderstudios wrote:

gbear605 wrote:

Could you add my release as part of the full one?

If it's okay that I make some adjustments, yes! Expect it in 0.2.1!

Its fine!

Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?

Just an idea.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#31 2011-11-07 18:36:45

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

gbear605 wrote:

ohaiderstudios wrote:

gbear605 wrote:

Could you add my release as part of the full one?

If it's okay that I make some adjustments, yes! Expect it in 0.2.1!

Its fine!

Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?

Just an idea.

Great idea! I'll look into that!


Fork Clamor on GitHub!

Offline

 

#32 2011-11-07 19:00:48

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

gbear605 wrote:

ohaiderstudios wrote:

gbear605 wrote:

Could you add my release as part of the full one?

If it's okay that I make some adjustments, yes! Expect it in 0.2.1!

Its fine!

Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?

Just an idea.

Check it out on the site! http://www.decaf.tk/


Fork Clamor on GitHub!

Offline

 

#33 2011-11-07 19:03:02

Espevoir
Scratcher
Registered: 2011-05-22
Posts: 16

Re: Decaf Official Release Thread

Woah Awesome stuff! Can you please notify me via message-on-project (;>) Whenever you make an update?

Offline

 

#34 2011-11-07 19:10:16

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

Espevoir wrote:

Woah Awesome stuff! Can you please notify me via message-on-project (;>) Whenever you make an update?

Sure!


Fork Clamor on GitHub!

Offline

 

#35 2011-11-07 19:12:55

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!


Fork Clamor on GitHub!

Offline

 

#36 2011-11-08 15:53:04

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Decaf Official Release Thread

ohaiderstudios wrote:

Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!

Modding easy = awesome  big_smile


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#37 2011-11-08 19:12:49

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

gbear605 wrote:

ohaiderstudios wrote:

Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!

Modding easy = awesome  big_smile

smile


Fork Clamor on GitHub!

Offline

 

#38 2011-11-09 00:40:32

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Decaf Official Release Thread

can u make a mobile version?

EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome  tongue

Last edited by nathanprocks (2011-11-09 00:42:55)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#39 2011-11-09 00:48:03

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

nathanprocks wrote:

can u make a mobile version?

EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome  tongue

Excellent find! Once again IE proves that it's worthless... roll


Fork Clamor on GitHub!

Offline

 

#40 2011-11-09 00:53:56

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Decaf Official Release Thread

nathanprocks wrote:

can u make a mobile version?

EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome  tongue

Please specify: How can I make it mobile? isn't html and js cross-platform?


Fork Clamor on GitHub!

Offline

 

#41 2011-11-09 01:04:23

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Decaf Official Release Thread

ohaiderstudios wrote:

nathanprocks wrote:

can u make a mobile version?

EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome  tongue

Please specify: How can I make it mobile? isn't html and js cross-platform?

oh then don't worry about it


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#42 2011-11-09 06:41:39

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Decaf Official Release Thread

ohaiderstudios wrote:

nathanprocks wrote:

can u make a mobile version?

EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome  tongue

Please specify: How can I make it mobile? isn't html and js cross-platform?

It can be used on a mobile.  I think what he means, is making it a certain way that mobile phones like (I don't know how myself)


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

Board footer