I placed another article on my site describing some does and don'ts when
doing dhtml-game coding.

I would disagree on the 37 layers for a game. My game-coding experience
started on the C64, where you could have maybe around 16sprites on screen
at once..and that was enough for solid action games.. (usually less)

Just learn to be a more creative coder, something that sadly got missing
after the 80's.  (just a remark in general ;)

transparent gif's will also be murder for browsers, so use them in smart
ways..
the first tutorial contains a few images, and the 2-way parallax scrolling
moves
smoothly on systems as low as P2 200mhz (haven't tried anything lower, and
not interested in that :)... the images are also done smartly..with only the
front
layer being transparent, the bigger one is a solid gif image which renders
faster
then a transparent one would.

Finally, it hurts me to say this, but the DynAPI2 is bloated, and slow
because of all the methods
and properties and code added (note to other discussion)..if you use
standard DOM code,
you can make layers fly around faster and smoother (might also have
something to do with the
new browsers). I noticed my 3D vector widget runs smoother then it did when
using DynAPI2 code...
so library and browser are two important factors, but also the creativity of
the coder doing the work.

I'm not saying we can make full-blown arcade style games in DHTML, but we
can
do a lot better then the stuff that's out there (some exceptions ofcourse).

...

Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

:-:-----Oorspronkelijk bericht-----
:-:Van: [EMAIL PROTECTED]
:-:[mailto:[EMAIL PROTECTED]]Namens Nick Pelling
:-:Verzonden: maandag 9 juli 2001 18:32
:-:Aan: [EMAIL PROTECTED]
:-:Onderwerp: Re: [Dynapi-Help] DHTML gaming
:-:
:-:
:-:
:-:>I've just released the first part of a DHTML game-writing tutorial, the
:-:>tutorial
:-:>will walk thru the game writing step by step showing example code and
:-:>explaining
:-:>why things are done.
:-:
:-:As a game-writing veteran, I've tried doing some simple animation using
:-:DynAPI: however, the frame-rate seemed limited to about 20Hz - I
:-:couldn't
:-:get it any smoother than that on my mid-range PC. That was
:-:moving a single
:-:small layer on a screen with about 37 layers, which is about
:-:normal range
:-:for simple games.
:-:
:-:Is this determined by the complexity of the overall structure,
:-:or is there
:-:some other limiting factor inherent in the libraries, or in the browsers?
:-:
:-:Cheers, .....Nick Pelling.....
:-:
:-:
:-:_______________________________________________
:-:Dynapi-Help mailing list
:-:[EMAIL PROTECTED]
:-:http://lists.sourceforge.net/lists/listinfo/dynapi-help
:-:


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to