Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Will there ever be another language of the web?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
43 replies to this topic

#41 fir   Members   -  Reputation: -456

Posted 19 August 2013 - 04:36 AM

 


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 ?


Edited by fir, 19 August 2013 - 04:42 AM.


Sponsor:

#42 Sik_the_hedgehog   Crossbones+   -  Reputation: 1833

Posted 19 August 2013 - 05:32 AM

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.

#43 fir   Members   -  Reputation: -456

Posted 19 August 2013 - 05:44 AM

 

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)



#44 lee101   Members   -  Reputation: 132

Posted 22 August 2013 - 06:38 AM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS