- XNA is an excellent hobbyist framework
Search Result
Collapse
15 results in 0.0039 seconds.
Keywords
Members
Tags
-
Simple Windows Game - Part 1: A Game Framework
I've decided to do a series of insights based on creating a simple windows game using C# and WinForms. There are other methods of approaching this task but I've chosen to try to keep things fairly simple and demonstrate how one might make a game. More experienced developers will note some similarities between my approach here and how Microsoft XNA does things. This is intentional for two reasons...
-
DirectX Game Screenshot
Software: Visual Basic 2008
My problem:
I make a program for taking screenshots from the game, this is the current code that I use:
Code:Dim bounds As Rectangle Dim screenshot As System.Drawing.Bitmap Dim graph As Graphics bounds = Screen.PrimaryScreen.Bounds screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)
-
Handling damage in a game
I have to make a game, where damage is inflicted and subtracted from health after every turn. there is you and the cpu. choices 1 and 2 have limited uses. I cannot figure out how to get the damage to store through out the entire program. here is what i have:
Code:#include <iostream> #include <cstdlib> using namespace std; int main() { int damage = rand(); int health = 100;
Last edited by Banfa; Feb 14 '12, 09:57 AM. Reason: Added [code]...[/code] tags round the code, please use them in future -
bums735 bums735 started a topic how to write a direct3d camera and make it move like a first person gamein Chow to write a direct3d camera and make it move like a first person game
hello all, me and my friend are writing a 3d game engine in directx 11 in our spare time for fun in c++ but were wondering on how we would achieve making our camera move around our 3d world, or rather how to make the 3d world move around our camera, any help would be greatly appreciated. thanks :D -
Looking for information on writing a Point & Click Adventure Engine
Hello everybody!
As the title suggests, I am looking for information on how to write a game engine for a 2D or 2.5D point & click adventure. (You know, for games like the Monkey Island or Manic Mansion series for example.) I have a basic idea of what I would have to do and am currently researching what language would be the best choice for my requirements, but so far I have found little in the way of describing what other people... -
Should I use Sockets or not, and why?
I've build TicTacToe game, and got it to work multiplayer. I have used one java server for connecting to the database and with the clients ( sockets ).
It works fine but now I am wondering if I could only make the clients connect to the database and receive/update data from there (whose turn it is and what move someone made), without any Java server and sockets.
Please help me on this one. Should I use sockets or not,... -
How to pick a pictures on click
I have 100 pictures. Each picture is a question. There are 3 answers to choose and one button to change question.
My questions is--
#1.How can I match the correct answer within the 3 choices?
#2.How to change the picture when click Change question?
Regards -
How do you simulate a dice roll in python?
I'm writing a text based adventure game and was wondering if there was a way to "Roll Dice". An example of what i am trying to use this for would be attacking or defending in the game. If they get above or equal to a certain number It would be considered a hit. I would also need this same automated dice rolling for the enemies in the game.
Thanks
Matt. -
Undergraduate Computer Science Project Suggestion?
I am a final year computer science undergraduate student and I need some suggestions for a project. The project should be:
1. A program, not a research paper or thesis.
2. Should be able to be completed in 1-3 months by a single programmer.
3. OS and programming language independent
4. Not related to database, hardware or image processing
5. Maybe game or website related, if small enough -
Optimizing My Game App.
I want to create a game. Backgammon. i used to design my nuts and board in photoshop. i saved nut as png. and board as jpg. for per that i have in game i created a picture box , and i bound png picture to that. i know that this way is not correct. please give me tips and guidelines.
seems my question is too general. i change my question. What element do I replace instead of pictureboxes? what is the way for moving nuts? for good performance... -
Using a timer in a game
Hi guys
I have a problem with programming a small game. The idea is that a question pops up, a timer starts to run randomly from one to a given number (that number I take from a database, every question has a different allowed time to "think"), when the timer ends, a random computer opponent between 1 and 2 answers the question randomly correct or incorrect. If the user presses a button, the timer stops, lets the user answer... -
How do I make a network game on JAVA?
There is a local card game here in our place that me and my classmates got addicted to (oh no, we don't put bets on it, we just play the game), but when we get to our respective homes, no one in our place knows how to play the game but us. So we were thinking if we could search the net for an online version, but no, there is none (because it's a local game, no one out there knew of it).
Now we thought like, "What if we make this... -
Foosball Game Project
Could anyone help me with creating a flash foosball game for actionscript 2.0? Need to hand in a brief on Friday and mine is really not working. Please if someone could read through this code and correct me or can anyone provide me with any script for the game?
I have created 6 enemies with rectangles inside them that are the hitTests for the ball. The same with my characters. This is the code on my frame.
... -
Taking screenshots from DirectX games
Hi
I need to capture screenshots from DirectX games. I am using this code but sometimes I get totally blank images or the image of the desktop (but the game is open)
int screenWidth = Screen.GetBound s(new Point(0, 0)).Width;
int screenHeight = Screen.GetBound s(new Point(0, 0)).Height;
Bitmap bmpScreenShot = new Bitmap(screenWi dth, screenHeight);
Graphics gfx = Graphics.FromIm age((Image)bmpS creenShot);... -
Help making a hangman program
Hey, I just started programming this September and I have an assignment in which I am supposed to create a hangman game. This is my first post on this forum so forgive me for any "noob" mistakes Now I'm still learning Java so this will be a basic program running in the console window (no GUI) using strings loops, arrays, etc but hopefully nothing too complicated. I've developed somewhat of an algorithm for the program, but it's really simple...