www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Introduction to ArcLib Updated...

reply Clay Smith <clayasaurus gmail.com> writes:
Learn the premise of ArcLib and how to write 'hello world!'

http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

Stay tuned for the next seven :p

~ Clay
Jan 20 2009
next sibling parent Moritz Warning <moritzwarning web.de> writes:
On Tue, 20 Jan 2009 17:59:12 -0600, Clay Smith wrote:

 Learn the premise of ArcLib and how to write 'hello world!'
 
 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro
 
 Stay tuned for the next seven :p
 
 ~ Clay

looks nice :)
Jan 20 2009
prev sibling next sibling parent reply Clay Smith <clayasaurus gmail.com> writes:
Clay Smith wrote:
 Learn the premise of ArcLib and how to write 'hello world!'
 
 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro
 
 Stay tuned for the next seven :p
 
 ~ Clay

Reddit link: http://www.reddit.com/r/D_programming/comments/7r80c/introduction_to_the_arc_2d_game_development/ ~ Clay
Jan 20 2009
next sibling parent reply Clay Smith <clayasaurus gmail.com> writes:
Clay Smith wrote:
 Clay Smith wrote:
 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

Reddit link: http://www.reddit.com/r/D_programming/comments/7r80c/introduction_to_the_arc_ d_game_development/ ~ Clay

Gamedev link: http://www.gamedev.net/community/forums/topic.asp?topic_id=521681 ~ Clay
Jan 20 2009
parent reply Clay Smith <clayasaurus gmail.com> writes:
Bill Baxter wrote:
 On Wed, Jan 21, 2009 at 11:20 AM, Clay Smith <clayasaurus gmail.com> wrote:
 Clay Smith wrote:
 Clay Smith wrote:
 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

http://www.reddit.com/r/D_programming/comments/7r80c/introduction_to_the_arc_2d_game_development/ ~ Clay

http://www.gamedev.net/community/forums/topic.asp?topic_id=521681

Better add some pretty screenshots somewhere showing what can be done with ArcLib. Otherwise it looks like drawing Hello World on the screen may be all you can do with it. --bb

Thanks for the suggestion. http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png I'll add them to the GN.net site too. ~ Clay
Jan 20 2009
next sibling parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
Denis Koroskin wrote:
 On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
 <jarrett.billingsley gmail.com> wrote:
 
 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com>
 wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png

 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).

I bet you are using firefox, right? I have no problem with it under Opera.

That's because Firefox is following the standard, and Opera isn't. I can't remember if it's defined in the HTTP or HTML specs, but the browser is supposed to always act on the mime type, irrespective of what the URL is. -- daniel
Jan 21 2009
next sibling parent Daniel Keep <daniel.keep.lists gmail.com> writes:
Denis Koroskin wrote:
 On Wed, 21 Jan 2009 13:35:34 +0300, Daniel Keep
 <daniel.keep.lists gmail.com> wrote:
 
 Denis Koroskin wrote:
 On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
 <jarrett.billingsley gmail.com> wrote:

 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com>
 wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg


 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png


 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).

I bet you are using firefox, right? I have no problem with it under Opera.

That's because Firefox is following the standard, and Opera isn't. I can't remember if it's defined in the HTTP or HTML specs, but the browser is supposed to always act on the mime type, irrespective of what the URL is. -- daniel

telnet svn.dsource.org 80
 GET /projects/arclib/downloads/screenshots/screenshot.png HTTP/1.1
 Host: svn.dsource.org


