Will there ever be another language of the web?

Started by
42 comments, last by lee101 10 years, 7 months ago


Would it be possible to rotate sprite image from under such javascript browser environment (I mean get image.png from local disk or remote server, rotate it right by 5 degree, put the result to the screen at 100,100) ?

2D canvas is probably the most advanced 2D non-GPU rendering API I've ever seen, even moreso than what Allegro pre-5 had. It's freaking overkill, at that. The only real problem is how good are browsers regarding its performance.

TNX for the answers,

Could you say yet to me, what part (of which standard, which technology) this canvas-api is ? Is it part of html is it part of javascript ? Is there something like an official standard/reference to that? (I know that i probably would find it in google, but im slightly overworked and would like to take oportunity for ease of direct answer) tongue.png

Yet to be concluding and claryfying: I understand I just need a web browser (i am using opera the most) and a text editor and my own set of sprites/images (in some directory at my local hard disk drive) and do not need even a internet connection Just to write run and test the javascript game in my browser ?

Advertisement

Could you say yet to me, what part (of which standard, which technology) this canvas-api is ? Is it part of html is it part of javascript ?

Both. Canvas is a HTML element (and can be affected by CSS just like any other element - remember this if you want to resize the canvas), but to draw anything into it you need Javascript.

Is there something like an official standard/reference to that? (I know that i probably would find it in google, but im slightly overworked and would like to take oportunity for ease of direct answer)

http://www.w3.org/TR/2013/CR-2dcontext-20130806/

You're better off looking up a canvas tutorial though, it'll be easier to learn.

Yet to be concluding and claryfying: I understand I just need a web browser (i am using opera the most) and a text editor and my own set of sprites/images (in some directory at my local hard disk drive) and do not need even a internet connection Just to write run and test the javascript game in my browser ?

Yes, as long as you aren't stupid with the filename paths =P (relative paths are the safest, as they work both locally and from a server).

Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.

Yet to be concluding and claryfying: I understand I just need a web browser (i am using opera the most) and a text editor and my own set of sprites/images (in some directory at my local hard disk drive) and do not need even a internet connection Just to write run and test the javascript game in my browser ?

Yes, as long as you aren't stupid with the filename paths =P (relative paths are the safest, as they work both locally and from a server).

alright (quite good)

Javascript is going to be around for a long time.

Its a nice language and easy to use.

Duplicating code in different languages on the client/server is a problem, i like the idea of using Node/Mongo to have a Javascript only Stack.

Eventually it might get replaced by a high level typed language Similar to Dart or Go which offer better help from your IDE and speed but its a long way of.

--Lee

Word Smashing Puzzle Game

This topic is closed to new replies.

Advertisement