Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26082 > unrolled thread

Line object in javascript.

Started byjonas.thornvall@gmail.com
First post2014-11-05 05:18 -0800
Last post2014-11-06 22:13 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Line object in javascript. jonas.thornvall@gmail.com - 2014-11-05 05:18 -0800
    Re: Line object in javascript. "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-11-05 16:49 -0800
      Re: Line object in javascript. jonas.thornvall@gmail.com - 2014-11-06 22:13 -0800

#26082 — Line object in javascript.

Fromjonas.thornvall@gmail.com
Date2014-11-05 05:18 -0800
SubjectLine object in javascript.
Message-ID<32066a92-98c0-4628-81f9-b788618e2d2c@googlegroups.com>
I was thinking making an asteroid game in javacript using simple line graphics. Is there a standard for howto store and encode line objects.

[toc] | [next] | [standalone]


#26086

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2014-11-05 16:49 -0800
Message-ID<6853484c-76b4-49c9-aae9-175fd3981d0f@googlegroups.com>
In reply to#26082
On Wednesday, November 5, 2014 7:18:30 AM UTC-6, jonas.t...@gmail.com wrote:
> I was thinking making an asteroid game in javacript using simple line graphics. Is there a standard for howto store and encode line objects.

It is no different than storing other objects in your scene graph. You need to decide how you wish to do this. If you aren't even sure of that, than I would suggest looking at a few existing examples on the interwebs for inspriration.

<http://www.dhteumeuleu.com/yoshis-island>
<http://www.canvasdemos.com/>

Have you decided on what technology you plan to implement the game? SVG? Canvas? WebGL? Other?

[toc] | [prev] | [next] | [standalone]


#26090

Fromjonas.thornvall@gmail.com
Date2014-11-06 22:13 -0800
Message-ID<f56e26e4-47c0-4e65-a0b5-e77545ed8d9a@googlegroups.com>
In reply to#26086
Den torsdagen den 6:e november 2014 kl. 01:49:36 UTC+1 skrev Michael Haufe (TNO):
> On Wednesday, November 5, 2014 7:18:30 AM UTC-6, jonas.t...@gmail.com wrote:
> > I was thinking making an asteroid game in javacript using simple line graphics. Is there a standard for howto store and encode line objects.
> 
> It is no different than storing other objects in your scene graph. You need to decide how you wish to do this. If you aren't even sure of that, than I would suggest looking at a few existing examples on the interwebs for inspriration.
> 
> <http://www.dhteumeuleu.com/yoshis-island>
> <http://www.canvasdemos.com/>
> 
> Have you decided on what technology you plan to implement the game? SVG? Canvas? WebGL? Other?

I am only familiar with canvas so i start of there, but i probably learn WebGL at some point.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web