 |
|
 |
When I went to build the .dsp project file of Invasion gave me 3 errors:
Error 1) stdarg.h(6) : fatal error C1021: invalid preprocessor command 'include_next'
Error 2) stdarg.h(6) : fatal error C1021: invalid preprocessor command 'include_next'
Error 3) BSCMAKE: error BK1506 : cannot open file '.\debug\winmain.sbr': No such file or directory
Please help
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Which version of VS are you using ? I've created this game LONG time ago... and I didn't try do compile it in VS 2005 yet.
Mauricio Ritter - Brazil MSN: mauricioritter(atsign)hotmail.com
English is not my native language so, if you find any spelling erros in my posts, please let me know.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
It was really helpful for beginners like me. I have just started programming in DirectX.
Thanks for your contribution!
Saqib Hassan
THE SENSE to SENSE!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Great game!
Had a question. I was playing around with the code, trying to change the resolution from 640 480 to 1024 768..
I changed : ddrval = lpDD->SetDisplayMode(1024, 768, 32, 0, 0 );
It made the resolution to 1024 768, but the backgrounds, text, etc is still in the 640 480 resolution, and in the top left of the screen.
What else do I need to modify? Thanks again
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
I can see the same thing since I did a C# port of this. The images that are in the project (like the background) are setup for 640x480. You would have to edit them and make them bigger. You may also have to look at some of the code that moves things back and forth and for some levels you will have to change some values to when the ufos wrap to the other side.
Steve Maier, MCSD MCAD
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
too many code to read, and I'm a beginner. It's hard to know every code. can you explain every method? in fact, many code have no any specification.
can you help me to drow your called flow chart or UML?
Thank you very much!
Best Regards.
Jeff.Liu sharpthinker@gmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I know this is probably a simple question but I will ask it anyway. How did you create your image tile sheets of items, ships, ship explosions and the others. What tool did you use to create these.
Great game by the way.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Your game is great for playing and is simple enough for newbies to understand. Still, i'm having some problems understanding it.... I would like you to give me the general ideia behind it  some like: "I have this classes: Ovni, alpha(...). first thing, initialize them using the functions(.... ) to animate them, (...)see? so that i can understand why you created the functions you did, and the flow Basically, i want a sketch of you game. Anyway, i'm mozambican, so, be my guess using portuguese..."
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Firstly I wanted to say that u made a great game.
I wanted to use some of your images from the Invasion game espescially the ufo.bmp and borrow a part of your code for my assignment. Could you give me the permission for the same.
I would be really grateful to you.
thanks Pushkar Pathak ppathak@syr.edu
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
No prob ! You can use it...
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
English is not my native language so, if you find any spelling erros in my posts, please let me know.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I just want to say that this is a great game! I am currently doing my own type of space invaders game. This is a great example for me to get me on the right foot as far as certain classes and functions for game development. Thanks!
-Ryan M.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I can't figure out these two errors! Mauricio, help me out! 
--------------------Configuration: Invasion - Win32 Debug-------------------- Compiling... Winmain.cpp c:\program files\microsoft visual studio\myprojects\invasion_src\ddutil.h(14) : error C2143: syntax error : missing ';' before 'constant' c:\program files\microsoft visual studio\myprojects\invasion_src\ddutil.h(14) : fatal error C1004: unexpected end of file found Error executing cl.exe.
Winmain.obj - 2 error(s), 0 warning(s)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
hmm... have you tried a full rebuild ? Also check the directx sdk include path in the directories setting of your vc++, maybe vstudio is getting the dx files from the default location.
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
How did you draw the graphics? They are really cool! Did you use some Photoshop or something like? And what about the sound?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Mario !
Mario Bros. wrote: How did you draw the graphics? I use 3d Studio Max and a little bit of Photoshop (and Paint )
Mario Bros. wrote: They are really cool! Thanks !
Mario Bros. wrote: And what about the sound? Some came from and old CD with some free samples, some I created using SoundForge (a nice software that came with my sound card).
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Can you or someone viewing this advise me on something...
I want to use a Palette in Visual Basic or Visual C++, in a window application... ( I mean -- not a FullScreen Mode Application)
If possible can you list a place where I can get some information regarding this... MSDN is really not good in this regard!
Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I got a 109 errors when i tried compiling! Here are some of the 109 errors.. --------------------Configuration: Invasion1 - Win32 Debug-------------------- Compiling... Ddutil.cpp c:\invasion\ddutil.h(14) : error C2061: syntax error : identifier 'IDirectDraw7' c:\invasion\ddutil.h(15) : error C2143: syntax error : missing ';' before '*' c:\invasion\ddutil.h(15) : error C2061: syntax error : identifier 'IDirectDraw7' c:\invasion\ddutil.h(15) : error C2501: 'DDLoadBitmap' : missing storage-class or type specifiers c:\invasion\ddutil.h(16) : error C2065: 'pdds' : undeclared identifier c:\invasion\ddutil.h(16) : error C2275: 'LPCSTR' : illegal use of this type as an expression c:\program files\microsoft visual studio\vc98\include\winnt.h(167) : see declaration of 'LPCSTR' . . . . .
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
 |
oh i read the other thread.. i got it.. but i'm still gettin 2 more errors.. I don't know whats up with these errors:
Linking... Winmain.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7 Debug/Invasion2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
Invasion2.exe - 2 error(s), 0 warning(s)
Can somebody explain what's wrong with this?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Try to add the ddraw.lib library in the "Link" section of VS C++ environment.
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
hmm...
Try to check two things:
1) Check if you have the latest DirectX SDK installed; 2) Check if the DirectX SDK lib directory is beign show in the directories list in VC and if its in the top of the list (or above the default directories).
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Can you also post the original version of the game please? (the one that uses DX6) It would be very useful for users who cannot afford to download the SDK.
Thanks,
trent
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I don´t think I still have it.. but I´ll try to find it...
Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hey Mauricio,
Said I'd just check out your other articles here at CP... you know how to write class games!!! Well done!
You ever think of releasing any commercial games??
Regards, Brian Dela [ ]
|
| Sign In·View Thread·PermaLink | 3.67/5 (3 votes) |
|
|
|
 |
|
|
 |