|
Programming
GP Mailing List
Thread Index
Date Index
ATXGPSIG List
Thread Index
Date Index
Home
TheGrumpyProgrammer
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gameprogrammer] A newbie Java Question - GUI/Animation etc...
- To: gameprogrammer@freelists.org
- Subject: [gameprogrammer] A newbie Java Question - GUI/Animation etc...
- From: "richard sabbarton" <richard.sabbarton@gmail.com>
- Date: Mon, 4 Feb 2008 15:56:44 +0000
- Delivered-to: list1@pendleton.com
- Delivered-to: gameprogrammer@freelists.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=sqSRx8GQdYcIspbjWvYaK7g7A1iAIOxe1/rDkKm1dSc=; b=wd9nFmgxxb67jGXF+Nd41vQ3fP8B3VPABmqV643hhIgzZu4pobSP/pME15eykMvpcLK1R5vkMR1o9LcfHQZujrgT14YQrK6qo/ONfGAlvg/sAWnRDB8D9qAq1oUGuDsma3eurI9tgEsbPzUS/A5HWUQnHtmqK1oZCpZmTXTsCHU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R7/u3Lv6qbFqBxKUR25lakak90sYBI48i7FsbXW6FClVvFot39goo7zW3o4ZWAur+yzB2k8gTN7I9c8V4KSQlNb3UlHy4G1Hj3Ob0XxUAI/N+k2D+hJ2ITSgOCLxDUHmioxW/7T2E5RK0JNlqlSZjqQ7Ms4wXYtjwhz5bcIJqGU=
- List-archive: <http://www.freelists.org/archives/gameprogrammer>
- List-help: <mailto:ecartis@freelists.org?Subject=help>
- List-id: gameprogrammer <gameprogrammer.freelists.org>
- List-owner: <mailto:bob@pendleton.com>
- List-post: <mailto:gameprogrammer@freelists.org>
- List-software: Ecartis version 1.0.0
- List-subscribe: <gameprogrammer-request@freelists.org?Subject=subscribe>
- List-unsubscribe: <gameprogrammer-request@freelists.org?Subject=unsubscribe>
- Reply-to: gameprogrammer@freelists.org
- Sender: gameprogrammer-bounce@freelists.org
Hi Guys,
In C++ on windows I would use animation by creating a compatible
device context in memory with CreateCompatibleDC(). I would write my
game and all of its elements to the MemoryDC and then use something
like BitBlt() to push it to my main DC.
I have recently started learning Java and I want to perform a similar
function. I want to write all of the elements to memory and then
transfer it to the screen every x milliseconds. This is to eliminate
flicker etc.
I have been looking online through tutorials etc. and I can't seem to
find a description of how to do this. Do I need to use java.awt or
should I use javax.swing.
Any thoughts on how to do this or suggestions on greating a game
display in Java?
Initially this is for display in an Applet in a web page.
Regards
Richard
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
|
|