Re: Introduction to ArcLib Updated...

2009-01-21 Thread Daniel Keep


Denis Koroskin wrote:
 On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
 jarrett.billings...@gmail.com wrote:
 
 On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith clayasau...@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


Re: Introduction to ArcLib Updated...

2009-01-21 Thread Denis Koroskin

On Wed, 21 Jan 2009 13:35:34 +0300, Daniel Keep daniel.keep.li...@gmail.com 
wrote:




Denis Koroskin wrote:

On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley
jarrett.billings...@gmail.com wrote:


On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith clayasau...@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


 HTTP/1.1 200 OK
 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.



Re: Introduction to ArcLib Updated...

2009-01-21 Thread Bill Baxter
On Wed, Jan 21, 2009 at 8:30 PM, Lutger lutger.blijdest...@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


Re: Introduction to ArcLib Updated...

2009-01-21 Thread Mike Parker

Bill Baxter wrote:

On Wed, Jan 21, 2009 at 8:30 PM, Lutger lutger.blijdest...@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


No one ever reads the FAQ[1]. Myself included.

[1]http://www.gamedev.net/community/forums/faq.asp#tags


Re: Introduction to ArcLib Updated...

2009-01-20 Thread Clay Smith

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

~ Clay


Re: Introduction to ArcLib Updated...

2009-01-20 Thread Clay Smith

Bill Baxter wrote:

On Wed, Jan 21, 2009 at 11:20 AM, Clay Smith clayasau...@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.

~ Clay


Re: Introduction to ArcLib Updated...

2009-01-20 Thread Denis Koroskin

On Wed, 21 Jan 2009 07:46:04 +0300, Jarrett Billingsley 
jarrett.billings...@gmail.com wrote:

On Tue, Jan 20, 2009 at 10:11 PM, Clay Smith clayasau...@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.