Daffy22 wrote:
johnnydean1 wrote:
Ok lets do the normal scratch blocks +
open url %s
get url %s
read line %n from %s (from web page)
write %s to file %s (writes as a cookie)
read file %s (from cookie)
%n ^ %n
and if we do mesh
join mesh %s
leave mesh %s
host mesh
(ip adress)
That way we should be about 50% conpatible with most mods
Offline
johnnydean1 wrote:
read line %n from %s (from cookie)
write %s to file %s (from cookie)
read file %s (from cookie)
read line %n from URL %s (from URL)
read URL %s (from URL)
That's the only way it is going to work.
Offline
Okay. Here is my rant:
Canvas is a feature in HTML 5. Most browsers will be able to play it. The new internet explorer 9 can play HTML 5. Wii Internet is Opera Based, so should be able to play it soon enough. DS as well. iPhone, iPods, iPads can all play it. We do not need jQuery, it is almost useless in a canvas. For those of you who don't know, a canvas is a box embedded in your html document which is controlled completely by JavaScript. (Reminds me of a flash embed or a java applet.) We also do not need a separate canvas for each sprite.
JD1, what are you talking about using HTML 4 for this? There is no canvas in HTML 4. You aren't proposing we have each sprite as an image and using JavaScript to control it's style attribute? That is a pain staking and nonprofessional way to do this.
UPDATE: Use PHP to create images? Hmm.
Pros: Faster to draw an image from a file to a canvas.
Cons: We have to save them to a server.
Last edited by midnightleopard (2010-11-30 17:30:16)
Offline
midnightleopard wrote:
UPDATE: Use PHP to create images? Hmm.
Pros: Faster to draw an image from a file to a canvas.
Cons: We have to save them to a server.
JavaScript can match PHP images with data URLs and no, we do not need to save the images to a server.
Offline
Hows progress everyone??
Offline
I don't have a job! Please assign!
Offline
you know, we're going to run into a brick wall soon. JS can't run functions in parallel. No idea how to fix this.
Offline
did no one hear me?
this cannot be achieved without canvas! HTML 4 is not a valid option!
Offline
Fine use the HTML 5 for canvas and nothing else!!
Also can any1 explain how This works (does it use canvas)
Offline
sorry. I can't help I don't understand the output. JD1, wethe mystical journey thing doesn't use canvas I don't think. I think that might actually be <img> tags who's positions are controlled by javascript. (That is possible but hard.)
Offline
Thats what I thought. Can we do that in the viewer.
Offline
Perhaps we could stick to the original idea and use a seperate canvas?
Because you just reset all our work otherwise.
Offline
Ok lets make it using a canvas.
For now...
Offline
okay, forget I said anything. But if we do canvas then I think we've made the coolest canvas project on the web so far.
Offline
johnnydean1 wrote:
Thats what I thought. Can we do that in the viewer.
I agree. That is how all of my blocks work.
Offline
hm okay. Let's go. What should I do? Are we doing multiple canvas for sprites, moving image tags, or what?
Offline
paulpsicle wrote:
you know, we're going to run into a brick wall soon. JS can't run functions in parallel. No idea how to fix this.
I have a way round that.
Offline
TheSuccessor wrote:
paulpsicle wrote:
you know, we're going to run into a brick wall soon. JS can't run functions in parallel. No idea how to fix this.
I have a way round that.
Scratch doesn't run things in parallel.
Offline
MathWizz wrote:
TheSuccessor wrote:
paulpsicle wrote:
you know, we're going to run into a brick wall soon. JS can't run functions in parallel. No idea how to fix this.
I have a way round that.
Scratch doesn't run things in parallel.
No, but, with multiple Sprites, it maintains an illusion of parallel.
Offline
It runs one block from each script at before it moves onto the next block.
If you have 3 scripts:
Script Block
1 1
2 1
3 1
1 2
2 2
3 2
etc
Offline
Poll
What way should be display the sprites/stage?
Moving image tags
Canvas
Multiple Canvas'
Offline