473,320 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Fullscreen program/game (example) ?

Is it possible to make a full screen program (game) in C# ? I started
reading "mastering C#" book few days ago and I'm up to page 100 right now.
I looked at the forward chapters and it doesn't seem to write anything
about that.

Here is a little example of what I mean, done in PureBasic :
http://rapidshare.de/files-en/263361/Examples.rar.html

If it is possible, where can I download some simple
C# code examples on that ?
Nov 16 '05 #1
4 3540
Yes it's possible.

You could write a lame but easy to write game using GDI+, or you could write
a commercial quality game using DirectX managed. Display mode switches will
probably be DirectX or Win32.

If you do pure GDI+, you'd have to fake fullscreen by creating a window with
dimensions equal to the screen, set always on top, and start drawing on
that. Framerates will suck bigtime.

Avalon intends to bridge the gap between GDI+ and DirectX.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


"BOOGIEMAN" <BO*********@YAHOO.COM> wrote in message
news:18***************************@40tude.net...
Is it possible to make a full screen program (game) in C# ? I started
reading "mastering C#" book few days ago and I'm up to page 100 right now.
I looked at the forward chapters and it doesn't seem to write anything
about that.

Here is a little example of what I mean, done in PureBasic :
http://rapidshare.de/files-en/263361/Examples.rar.html

If it is possible, where can I download some simple
C# code examples on that ?

Nov 16 '05 #2
On Sat, 1 Jan 2005 03:00:21 -0500, Sahil Malik wrote:
Yes it's possible.

You could write a lame but easy to write game using GDI+, or you could write
a commercial quality game using DirectX managed. Display mode switches will
probably be DirectX or Win32.

If you do pure GDI+, you'd have to fake fullscreen by creating a window with
dimensions equal to the screen, set always on top, and start drawing on
that. Framerates will suck bigtime.

Avalon intends to bridge the gap between GDI+ and DirectX.


No, I don't want to fake fullscreen, I want real one.
Where can I find some example on that ?
Also, what is Avalon and what is it's homepage ?
Nov 16 '05 #3
On Sat, 1 Jan 2005 13:44:59 +0100, BOOGIEMAN <BO*********@YAHOO.COM>
wrote:
On Sat, 1 Jan 2005 03:00:21 -0500, Sahil Malik wrote:
Yes it's possible.

You could write a lame but easy to write game using GDI+, or you could write
a commercial quality game using DirectX managed. Display mode switches will
probably be DirectX or Win32.

If you do pure GDI+, you'd have to fake fullscreen by creating a window with
dimensions equal to the screen, set always on top, and start drawing on
that. Framerates will suck bigtime.

Avalon intends to bridge the gap between GDI+ and DirectX.


No, I don't want to fake fullscreen, I want real one.
Where can I find some example on that ?
Also, what is Avalon and what is it's homepage ?


Get the DirectX 9.0 SDK from microsoft, there are plenty of examples
with that.

Also check out the web site
http://www.drunkenhyena.com
loads of tutorials. Some in C#

Another aproach would be to use OpenGL, but I know very little about
that.

Kevin R.
Nov 16 '05 #4
Avalon is what was going to be released with longhorn, but will now be
available for XP also.
There is a preview sdk download available for MSDN subscribers only, and by
no means it is ready for a production app.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

"BOOGIEMAN" <BO*********@YAHOO.COM> wrote in message
news:35*****************************@40tude.net...
On Sat, 1 Jan 2005 03:00:21 -0500, Sahil Malik wrote:
Yes it's possible.

You could write a lame but easy to write game using GDI+, or you could
write
a commercial quality game using DirectX managed. Display mode switches
will
probably be DirectX or Win32.

If you do pure GDI+, you'd have to fake fullscreen by creating a window
with
dimensions equal to the screen, set always on top, and start drawing on
that. Framerates will suck bigtime.

Avalon intends to bridge the gap between GDI+ and DirectX.


No, I don't want to fake fullscreen, I want real one.
Where can I find some example on that ?
Also, what is Avalon and what is it's homepage ?

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Paul Munly | last post by:
Hi, I'm attempting to get a Swing application to go into Exclusive Fullscreen mode and am curious if there's something that I need to do prior to attempting to grab the fullscreen window. The...
4
by: Jacob H | last post by:
Hello list... I'm developing an adventure game in Python (which of course is lots of fun). One of the features is the ability to save games and restore the saves later. I'm using the pickle...
14
by: Goldie | last post by:
Hi, I am pretty poor at JavaScript so if this is a stupid question I apologise in advance. I am wanting to make the index.html page of a site open the browser up in Full screen mode. I...
6
by: tigrfire | last post by:
I've been working on a program to try and play a game of Craps, based on a version I found elsewhere - I didn't code the original, but I added a few things such as a balance and wager system. I'm...
0
by: Jelle | last post by:
Hi all, I am looking for a way to get text on top of a fullscreen game and still be able to play the game. I just want to use a little piece of the screen and want the game screen still behind...
0
by: n_g | last post by:
how do i popup a message when user is running other fullscreen application? eg: i want to display phone number in corner of screen even user is playing fullscreen directx/opengl game or watching...
5
by: CoreyWhite | last post by:
It is possible to use martingale probability theory to beat some games of chance. In a fair game of coin toss, where the odds reach an equilibrium of 50/50 chain reactions do occur. This can be...
22
by: JoeC | last post by:
I am working on another game project and it is comming along. It is an improvment over a previous version I wrote. I am trying to write better programs and often wonder how to get better at...
0
by: =?Utf-8?B?RnJpam9sZXM=?= | last post by:
Hello everyone, I have a small application I wrote that sits in the systray and pops open a small window if an event occurs. Works fine, except when I'm playing games. :) If I have a fullscreen...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.