The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > C / C++


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-12-2007, 07:49 PM
fOuRteEN14
Posts: n/a
[SOLVED] question in a c++ program?

okay, i want to create a game... so here's a question.. can i put an image in the c++ ? if yes, can you give me some information on how can i do these?? and another question..
what header file should i use to allow the mouse to be used when i run the program??

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 06-12-2007, 07:49 PM
Chris S
Posts: n/a
You are in for a tough time. Programming a game takes a whole lot of work.

Honestly, I suggest a different approach. Try the free version of Game Maker here -- http://www.yoyogames.com/gamemaker/ . It's very easy to work with and I highly recommend starting with it.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 06-12-2007, 08:14 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Icon11

Quote:
Originally Posted by fOuRteEN14 View Post
okay, i want to create a game... so here's a question.. can i put an image in the c++ ? if yes, can you give me some information on how can i do these?? and another question..
what header file should i use to allow the mouse to be used when i run the program??
What do you mean by putting image in the C++? I know that you can import images to Visual Studio. It's pretty simple also if you use XNA game engine. Right click on your solution explorer -- Add -- Existing Items -- change the file type to images

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #4 (permalink)  
Old 06-13-2007, 07:46 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 616
iTrader: (0)
Lee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enough
Quote:
Originally Posted by Chris S View Post
You are in for a tough time. Programming a game takes a whole lot of work.

Honestly, I suggest a different approach. Try the free version of Game Maker here -- YoYo Games . It's very easy to work with and I highly recommend starting with it.
I would never use game maker, i think its an awful program and i know no one that backs that program.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #5 (permalink)  
Old 06-13-2007, 08:57 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Haha, those programs does actually work for you if you just want to create a game. But their capabilities overall, I can say it sucks because you're just limited on the program itself. While other game engine such as Torque Game Builder, Torque Game Engine, or XNA can do much more for you, but you'll have to figure out the code logic

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #6 (permalink)  
Old 06-26-2007, 02:03 PM
siLenTz's Avatar
siLenTz siLenTz is offline
Jr. Programmer
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Posts: 87
iTrader: (0)
siLenTz will become famous soon enoughsiLenTz will become famous soon enough
If you want to programming game in windows, you should try to learn
WinAPI. It takes sometimes you learn it. If you want fast way to do it
without spending much time learn about WinAPI, you could search
around the google for free 2d game engine. Anyway, additional learning
about the engine is required. But it is much more easier than learn complex
WinAPI code. The 2d engine will cover it for you. GOOGLING....

From siLenTz
GOOGLING..... you will see...

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #7 (permalink)  
Old 06-26-2007, 02:07 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Quote:
If you want to programming game in windows, you should try to learn
WinAPI.
I realized that you talk about WinAPI a lot, what is that anyway? Is it just MSDN Libraries?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #8 (permalink)  
Old 06-26-2007, 02:24 PM
siLenTz's Avatar
siLenTz siLenTz is offline
Jr. Programmer
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Posts: 87
iTrader: (0)
siLenTz will become famous soon enoughsiLenTz will become famous soon enough
WinAPI is application programming interfaces that is available in Microsoft
Windows operating system. It designs for applications to communicate
with Windows operation system. For example: If you want to create
simple window, you need to send a request to operating system and
operation system will response back weather operating system allow
your application to create window or not. Note that whenever one
application run, operation system will give it one handler to identify
itself. If you want to know which button is pressed in your application
you need to request the operating system and the operating system
will response whenever the key is pressed. It is how the windows
operating system communicate with your application and it is what
WinAPI is using for.... Some of my explaination might not be correct...
but I hope you understand what it is.

From siLenTz
How it is working....

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Closed Thread


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:54 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50