Milleja46 Projects
Milleja46 Projects
Milleja46 Projects
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A forum designed about programming, projects, games, and more.
 
HomePortalSearchLatest imagesRegisterLog in

 

 Suggestions

Go down 
3 posters
Go to page : Previous  1, 2, 3, 4, 5, 6  Next
AuthorMessage
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptySun Jan 10, 2010 5:42 am

Try reading the build log if you're using Visual C++ 2008, it post's errors and such.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptySun Jan 10, 2010 5:55 am

Im gonna try making a tetris game using either SDL or DXFramework graphics library.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptySun Jan 10, 2010 6:22 am

Well i found a link for the sdl version if you would like to have it i have personally have not tried it since when we finally build our selves up to the actual game we have been planing, to use opengl stuff. Just let me know.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptySun Jan 10, 2010 6:26 am

I found a game engine that had a game builder, called Torque. Found it while browsing in DIC, don't know if its worth checking:

http://www.dreamincode.net/forums/showtopic27195.htm

Post number 2:
Hi there,
Since none of you really have any programming knowledge, I suggest you use a product like Blitz3D or BlitzMax. They are designed with game production in mind and are much easier to use than C++. It's also a good start to learn to program since a lot of the difficult API coding is done for you so you can concentrate on learning the principles of programming. Start off with a small game like pong (you will learn more than you think!). There are some tutorials in the forums.

