GP1 wrote:
If you want to help, go to http://www.w3schools.com/js/js_quiz.asp and tell me your score. I don't want to mess around anymore.
You probably shouldn't use w3schools. It teaches a lot of incorrect information and bad practices.
Offline
nXIII wrote:
GP1 wrote:
If you want to help, go to http://www.w3schools.com/js/js_quiz.asp and tell me your score. I don't want to mess around anymore.
You probably shouldn't use w3schools. It teaches a lot of incorrect information and bad practices.
Maybe..... all they're info is correct to me.......
Offline
Offline
we need to get back on track people.
let's re-begin?
Offline
xt449 wrote:
we need to get back on track people.
let's re-begin?
Yeah. I know exactly what we need to do. Everone who wants to help, learn morphic.js. Its the best way I can think of, plus it already has touch events atached.
Offline
Sounds interesting...
Offline
currently doing a massive logo
link here http://dl.dropbox.com/u/36854625/gebigbanner.png
Offline
updated version http://dl.dropbox.com/u/36854625/gebigbannerrounded.png (added rounded corners)
Offline
comp500 wrote:
well... maybe...
also GP1 can be near head dev
Yay!
Anyway, we will use the blocks.js extension of morphic.js, and I know how to add blocks into it. Jens basicly did all the work for us, I was looking through the source and found that you can save projects! I just want to know how to add morphs and change/add panes. I'm guessing that panes are just high level parent morphs. Ill see what I can do.
@comp500 good logo! I'm going to make a logo for the android start screen. I just recently got an Android tablet, so I can test for that!
Last edited by GP1 (2012-02-01 16:50:58)
Offline
hmm. Anyone realised that the 3DS internet browser reads .deb files? O: I'm currently developing a JRE for the 3DS, so once it's done I can run the java player. I've made all of the icons and that for it.. All I need now is a final script that i'm having a hard time on, to link everything together.
Offline
DigiTechs wrote:
(on 3DS) well, can I have a link to the 3DS testing scratch stuff...
Well, if you mean GE, we don't have a ds version (comp500 was doing it, but he hasn't posted it on the server). Ill try to whip up a version, just wait a bit. I might have it out today. Could you see if you can run this on your 3ds?
Offline
GP1 wrote:
DigiTechs wrote:
(on 3DS) well, can I have a link to the 3DS testing scratch stuff...
Well, if you mean GE, we don't have a ds version (comp500 was doing it, but he hasn't posted it on the server). Ill try to whip up a version, just wait a bit. I might have it out today. Could you see if you can run this on your 3ds?
Thanks, It works! (on PC at the moment, I tested on the 3DS) and also, I finished programming my 3DS JRE (Java Runtime Environment) so I can run the scratch java projects, I realised I had a wrongly-named command. I've given Nintendo a copy of the JRE and they said they might make it an official update
Offline
GP1 wrote:
DigiTechs wrote:
(on 3DS) well, can I have a link to the 3DS testing scratch stuff...
Well, if you mean GE, we don't have a ds version (comp500 was doing it, but he hasn't posted it on the server). Ill try to whip up a version, just wait a bit. I might have it out today. Could you see if you can run this on your 3ds?
wait a sec.. i turnednoff my JRE and it doesn't work, but when I turn it on, it works fine. Hmmm, is it a java-based app? (on the 3DS again
Offline
DigiTechs wrote:
GP1 wrote:
DigiTechs wrote:
(on 3DS) well, can I have a link to the 3DS testing scratch stuff...
Well, if you mean GE, we don't have a ds version (comp500 was doing it, but he hasn't posted it on the server). Ill try to whip up a version, just wait a bit. I might have it out today. Could you see if you can run this on your 3ds?
wait a sec.. i turnednoff my JRE and it doesn't work, but when I turn it on, it works fine. Hmmm, is it a java-based app? (on the 3DS again
Snap doesn't work with your JRE off? It written in javascript, not java. Well, i guess it didn't work.
Offline
GP1 wrote:
DigiTechs wrote:
GP1 wrote:
Well, if you mean GE, we don't have a ds version (comp500 was doing it, but he hasn't posted it on the server). Ill try to whip up a version, just wait a bit. I might have it out today. Could you see if you can run this on your 3ds?wait a sec.. i turnednoff my JRE and it doesn't work, but when I turn it on, it works fine. Hmmm, is it a java-based app? (on the 3DS again
Snap doesn't work with your JRE off? It written in javascript, not java. Well, i guess it didn't work.
When I did it with the JRE off, it came up with "Script Execution cancelled" (Now i'm on a school computer :-) )
Offline
I've decided to come back from my inactive place, and rediscovered my working HTML code.
Offline
I've updated my code snippet, with a bit of CSS to decorate the page.
(outdated code was here)
See the new CSS code! But the second sprite code doesn't work anymore?
I'll update it again.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <h2>Go Everywhere Snippet</h2></head><body> <style type="text/css"> body { background-color:#f1f1f1; } h1 { color:black; text-align:center; } p { font-family:"Arial"; font-size:10px; } </style> <br> <form name="data"> <canvas id="stage" width="120" height="120" style="border: 0px solid rgb(0, 0, 0);">Cannot display project! Please switch to a browser with canvas support. </canvas><br> <script type="text/javascript"> function updateStageInToFin() { var c=document.getElementById("stage"); var cxt=c.getContext("2d"); cxt.fillStyle="#F1F1F1"; cxt.fillRect(0,0,10000,10000); cxt.fillStyle="#FFFFFF"; cxt.fillRect(0,0,120,120); cxt.fillStyle=document.data.sprite1c.value; cxt.beginPath(); cxt.arc(document.data.sprite1x.value,document.data.sprite1y.value,document.data.sprite1s.value,document.data.sprite1s.value,Math.PI*2,true); cxt.closePath(); cxt.fill(); } </script> <p> Sprite1 X:<input name="sprite1x" value="15" type="text"> pixels<br> Sprite1 Y:<input name="sprite1y" value="15" type="text"> pixels<br> Sprite1 size:<input name="sprite1s" value="15" type="text"> pixels<br> Sprite1 colour:<input name="sprite1c" value="#000000" type="hex"> hex/rgb<br> <input name="update" onclick="updateStageInToFin()" value="Redraw Stage..." type="button"> (draw the stage) </form></html></p>
Updated the one just above this text, the sprite can be any colour!
Last edited by rdococ (2012-02-03 13:39:19)
Offline
rdococ wrote:
I've updated my code snippet, with a bit of CSS to decorate the page.
(outdated code was here)
See the new CSS code! But the second sprite code doesn't work anymore?
I'll update it again.Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <h2>Go Everywhere Snippet</h2></head><body> <style type="text/css"> body { background-color:#f1f1f1; } h1 { color:black; text-align:center; } p { font-family:"Arial"; font-size:10px; } </style> <br> <form name="data"> <canvas id="stage" width="120" height="120" style="border: 0px solid rgb(0, 0, 0);">Cannot display project! Please switch to a browser with canvas support. </canvas><br> <script type="text/javascript"> function updateStageInToFin() { var c=document.getElementById("stage"); var cxt=c.getContext("2d"); cxt.fillStyle="#F1F1F1"; cxt.fillRect(0,0,10000,10000); cxt.fillStyle="#FFFFFF"; cxt.fillRect(0,0,120,120); cxt.fillStyle=document.data.sprite1c.value; cxt.beginPath(); cxt.arc(document.data.sprite1x.value,document.data.sprite1y.value,document.data.sprite1s.value,document.data.sprite1s.value,Math.PI*2,true); cxt.closePath(); cxt.fill(); } </script> <p> Sprite1 X:<input name="sprite1x" value="15" type="text"> pixels<br> Sprite1 Y:<input name="sprite1y" value="15" type="text"> pixels<br> Sprite1 size:<input name="sprite1s" value="15" type="text"> pixels<br> Sprite1 colour:<input name="sprite1c" value="#000000" type="hex"> hex/rgb<br> <input name="update" onclick="updateStageInToFin()" value="Redraw Stage..." type="button"> (draw the stage) </form></html></p>Updated the one just above this text, the sprite can be any colour!
This is supposed to be what? And 1) your using html 4 which doesn't support canvas 2) we are using Jens's morphic.js for GE
Offline
GP1 wrote:
rdococ wrote:
I've updated my code snippet, with a bit of CSS to decorate the page.
(outdated code was here)
See the new CSS code! But the second sprite code doesn't work anymore?
I'll update it again.Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <h2>Go Everywhere Snippet</h2></head><body> <style type="text/css"> body { background-color:#f1f1f1; } h1 { color:black; text-align:center; } p { font-family:"Arial"; font-size:10px; } </style> <br> <form name="data"> <canvas id="stage" width="120" height="120" style="border: 0px solid rgb(0, 0, 0);">Cannot display project! Please switch to a browser with canvas support. </canvas><br> <script type="text/javascript"> function updateStageInToFin() { var c=document.getElementById("stage"); var cxt=c.getContext("2d"); cxt.fillStyle="#F1F1F1"; cxt.fillRect(0,0,10000,10000); cxt.fillStyle="#FFFFFF"; cxt.fillRect(0,0,120,120); cxt.fillStyle=document.data.sprite1c.value; cxt.beginPath(); cxt.arc(document.data.sprite1x.value,document.data.sprite1y.value,document.data.sprite1s.value,document.data.sprite1s.value,Math.PI*2,true); cxt.closePath(); cxt.fill(); } </script> <p> Sprite1 X:<input name="sprite1x" value="15" type="text"> pixels<br> Sprite1 Y:<input name="sprite1y" value="15" type="text"> pixels<br> Sprite1 size:<input name="sprite1s" value="15" type="text"> pixels<br> Sprite1 colour:<input name="sprite1c" value="#000000" type="hex"> hex/rgb<br> <input name="update" onclick="updateStageInToFin()" value="Redraw Stage..." type="button"> (draw the stage) </form></html></p>Updated the one just above this text, the sprite can be any colour!
This is supposed to be what? And 1) your using html 4 which doesn't support canvas 2) we are using Jens's morphic.js for GE
0) It's a testing system/my snippet of code for it. It's a snippet: it doesn't need critism. It's just a test.
1) Maybe, but canvas works pretty fine.
2) Okay, but we should have another backup if morphic.js doesn't work for some person for any reason.
Last edited by rdococ (2012-02-03 13:33:17)
Offline