<< Date: Wed, 21 Jan 2009 11:11:37 GMT << Server: Apache << Last-Modified: Wed, 07 Jun 2006 15:28:57 GMT << ETag: "422//downloads/screenshots/screenshot.png" << Accept-Ranges: bytes << Content-Length: 23195 << Content-Type: application/octet-stream Headers are fine, MIME type is "application/octet-stream", which is also ok. RFC 2046 - MIME, Part two: Media Types (http://tools.ietf.org/html/rfc2046) states:
 4.2.  Image Media Type
 ...
 Unrecognized subtypes of "image" should at a minimum be treated as
 "application/octet-stream".
 ...

Browser shouldn't force download in this case, it should try to view the image.

http://tools.ietf.org/html/rfc2046#section-4.5.1 The recommended action for an implementation that receives an "application/octet-stream" entity is to simply offer to put the data in a file, with any Content-Transfer-Encoding undone, or perhaps to use it as input to a user-specified process. Checkmate. :D -- Daniel
Jan 21 2009
prev sibling parent Sergey Gromov <snake.scaly gmail.com> writes:
Wed, 21 Jan 2009 14:21:45 +0300, Denis Koroskin wrote:

 telnet svn.dsource.org 80
 GET /projects/arclib/downloads/screenshots/screenshot.png HTTP/1.1
 Host: svn.dsource.org


<< Date: Wed, 21 Jan 2009 11:11:37 GMT << Server: Apache << Last-Modified: Wed, 07 Jun 2006 15:28:57 GMT << ETag: "422//downloads/screenshots/screenshot.png" << Accept-Ranges: bytes << Content-Length: 23195 << Content-Type: application/octet-stream Headers are fine, MIME type is "application/octet-stream", which is also ok. RFC 2046 - MIME, Part two: Media Types (http://tools.ietf.org/html/rfc2046) states:
 4.2.  Image Media Type
 ...
 Unrecognized subtypes of "image" should at a minimum be treated as
"application/octet-stream".
 ...

Browser shouldn't force download in this case, it should try to view the image.

I'd read this the other way: If you get "image/some-unknown-type" MIME then you have an option to either try and interpret it, or treat it as application/octet-stream and save it. The clause you cited doesn't cover the case where you receive "application/octet-stream" MIME, and of course it doesn't force you into interpreting an arbitrary binary data as an image.
Jan 24 2009
prev sibling next sibling parent reply Lutger <lutger.blijdestijn gmail.com> writes:
Nice to see this! 


Bill Baxter wrote:

...
 Doesn't seem like GameDev.net has a way to make a real url link...  I
 noticed that too when I was posting there last week.
 Surely there must be some way, but they have it hidden quite well.
 
 --bb

plain html will work.
Jan 21 2009
parent Mike Parker <aldacron gmail.com> writes:
Bill Baxter wrote:
 On Wed, Jan 21, 2009 at 8:30 PM, Lutger <lutger.blijdestijn gmail.com> wrote:
 Nice to see this!


 Bill Baxter wrote:

 ...
 Doesn't seem like GameDev.net has a way to make a real url link...  I
 noticed that too when I was posting there last week.
 Surely there must be some way, but they have it hidden quite well.

 --bb


Oohhh. Ok. --bb

No one ever reads the FAQ[1]. Myself included. [1]http://www.gamedev.net/community/forums/faq.asp#tags
Jan 21 2009
prev sibling parent Clay Smith <clayasaurus gmail.com> writes:
Jarrett Billingsley wrote:
 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com> wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg
 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png
 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).

Alright, done. Thanks.
Jan 21 2009
prev sibling next sibling parent Bill Baxter <wbaxter gmail.com> writes:
On Wed, Jan 21, 2009 at 11:20 AM, Clay Smith <clayasaurus gmail.com> wrote:
 Clay Smith wrote:
 Clay Smith wrote:
 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

Reddit link: http://www.reddit.com/r/D_programming/comments/7r80c/introduction_to_the_arc_2d_game_development/ ~ Clay

Gamedev link: http://www.gamedev.net/community/forums/topic.asp?topic_id=521681

Better add some pretty screenshots somewhere showing what can be done with ArcLib. Otherwise it looks like drawing Hello World on the screen may be all you can do with it. --bb
Jan 20 2009
prev sibling next sibling parent Bill Baxter <wbaxter gmail.com> writes:
On Wed, Jan 21, 2009 at 12:11 PM, Clay Smith <clayasaurus gmail.com> wrote:
 Bill Baxter wrote:
 On Wed, Jan 21, 2009 at 11:20 AM, Clay Smith <clayasaurus gmail.com>
 wrote:
 Clay Smith wrote:
 Clay Smith wrote:
 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

Reddit link: http://www.reddit.com/r/D_programming/comments/7r80c/introduction_to_the_arc_2d_game_development/ ~ Clay

Gamedev link: http://www.gamedev.net/community/forums/topic.asp?topic_id=521681

Better add some pretty screenshots somewhere showing what can be done with ArcLib. Otherwise it looks like drawing Hello World on the screen may be all you can do with it. --bb

Thanks for the suggestion. http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png I'll add them to the GN.net site too.

Great. That should help a little I think. Doesn't seem like GameDev.net has a way to make a real url link... I noticed that too when I was posting there last week. Surely there must be some way, but they have it hidden quite well. --bb
Jan 20 2009
prev sibling next sibling parent Jarrett Billingsley <jarrett.billingsley gmail.com> writes:
On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com> wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg
 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png
 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).
