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

#251 2012-07-15 13:34:02

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

Thanks, I'll read over and update it when I can. As for the centring, I tried uncommenting but it still displays to the left for me)

Offline

 

#252 2012-07-15 14:15:19

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

Wow, the dragging and dropping is a mess -- I really can't handle it. If someone could do that... (coughsparkscough)  smile

I'll update privacyPolicy.php and then leave the site to you completely,I'm done for today!

Offline

 

#253 2012-07-15 14:16:39

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Scratch API 2.0

You forgot to get rid of the "margin-left:2px" underneath, that's why  smile

What are we doing with skins now? The skins idea was originally part of the image-controlling plan to make sure images were safe when used.

Last edited by sparks (2012-07-15 14:17:52)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#254 2012-07-15 14:26:17

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

sparks wrote:

You forgot to get rid of the "margin-left:2px" underneath, that's why  smile

What are we doing with skins now? The skins idea was originally part of the image-controlling plan to make sure images were safe when used.

Ah, let me fix that before I quit editing then.
Skins are now simply template I believe. Does it seem like too much work for a simple feature?

Also, I insist you check out the edit page and see how it can be fixed  tongue

Offline

 

#255 2012-07-15 14:29:58

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

I am officially not editing any part of the site anymore. Have fun!

Offline

 

#256 2012-07-15 14:50:57

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Scratch API 2.0

I am gobsmacked that you did that much on it today! It looks brilliant!

How do you mean "fixed" on the edit page?


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#257 2012-07-15 16:09:38

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

sparks wrote:

I am gobsmacked that you did that much on it today! It looks brilliant!

How do you mean "fixed" on the edit page?

I mean literally redo... the /edit page is terrible right now!

Last edited by LS97 (2012-07-15 16:14:25)

Offline

 

#258 2012-07-15 21:55:04

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Scratch API 2.0

LS97 wrote:

technoboy10 wrote:

LS97 wrote:

A question of style -- should we make our own buttons in CSS?

IMO, yes. You might try Scratch 2.0 blue as a background color if you do.

Done. Do you like them?

I was more thinking of the buttons on ifttt.com when I posted that, but yours are cool too. If it were me, however, I'd match the color in the center of the gradient to your header, as well as get rid of the box-shadow on the bottom of the button. But that's just my opinion, no pressure.  smile


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#259 2012-07-16 00:21:52

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch API 2.0

Wow, looks awesome! (I have internet @ vacation!)

Love the new updates! Good job!


Hai.

Offline

 

#260 2012-07-16 04:28:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

technoboy10 wrote:

LS97 wrote:

technoboy10 wrote:


IMO, yes. You might try Scratch 2.0 blue as a background color if you do.

Done. Do you like them?

I was more thinking of the buttons on ifttt.com when I posted that, but yours are cool too. If it were me, however, I'd match the color in the center of the gradient to your header, as well as get rid of the box-shadow on the bottom of the button. But that's just my opinion, no pressure.  smile

Oh, lol....
There's no gradient on the buttons, and the whole thing does already match the header.
Are you sure you're viewing the same buttons as these in your browser?

I personally quite like the box shadow. I'll experiment with different border radii to match the style of the site you linked me to, but I give no guarantees as to my liking it  tongue

Offline

 

#261 2012-07-16 05:24:26

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

Have a look at /testedit for a failed HTML5 version of the GUI.

I'm completely lost and don't know where to start. This dragging and elements thing is rocket science  tongue

Offline

 

#262 2012-07-16 07:29:02

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Scratch API 2.0

hmm  I had a feeling that draggable elements was going to cause trouble...

We could always default back to the original idea where we have a textbox for the x and y coordinates of each element...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#263 2012-07-16 07:48:06

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

sparks wrote:

hmm  I had a feeling that draggable elements was going to cause trouble...

We could always default back to the original idea where we have a textbox for the x and y coordinates of each element...

True, but if draggable elements have been done before, why not have them ourselves too?

I will continue to think of ways to make them work with the tools we have right now.
I suggest that we don't use HTML5 canvases, what do you think?

Offline

 

#264 2012-07-16 08:54:58

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Scratch API 2.0

awesome job so far!


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#265 2012-07-16 10:55:21

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Scratch API 2.0

LS97 wrote:

