Article View: borland.public.jbuilder.java.language
Article #18918Re: Beginner Help Please - Sprite Class
From: John Catherino (remove xspamx to...
Date: Mon, 06 Apr 1998 00:00
Date: Mon, 06 Apr 1998 00:00
17 lines
940 bytes
940 bytes
Jeremy, This is how I implement my sprites. First, from the paint function, I draw the background scene, or update it, as the case may be. Next my sprite class takes the Graphics object of the paint function, and renders itself on top of the completed drawing. I find this produces both fast, and visually appealing results. I hope this helps. Good Luck, John
Technical Details
Message-ID:
<6gbkv5$ldn3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<891636987.26719.0.nnrp-07.c2de8b04@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b53b4f7aa5c527a0 X-Google-Attributes: gidf74b3,public From: "John Catherino (remove xspamx to reply)" <xspamx.johnc@rust.net> Subject: Re: Beginner Help Please - Sprite Class Date: 1998/04/06 Message-ID: <6gbkv5$ldn3@forums.borland.com> X-Deja-AN: 341495455 References: <891636987.26719.0.nnrp-07.c2de8b04@news.demon.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language