I'll help develop when i can (on iPad now)
Offline
gbear605 wrote:
I'll help develop when i can (on iPad now)
Great!! Could you please start working on the penDown codes and the penUp and clear functions? I'll put you in the box
Offline
Oh, k. What should I do?
Offline
Could you post the html of a page with it working, so I can see that. I'm kinda a noob at javascript
Offline
gbear605 wrote:
Could you post the html of a page with it working, so I can see that. I'm kinda a noob at javascript
![]()
lol
Offline
gbear605 wrote:
Could you post the html of a page with it working, so I can see that. I'm kinda a noob at javascript
![]()
I'm working on it. I have to debug it first to see if there are any errors. I debugged some of it last night on my iPod and there are alot of errors.
Offline
ProgrammingFreak wrote:
Oh, k. What should I do?
Could you please try to see if js can play sounds and make the code and post it here? That would be great!
Offline
GP1 wrote:
ProgrammingFreak wrote:
Oh, k. What should I do?
Could you please try to see if js can play sounds and make the code and post it here? That would be great!
You said that already, didn't you?
Offline
The actual code
function playSound(file){
document.NAME.play(false, file);
}Put this in body.
<embed="YOUR SOUND FILE" autostart="false" hidden="true" name="NAME" MASTERSOUND>
Last edited by ProgrammingFreak (2011-08-16 17:19:24)
Offline
ProgrammingFreak wrote:
The actual code
Code:
function playSound(file){ document.NAME.play(false, file); }Put this in body.
Code:
<embed="YOUR SOUND FILE" autostart="false" hidden="true" name="NAME" MASTERSOUND>
Thanks!! Could you next make the pen catagorie? I haven't done it yet.Or you could make some of the non supported motion functions be supported. One of the two.
Offline
whizzer wrote:
I don't understand. What do I do? I put the code into a blank HTML doc, but when I opened it I just got a blank screen.
me know, me know. There is an error in the code and it wont run. I'm trying to fix it as fast as I can.
Offline
HEY EVERYBODY!!
I know that it is already out, but I'm going to take it down and start over. This will ensure that it works. Thank you for your time.
Offline
GP1, If you mind, I would suggest using the canvas for everything. You're not (I didn't look yet, but I'm pretty sure), and you won't be able to things like graphics effects and pen. I could help you there if you wanted.
Offline
bobbybee wrote:
GP1, If you mind, I would suggest using the canvas for everything. You're not (I didn't look yet, but I'm pretty sure), and you won't be able to things like graphics effects and pen. I could help you there if you wanted.
I'm considering that. Could you give me an example of a picture of a cat moving across a canvas? That would be great!
Offline
It's not that hard. I won't give code but rather instructions:
Create a canvas a get set it's id.
Access the canvas using a var in javascript.
Get the 2d context from it.
Make a timer that goes off every frame.
On the timer draw the background on the canvas.
Draw the cat in x and y stored in variables.
Offline
bobbybee wrote:
It's not that hard. I won't give code but rather instructions:
Create a canvas a get set it's id.
Access the canvas using a var in javascript.
Get the 2d context from it.
Make a timer that goes off every frame.
On the timer draw the background on the canvas.
Draw the cat in x and y stored in variables.
thanks, I'll try that. I was thinking of using canvas because I don't have to use jquery and it will be easier to make the pendown and penup functions. I have to download that one javascript library that makes canvas work for IE6 and IE7.
Offline
I will test! You may want to check this out http://scratch.mit.edu/forums/viewtopic.php?id=72698! I am actually working on a similar thing, except that I am actually making a whole new language, and not just calling functions
Offline
Thats neat, anyway, GP1, tell me if you need any help with getting my useless tutorial to have a use.
Offline
bobbybee wrote:
Thats neat, anyway, GP1, tell me if you need any help with getting my useless tutorial to have a use.
useless? not at all! even if I can't get it to work, I'll have a better idea of how canvas works.
Offline
ohaiderstudios wrote:
I will test! You may want to check this out http://scratch.mit.edu/forums/viewtopic.php?id=72698! I am actually working on a similar thing, except that I am actually making a whole new language, and not just calling functions
![]()
actually, we're working on a framework, but its the same thing, right?
Anyway, I'll put you in the box.
Offline