technoboy10 wrote:

LS97 wrote:

Done. Do you like them?

I was more thinking of the buttons on ifttt.com when I posted that, but yours are cool too. If it were me, however, I'd match the color in the center of the gradient to your header, as well as get rid of the box-shadow on the bottom of the button. But that's just my opinion, no pressure.  smile

Oh, lol....
There's no gradient on the buttons, and the whole thing does already match the header.
Are you sure you're viewing the same buttons as these in your browser?

I personally quite like the box shadow. I'll experiment with different border radii to match the style of the site you linked me to, but I give no guarantees as to my liking it  tongue

Hmm... It appears that the buttons look different on your browser. I'm using Chrome for iOS, and I see round buttons with a gradient that is a completely different color than the header, with a ton of box-shadow.   tongue

BTW, I can't drag and drop anything on my iOS device ATM.

Last edited by technoboy10 (2012-07-16 11:44:09)


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#266 2012-07-16 11:02:02

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

technoboy10 wrote:

LS97 wrote:

technoboy10 wrote:


I was more thinking of the buttons on ifttt.com when I posted that, but yours are cool too. If it were me, however, I'd match the color in the center of the gradient to your header, as well as get rid of the box-shadow on the bottom of the button. But that's just my opinion, no pressure.  smile

Oh, lol....
There's no gradient on the buttons, and the whole thing does already match the header.
Are you sure you're viewing the same buttons as these in your browser?

I personally quite like the box shadow. I'll experiment with different border radii to match the style of the site you linked me to, but I give no guarantees as to my liking it  tongue

Hmm... It appears that the buttons look different on your browser. I'm using Chrome for iOS, and I see round buttons with a gradient that is a completely different color than the header, with a ton of box-shadow.   tongue

That's probably iOS Chrome putting custom buttons in. Try it on a desktop browser.

Offline

 

#267 2012-07-17 00:20:32

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch API 2.0

Are we using Jquery in conjunction with HTML5? It would help a whole lot for draggable elements.


Hai.

Offline

 

#268 2012-07-17 05:55:14

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

fg123 wrote:

Are we using Jquery in conjunction with HTML5? It would help a whole lot for draggable elements.

Well, if you know how to do it, I cannot wait to see it actually work!
I have no experience whatsoever with jQuery so I would kind of have to help halfway there.

Offline

 

#269 2012-07-17 06:04:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

technoboy10 wrote:

BTW, I can't drag and drop anything on my iOS device ATM.

Nobody can. It's not actually functional.

Offline

 

#270 2012-07-17 08:07:08

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Scratch API 2.0

LS97 wrote:

technoboy10 wrote:

BTW, I can't drag and drop anything on my iOS device ATM.

Nobody can. It's not actually functional.

Oh, OK.  tongue


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#271 2012-07-18 10:56:16

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch API 2.0

LS97 wrote:

fg123 wrote:

Are we using Jquery in conjunction with HTML5? It would help a whole lot for draggable elements.

Well, if you know how to do it, I cannot wait to see it actually work!
I have no experience whatsoever with jQuery so I would kind of have to help halfway there.

I'll give it a shot when I get back to a fully functional workspace.  tongue

I believe Quexar (my old [scratch] company) made a VB program similar to this, for a GUI editor of a graphics library... Maybe it's time to assemble the team again  lol

But seriously, I'll try to figure it out.  smile  In the mean time, perhaps work out the skins interface.


Hai.

Offline

 

#272 2012-07-19 05:26:56

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

fg123 wrote:

LS97 wrote:

fg123 wrote:

Are we using Jquery in conjunction with HTML5? It would help a whole lot for draggable elements.

Well, if you know how to do it, I cannot wait to see it actually work!
I have no experience whatsoever with jQuery so I would kind of have to help halfway there.

I'll give it a shot when I get back to a fully functional workspace.  tongue

I believe Quexar (my old [scratch] company) made a VB program similar to this, for a GUI editor of a graphics library... Maybe it's time to assemble the team again  lol

But seriously, I'll try to figure it out.  smile  In the mean time, perhaps work out the skins interface.

Ah, VB is a lot easier. At least it's standard and consistent across all Windows platforms!!
I've made draggable wonders in VB before; for example, my shell Firedust (you probably heard of it, I think you posted on its thread too) has awesome draggable windows as well as integrated drag&drop. It actually even has a block-based IDE  tongue

The problems that Javascript is giving me in this sector are due to
a) the fact that not all browsers treat my code in the same way; and
b) that javascript structure doesn't really follow programming standards- getting to declare an object type using a single function (with embedded functions in it, too!) is just mindblowing for me!

So if jQuery makes it easy for you, I can't wait till you do get back to your workspace  smile  Meanwhile I'll go check if my cake has baked.

Offline

 

#273 2012-07-19 07:09:01

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Scratch API 2.0

... What kind of cake?

And yeah, browser compatibility is the web developer's nightmare :S

I've never looked into Jquery before so lets talk PHP.

I'm assuming we're using the Jquery GUI to layout the design, then pass the information via the database across to a PHP script to draw the image?


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#274 2012-07-19 13:12:10

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch API 2.0

sparks wrote:

... What kind of cake?

And yeah, browser compatibility is the web developer's nightmare :S

I've never looked into Jquery before so lets talk PHP.

I'm assuming we're using the Jquery GUI to layout the design, then pass the information via the database across to a PHP script to draw the image?

Precisely.

The cake's a classic italian 'crostata', excellent if you ask me.  big_smile

I was already looking into starting the renderer but realised we didn't really have a complete list of possible items. Would you like to prepare the database for the code while I go on my holiday reprise for these two weeks?

Additionally, this is a very small thing, but I noticed not everyone decided to link their Scratch account. Of course this was expected, but this same person decided to link it on Mod Share, which makes me think maybe we should have the "I want to link this account with Scratch!" checkbox automatically checked on register. A sort of opt-out instead of opt-in!

Offline

 

#275 2012-07-19 23:38:58

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch API 2.0

LS97 wrote:

fg123 wrote:

LS97 wrote:


Well, if you know how to do it, I cannot wait to see it actually work!
I have no experience whatsoever with jQuery so I would kind of have to help halfway there.

I'll give it a shot when I get back to a fully functional workspace.  tongue

I believe Quexar (my old [scratch] company) made a VB program similar to this, for a GUI editor of a graphics library... Maybe it's time to assemble the team again  lol

But seriously, I'll try to figure it out.  smile  In the mean time, perhaps work out the skins interface.

Ah, VB is a lot easier. At least it's standard and consistent across all Windows platforms!!
I've made draggable wonders in VB before; for example, my shell Firedust (you probably heard of it, I think you posted on its thread too) has awesome draggable windows as well as integrated drag&drop. It actually even has a block-based IDE  tongue

The problems that Javascript is giving me in this sector are due to
a) the fact that not all browsers treat my code in the same way; and
b) that javascript structure doesn't really follow programming standards- getting to declare an object type using a single function (with embedded functions in it, too!) is just mindblowing for me!

So if jQuery makes it easy for you, I can't wait till you do get back to your workspace  smile  Meanwhile I'll go check if my cake has baked.

I think we should just drop support for IE, and focus on Firefox and Chrome. We can have a message that says for us to recommend Chrome. Yea, Javascript is a little different, but hey, you haven't really got into Python yet.  tongue  It uses tabs to define lines of code instead of semicolons.  lol

sparks wrote:

... What kind of cake?

And yeah, browser compatibility is the web developer's nightmare :S

I've never looked into Jquery before so lets talk PHP.

I'm assuming we're using the Jquery GUI to layout the design, then pass the information via the database across to a PHP script to draw the image?

Yup. And what's the talk about cake.  tongue


LS97 wrote:

Precisely.

The cake's a classic italian 'crostata', excellent if you ask me.  big_smile

I was already looking into starting the renderer but realised we didn't really have a complete list of possible items. Would you like to prepare the database for the code while I go on my holiday reprise for these two weeks?

Additionally, this is a very small thing, but I noticed not everyone decided to link their Scratch account. Of course this was expected, but this same person decided to link it on Mod Share, which makes me think maybe we should have the "I want to link this account with Scratch!" checkbox automatically checked on register. A sort of opt-out instead of opt-in!

Alright. Sounds good.  tongue

We need to write a documentation of a sort for users and for us to keep track of stuff.


Hai.

Offline

 

Board footer