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 ? 4 3562
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*********@YA HOO.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 ?
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 ?
On Sat, 1 Jan 2005 13:44:59 +0100, BOOGIEMAN <BO*********@YA HOO.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.
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*********@YA HOO.COM> wrote in message
news:35******** *************** ******@40tude.n et... 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 ? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 code in question follows:
<code>
this.setUndecorated(true);
GraphicsDevice gd = this.getGraphicsConfiguration().getDevice();
if(gd.isFullScreenSupported()) {
|
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 module to implement this. Capturing
current program state and neatly replacing it later is proving to be
trickier than I first imagined, so I'm here to ask for a little
direction from wiser minds than mine!
When my program initializes, each game...
|
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 understand I can do this when the viewer clicks a link to the page but I
want it to happen when the viewer comes to the site by either typing the
address in or a link from another source.
|
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 having
trouble doing it all without using global variables though, so I have
another post in this group about local variable usage and how to pass
it, but just when I thought I'd got it, my program has a segmentation
fault. I'm not exactly sure...
|
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 the text. I want to have
some info from another program on top. Probebly got more problems
coming, but just one at a time :)
Anyone have an idea how to do this? havent yet found something that can
help me.
| |
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 DVDs in fullscreen
mode
i use directdraw overly but it seems cannot work when other fullscreen
directx app is running.
the overlay sample code :
http://www.gamedev.net/community/forums/topic.asp?topic_id=367591
|
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 explained
using martingale probability theory, but in simpler terms it only shows
an example of how order emerges out of chaos.
Example: One player has 3 pennies, and another player has only 1 penny.
A fair coin is tossed every round to determine...
|
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 programming. I
tend to learn what is useful and gets the job done. I am always
curious if there is some techique I don't know. I read books and study
as well as write programs. My goal is to some day be able to get a job
programming. I have a...
|
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 application going, the popup will steal focus
almost randomly causing the game to minimize. This is extremely annoying. Is
there a way to detect if anything is running in fullscreen mode? That way I
can prevent the popup from opening if there is....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |