Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Stupid newbie questions about 2D  (Read 1557 times)
0 Members and 1 Guest are viewing this topic.
Offline PlaneGuy

Senior Newbie

Java games rock!

« Posted 2004-02-06 18:45:10 »

Hey all, two Q's:

1) I follow the "BufferStrategy" link in the wiki and it leads to the Fullscreen tutorial. Do I have to use fullscreen mode to use BufferStrategy, or am I able to use it for windowed apps?

2) What's the best way to draw pixels from an array/calculated in code to the screen/buffer in real-time? I don't have to do this every frame, but I have to do it sometimes.
Offline Jeff

JGO Coder

Got any cats?

« Reply #1 - Posted 2004-02-06 19:42:41 »

Not only can Buffer Stragtegy be used by Windowed apps, there is virtually no code difference.

I suspect you found Mike's article.  Read it.  Its abotua lot more then Fullscreen, the title is misleading.

Then for an example of an App that runs in either Windowed or FullScreen using BufferStrategy look at the Scroller demo.

For 2 it realyl depends on how often you are doign this.  If you use whatwe  sued to call "Automatic Images" and are now called "Managed Images" and draw into that its likley to do the right thing for you.  (Somewher around is my "Understanding AWt\T Image Types" article that explains how to get one of these.  Try googling for it)

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Pages: [1]
  ignore  |  Print  

ivj94 (580 views)
2018-03-24 14:47:39

ivj94 (44 views)
2018-03-24 14:46:31

ivj94 (371 views)
2018-03-24 14:43:53

Solater (60 views)
2018-03-17 05:04:08

nelsongames (105 views)
2018-03-05 17:56:34

Gornova (147 views)
2018-03-02 22:15:33

buddyBro (690 views)
2018-02-28 16:59:18

buddyBro (90 views)
2018-02-28 16:45:17

xxMrPHDxx (492 views)
2017-12-31 17:17:51

xxMrPHDxx (728 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!