Jan 20 2009
prev sibling next sibling parent "Denis Koroskin" <2korden gmail.com> writes:
On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
<jarrett.billingsley gmail.com> wrote:

 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com>  
 wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg
 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png
 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).

I bet you are using firefox, right? I have no problem with it under Opera.
Jan 20 2009
prev sibling next sibling parent "Denis Koroskin" <2korden gmail.com> writes:
On Wed, 21 Jan 2009 13:35:34 +0300, Daniel Keep <daniel.keep.lists gmail.com>
wrote:

 Denis Koroskin wrote:
 On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
 <jarrett.billingsley gmail.com> wrote:

 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith <clayasaurus gmail.com>
 wrote:
 Thanks for the suggestion.

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc01_freeuniverse.jpg

 http://svn.dsource.org/projects/arclib/downloads/screenshots/arc02_dazel.png

 http://svn.dsource.org/projects/arclib/downloads/screenshots/screenshot.png

If you set their SVN mime-type to image/jpeg, they'll show up in the browser (instead of having to download them).

I bet you are using firefox, right? I have no problem with it under Opera.

That's because Firefox is following the standard, and Opera isn't. I can't remember if it's defined in the HTTP or HTML specs, but the browser is supposed to always act on the mime type, irrespective of what the URL is. -- daniel

telnet svn.dsource.org 80
 GET /projects/arclib/downloads/screenshots/screenshot.png HTTP/1.1
 Host: svn.dsource.org


<< Date: Wed, 21 Jan 2009 11:11:37 GMT << Server: Apache << Last-Modified: Wed, 07 Jun 2006 15:28:57 GMT << ETag: "422//downloads/screenshots/screenshot.png" << Accept-Ranges: bytes << Content-Length: 23195 << Content-Type: application/octet-stream Headers are fine, MIME type is "application/octet-stream", which is also ok. RFC 2046 - MIME, Part two: Media Types (http://tools.ietf.org/html/rfc2046) states:
 4.2.  Image Media Type
 ...
 Unrecognized subtypes of "image" should at a minimum be treated as
"application/octet-stream".
 ...

Browser shouldn't force download in this case, it should try to view the image.
Jan 21 2009
prev sibling parent Bill Baxter <wbaxter gmail.com> writes:
On Wed, Jan 21, 2009 at 8:30 PM, Lutger <lutger.blijdestijn gmail.com> wrote:
 Nice to see this!


 Bill Baxter wrote:

 ...
 Doesn't seem like GameDev.net has a way to make a real url link...  I
 noticed that too when I was posting there last week.
 Surely there must be some way, but they have it hidden quite well.

 --bb

plain html will work.

Oohhh. Ok. --bb
Jan 21 2009
prev sibling parent reply "Tim M" <a b.com> writes:
On Wed, 21 Jan 2009 12:59:12 +1300, Clay Smith <clayasaurus gmail.com>  
wrote:

 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

Thanks a lot for this.
Jan 20 2009
parent Clay Smith <clayasaurus gmail.com> writes:
Tim M wrote:
 On Wed, 21 Jan 2009 12:59:12 +1300, Clay Smith <clayasaurus gmail.com> 
 wrote:
 
 Learn the premise of ArcLib and how to write 'hello world!'

 http://dmedia.dprogramming.com/?n=Tutorials.ArcIntro

 Stay tuned for the next seven :p

 ~ Clay

Thanks a lot for this.

No problem.
Jan 21 2009