However, if you want to use a more mainstream language and want to use OpenGL with it , here are some good tutorials. Torque is a great engine to use (although I haven't played with it too much, I remember using it for some prototypes and it was quite easy to use). If you want to create 2D games, then Torque Game Builder is quite a nice tool. You can download the demo from the GarageGames website.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestions   Suggestions - Page 4 EmptySun Jan 10, 2010 9:10 am

I want to show you something:

http://www.thegamecreators.com/

its a website that has several softwares that can be used to make games, and 3d world builders.

there is also an IDE that uses the programming language DarkBASIC Professional, but i don't know if it can be used to create rpg games and such. and i think it has a built-in game engine, can't remember.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
NeoTifa
Admin
NeoTifa


Posts : 28
Join date : 2009-12-24
Age : 34
Location : Hyrule

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptySun Jan 10, 2010 10:17 am

Where's my rock paper scissors?
Back to top Go down
http://projectn00b.forumotion.net
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptySun Jan 10, 2010 6:52 pm

hey i am working on it but i don't know about him, it going to take me a while still trying to find that sdl version of tetris first heard it is one of the basic games to make, and i think sdl is what we really need, and the code uses it.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyMon Jan 11, 2010 6:04 am

I found a Tetris game with the source codes that concentrated on C++ and Using SDL GLib:

http://www.gamedev.net/community/forums/topic.asp?topic_id=192483


The SDL version of the tetris source codes is on page 6 of the topic in gamedev.net.


i managed to link the files, compile it without errors and such, but the app exits when i open the .exe file of Tetris.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyMon Jan 11, 2010 7:32 am

Neotifa i have a question, through my learning of C++, using books and such, should i copy paste the code examples or type in the codes myself, such codes like hello world etc.?


anyways, here's an example of hello world, are there any mistakes?
-------------------------------------------
#include <iostream>
int main()

{
std::cout "Hello world!\n";
char response;
std::cin response;
return 0;
}
-------------------------------------------
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyMon Jan 11, 2010 5:47 pm

david here is a simpler version of that:

"/* This is a simple C++ program. Call this file Sample.cpp. */
#include <iostream>

using namespace std;

// A C++ program begins at main().

int main()
{
cout << "C++ is power programming.";
return 0;
} "

That is straight from the c++ beginners guide, i really recommend you take a look at that book. Good read and will teach you most of what you need to know, and as soon as i can use #develop with c++ i will read more of it. The problem is that quite a bit of errors happen here is where i posted them and currently trying to get some help with it:
http://www.dreamincode.net/forums/index.php?showtopic=148886&st=0&gopid=889566&#entry889566

And that example i gave you shows some basic stuff you will see constantly. The multiline comment: /* */. The include #include. The namespace: using namespace std;. The single line comment //. The main: int main(). The subs {}, The cout which is the thing it will show: cout << "C++ is power programming.";. Then the return that tells it what to comeback to: return 0;. And that closing sub: }. Hope that makes it more clear.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyTue Jan 12, 2010 4:11 am

"Sam's Teach yourself C++ in 21 days" is also a good book, and its not a short one, its on 900+ pages and covers the basics as well.

and just remembered an error in the code i wrote yesterday:

#include <iostream>
int main()

{
std::cout "Hello world!\n";
char response;
std::cin >> response;
return 0;
}


and for some reason, whenever i compile a console program, the program exits after launch, before i even have chance to look at what it says.
but i can let it stay onscreen by adding:

char response;
std::cin >> response;

right after return 0;


and im at "if statements" in sams teach yourself c++
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyTue Jan 12, 2010 5:03 am

Well if i remember you have to do the option in vs c++ where the triangle is just an outline not a plain old debug.
Back to top Go down
https://milleja46.forumotion.net
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyTue Jan 12, 2010 5:06 am

Davidsen wrote:
I found a Tetris game with the source codes that concentrated on C++ and Using SDL GLib:

http://www.gamedev.net/community/forums/topic.asp?topic_id=192483


The SDL version of the tetris source codes is on page 6 of the topic in gamedev.net.


i managed to link the files, compile it without errors and such, but the app exits when i open the .exe file of Tetris.

That one you linked to with, the first one on the page i used that one and gave me 25 errors. Don't know why this happens, if it works okaybut it didn't for me.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyWed Jan 13, 2010 5:11 am

You have to do something in the Project Options about linking, can't exactly remember what i did.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyWed Jan 13, 2010 5:13 am

Well i am talking about the opengl version, don't know how well the sdl version will work knowing what happened when i tried it.
Back to top Go down
https://milleja46.forumotion.net
NeoTifa
Admin
NeoTifa


Posts : 28
Join date : 2009-12-24
Age : 34
Location : Hyrule

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyWed Jan 13, 2010 7:17 pm

WHY THE FUCK ARE YOU WORRYING ABOUT SDL/OPENGL?!?!?!?! I already said work on rock, paper, scissors first!!!! It should be a simple console logic program that could be done in 50 lines!!!! This should come before any tetris or anything!!!! Trust me, don't worry about the graphics. That is way down the road!

If you are not going to heed my advice and just go off and do your own thing, I will leave. There is no sense wasting my precious little time on a group of kids who aren't willing to listen. Your hello, world programs are nice, so now I want to see a little progression using other variable types and decision structures.

@Davidson: I would suggest you type it out, because repetition is key. The more you type it, the more trained your muscles and brain will be to typing that, so your coding will be quicker. Also, you guys should keep standard convention in mind with commenting and indenting.
Back to top Go down
http://projectn00b.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyThu Jan 14, 2010 10:26 am

I'll try to replicate the rock scissor paper i found in DIC, but there are some functions in it which i still haven't reached in Sams teach yourself c++, and its somewhere in line 15 to 26, the " char ans1 ans 2; ":

#include <iostream>
using namespace std;
int main()
{
char ans1, ans2;
char ans;
cout<<"\nThis program evaluates the game rock-paper-scissors\n";
{
do{
cout<<"\nThe first player should now ";
cout<<"enter R for rock, P for paper and s to chose scissors. ";
cin>>ans1;
cout<<"\nNow the second player can enter his choice ";
cin>>ans2;
if((ans1=='r'||ans1=='R')&&(ans2=='s'||ans2=='S'))
cout<<"\nRock breakes scissor; First player wins!"<<endl;
else if ((ans1=='p'||ans1=='P')&&(ans2=='r'||ans2=='R'))
cout<<"\nPaper covers rock; First player wins!"<<endl;

else if ((ans1=='s'||ans1=='S')&&(ans2=='p'||ans2=='P'))
cout<<"\nScissors cut paper; First player wins!"<<endl;
else if((ans2=='r'||ans2=='R')&&(ans1=='s'||ans1=='S'))
cout<<"\nRock breakes scissor; Second player wins!"<<endl;
else if ((ans2=='p'||ans2=='P')&&(ans1=='r'||ans1=='R'))
cout<<"\nPaper covers rock; Second player wins!"<<endl;
else if ((ans2=='s'||ans2=='S')&&(ans1=='p'||ans1=='P'))
cout<<"\nScissors cut paper; Second player wins!"<<endl;
else
cout<<"Nobody wins";
cout<<"\nwould you like to play it again?";
cin>>ans;

}
while (ans=='y'||ans=='Y');
cout<<"\nThanks for playing";
}
return 0;
}
Back to top Go down
http://making-money-with-gdi.blogspot.com/
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyThu Jan 14, 2010 11:36 am

Okey, here is my rock, paper, scissor:

#include <iostream>
int main()
{
char ans1, ans2;
char ans;
std::cout << "\nThis program evaluates the game rock-paper-scissors\n";
{
do{
std::cout << "\nThe first player can enter his/her choice now ";
std::cout << "\nEnter R for rock, P for paper or S to choose scissors. ";
std::cin >> ans1;
std::cout << "\nNow the second player can enter his/her choice now. ";
std::cin >> ans2;
/*The following functions determines which player wins,
depending on which object the players chooses*/
if((ans1=='r'||ans1=='R')&&(ans2=='s'||ans2=='S'))
std::cout << "\nRock breaks scissor; First player wins!";
/*This function will be executed if player 1(ans1) chooses Paper
and if player 2(ans2) chooses rock*/
else if((ans1=='p'||ans1=='P')&&(ans2=='r'||ans2=='R'))
std::cout << "\nPaper covers rock; First player wins!";
else if((ans1=='s'||ans1=='S')&&(ans2=='p'||ans2=='P'))
std::cout << "\nScissors cut paper; First player wins!";
else if((ans2=='r'||ans2=='R')&&(ans1=='s'||ans1=='S'))
std::cout << "\nRock breaks scissors; Second player wins!";
else if((ans2=='p'||ans2=='P')&&(ans1=='r'||ans1=='R'))
std::cout << "\nPaper covers rock; Second player wins!";
else if((ans2=='s'||ans2=='S')&&(ans1=='p'||ans1=='P'))
std::cout << "\nScissors cut paper; Second player wins!";
//This function is executed if the players chooses the same object
else
std::cout << "Nobody wins";
std::cout << "\nWould you like to play it again?";
std::cin >> ans;
}
while (ans=='y'||ans=='Y');
std::cout << "\nThanks for playing";
}
return 0;
}


Its a little different from the one at DIC, i used "std::cout" and "std::cin" instead of just "cout" or "cin" since im more used to applying "std::".
And i've added some comments on it, on how the winner is determined.

And i think i understood what ans1 and ans2 is used for. If im not mistaken, they are characters, ans1 is Player 1 and ans2 is Player 2.

I don't know if i should add more to this. Well anyways, here is the rock, paper, scissor game. Very Happy
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyThu Jan 14, 2010 4:38 pm

Wow, i was about to do mine but you beat me to it. That was what i had on paper, except i was going to have it where user played a computer. Because in your version, you have two people players. And mine was alot more complicated. Where when a user picked a choice, it would then randomly pick one and play a "case" Which there were about 10 different ones. But yours sums it up into one simple 2 player game.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyFri Jan 15, 2010 5:00 am

But on my version the second player can see what the first player chose, so its kinda not a full version of R-P-S game.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptyFri Jan 15, 2010 5:06 am

Davidsen wrote:
But on my version the second player can see what the first player chose, so its kinda not a full version of R-P-S game.

That's kinda what i meant.
Back to top Go down
https://milleja46.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptyFri Jan 15, 2010 5:11 am

Yeah, but i think AI coding comes further down the road, for now its only the basics im currently learning
Back to top Go down
http://making-money-with-gdi.blogspot.com/
milleja46
Admin
milleja46


Posts : 104
Join date : 2009-12-23
Age : 29
Location : In Nyc or maybe the bad part of Charolotte?

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptySat Jan 16, 2010 6:00 am

I know but that was not what i am talking about.
Back to top Go down
https://milleja46.forumotion.net
NeoTifa
Admin
NeoTifa


Posts : 28
Join date : 2009-12-24
Age : 34
Location : Hyrule

Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 EmptySat Jan 16, 2010 9:43 am

Thanks, though I would prefer your own code that you created, not something you ripped off the forums. It's not hard to simulate the computer. If you would like guidance, take a look at my rock, paper, scissors tutorial. It's in Java, but the concept is the same. Syntax is quite similar. Also, post them in code tags please.

http://www.dreamincode.net/forums/showtopic92907.htm
Back to top Go down
http://projectn00b.forumotion.net
Davidsen




Posts : 86
Join date : 2009-12-26
Age : 32
Location : Greenland

Suggestions - Page 4 Empty
PostSubject: Suggestion   Suggestions - Page 4 EmptySat Jan 16, 2010 2:10 pm

I'll try working on a R-S-P game with player vs. computer.
Back to top Go down
http://making-money-with-gdi.blogspot.com/
Sponsored content





Suggestions - Page 4 Empty
PostSubject: Re: Suggestions   Suggestions - Page 4 Empty

Back to top Go down
 
Suggestions
Back to top 
Page 4 of 6Go to page : Previous  1, 2, 3, 4, 5, 6  Next

Permissions in this forum:You cannot reply to topics in this forum
Milleja46 Projects :: Ahhh.......Memories :: Old, Locked topics-
Jump to: