al-x wrote:
Can I have some credit please? because I don't really want to help if you just take my code
Added credits to bottom of main topic post.
Offline
al-x wrote:
veggieman001 wrote:
Couldn't you use a float on their container div or something of the sort?
I'm not too sure I tried a couple varieties of div but none of them worked
Well, if you did float:left; on both the canvas and the editor, then it'd probably work.
Offline
veggieman001 wrote:
al-x wrote:
veggieman001 wrote:
Couldn't you use a float on their container div or something of the sort?
I'm not too sure I tried a couple varieties of div but none of them worked
Well, if you did float:left; on both the canvas and the editor, then it'd probably work.
If you want to submit code for the DIV float, then feel free. Make sure the code is compatible and not too messy.
(You can view the source code by right-clicking and selecting the option that says 'View Source' and make sure your code is compatible.)
Offline
The "arc shape" measurement isn't multiplied by pi anywhere. It just starts at 15 radians and goes counterclockwise to the value given? I think this:
… cxt.arc(document.data.sprite1x.value, document.data.sprite1y.value, document.data.sprite1s.value, 0, document.data.sprite1a.value * Math.PI, false); …
makes more sense.
Also, "Interpretate" is not a word.
Last edited by nXIII (2012-12-29 16:05:37)
Offline
nXIII wrote:
The "arc shape" measurement isn't multiplied by pi anywhere. It just starts at 15 radians and goes counterclockwise to the value given? I think this:
Code:
… cxt.arc(document.data.sprite1x.value, document.data.sprite1y.value, document.data.sprite1s.value, 0, document.data.sprite1a.value * Math.PI, false); …makes more sense.
Also, "Interpretate" is not a word.
It was multiplied by PI before; I'm not sure what update removed the multiplication. But thanks for finding that out. I think I'll remove the multiplication by PI wording.
By the way: I think you could really help with the coding of Catnip. You could even add the blocks that would make Catnip much more closely related with Scratch.
Offline
rdococ wrote:
veggieman001 wrote:
al-x wrote:
I'm not too sure I tried a couple varieties of div but none of them workedWell, if you did float:left; on both the canvas and the editor, then it'd probably work.
If you want to submit code for the DIV float, then feel free. Make sure the code is compatible and not too messy.
(You can view the source code by right-clicking and selecting the option that says 'View Source' and make sure your code is compatible.)
No thanks, I was just trying to help al-x with his problem.
Offline
Have a second look at Catnip. It's been updating all this time the topic has been computationally rotting. Let's blow the dust off the topic and continue talking about Catnip here.
Offline