flump9

Member
  • Content count

    30
  • Joined

  • Last visited

Community Reputation

100 Neutral

About flump9

  • Rank
    Member
  1. [font=arial, helvetica, clean, sans-serif][size=3][left]I am 12 and I am at a club where I make games[/left][/size][/font][font=arial, helvetica, clean, sans-serif][size=3][left] with game maker(I'm learning java). I want to sell my games for like 50p each. Is it ok to do this? Also how would i sell them, should I put them onto cds, or is their anything other than that?And the quality of games will be good, as my friend will make the graphics and we will share the making,but he will be more of the bug fixer. Is there anything else I need to think about? And my main question would this actually work?[/left][/size][/font]
  2. [color=#333333][font=arial, helvetica, clean, sans-serif][size=3]I am 12 and I am at a club where I make games with game maker(I'm trying to learn java). I want to sell my games for like 50p each. Is it ok to do this? Also how would i sell them, should I put them onto cds, or is their anything other than that?And the quality of games will be good, as my friend will make the graphics and we will share the making,but he will be more of the bug fixer. Is thereanything else I need to think about? And my main question would this actually work?[/size][/font][/color]
  3. Starting out

    [quote name='KazenoZ' timestamp='1326543279' post='4902630'] Seems like Java would be the better option for you then. Not only because you are already familiar with it, and it's always good to stick with the language you're familiar with, but also because Java allows for better publishing options, you don't just get PC/Mac as possible platforms, you can make your game to run on the web and Android, and that's just a huge perk. I don't have much Java experience myself, so I can't really help you in that area, but I hear that Eclipse is the best you can get as an IDE for Java. [/quote] Thanks. I'm sticking with java and am going to follow the new bostons tutorial so I learn functions and whatnot, and I have seen some other tutorials and one is specifically for making a game. and ive always used eclipse
  4. Starting out

    I am going to start programming properly now,and I don't what language to choose. I know how to do some simple stuff in C++ but I know a bit more in Java as I have wrote a calculator.They say java is easier to learn but i have a urge to learn C++.Please help me decide Also,whateverlanguage I choose, suggest some programs for me please as it would really help.
  5. I have nearly made a text-based rpg,i just need to finish the story.I know how to create a simple menu,and store user input.The only thing i need is a fighting system which i am working on really hard now so i finish it.So i decided i would make some tutorials for this for all the "Newbies" who are new to c++ and want to make a simple text-based game.So i do know most of the stuff for making a simple rpg so dont critice me saying how are you going to help people if you dont know how to. [url="http://www.youtube.com/user/How2DoPrograming"]My Youtube[/url]
  6. Problems with console text game

    [quote name='bbr125' timestamp='1324553131' post='4896482'] [quote name='Flump9' timestamp='1324549786' post='4896465'] BTW how do i use that cin method with user input?what type of code would i write?Like if statements or whatever [/quote] I'm not sure I understand what you mean. You just want the user to enter their name once when the program starts? Then you could just include the following code somewhere before the while (or even in main): [code]string name; cout << "Enter your name: "; cin >> name; [/code] You don't need any ifs. You just ask for their name and store it in your string variable. [/quote] I figured out how to do it.Thanks
  7. Problems with console text game

    [quote name='bbr125' timestamp='1324546377' post='4896452'] First, I wouldn't use System("exit"). It doesn't seem like you really need it. If the user enters 3 you can just return. The menu keeps popping up because the while condition is still true. For example, say the user enters 1. You print: [i]Let us Begin then, [/i]and then break out of the switch/case. The while condition will still be true - choice is still not equal to 3, it is equal to 1. Therefore it will print out the menu again and get the user input again. There are probably different ways to do it, but here is one idea. How about designing a couple of functions.. maybe StartGame() and PrintHelp() which has all of the code you want for playing the game and printing the help menu: [code] switch(choice) //Switch { case 1: cout << "Let us Begin then," << endl; StartGame(); //Start the game. break; case 2: cout << "The aim of the game is to survive!" << endl; PrintHelp(); //Print the help menu. break; case 3: return; }[/code] To store user input in a string you can just use cin: [code]string a; cin >> a;[/code] [/quote] BTW how do i use that cin method with user input?what type of code would i write?Like if statements or whatever
  8. Problems with console text game

    [quote name='bbr125' timestamp='1324546377' post='4896452'] First, I wouldn't use System("exit"). It doesn't seem like you really need it. If the user enters 3 you can just return. The menu keeps popping up because the while condition is still true. For example, say the user enters 1. You print: [i]Let us Begin then, [/i]and then break out of the switch/case. The while condition will still be true - choice is still not equal to 3, it is equal to 1. Therefore it will print out the menu again and get the user input again. There are probably different ways to do it, but here is one idea. How about designing a couple of functions.. maybe StartGame() and PrintHelp() which has all of the code you want for playing the game and printing the help menu: [code] switch(choice) //Switch { case 1: cout << "Let us Begin then," << endl; StartGame(); //Start the game. break; case 2: cout << "The aim of the game is to survive!" << endl; PrintHelp(); //Print the help menu. break; case 3: return; }[/code] To store user input in a string you can just use cin: [code]string a; cin >> a;[/code] [/quote] Thanks,that helped me a lot.I have made it so that if you type 1 it will make choice 3,where help will just stay the same as i want it to go back to the menu.
  9. I am making a text based game and i have this menu where you type in a number and it will say something,but then the menu keeps pooping back up.Any help?And also i need to know how to make the user input their name to change a string so their name is saved in the game.Here is my code: [code]#include <iostream> #include <windows.h> #include <time.h> #include <stdlib.h> using namespace std; void menu() { int choice = 0; //Declares the 'Choice' Variable string charName = "Jack"; while (choice != 3) { cout <<"Enter choice:"<< endl << "1)Play" << endl << //Prints out Enter Choice ,play,help and Quit "2)Help" << endl<< "3)Quit" << endl; cin >> choice; //Duno switch(choice) //Switch { case 1: cout << "Let us Begin then," << endl; break; case 2: cout << "The aim of the game is to survive!" << endl; break; case 3: system("exit"); }}} int main() { cout << "Welcome to my RPG" << endl; //Says welcome to Tic Tac Toe Sleep(1000); menu(); return 0; }[/code]
  10. [quote name='Sepii' timestamp='1324468859' post='4896146'] The reason why your code doesn't work is that you use variables, that are defined in the main function, in other functions. The key variable is the one that gives errors. For your other question about collisions: [url="http://stackoverflow.com/questions/401847/circle-rectangle-collision-detection-intersection"]Circle rectangle collisions[/url] Hope this helps. [/quote] Please can you point those out for me?
  11. Making Pong

    [quote name='rip-off' timestamp='1324488515' post='4896225'] [quote] I have made no really complete program in C++... [/quote] If you haven't already, I would then recommend you purchase (or loan from your library) a book. Completing the exercises at the end of each chapter will give you valuable experience in problem solving, problem deconstruction, program design and applying various techniques. Writing even a moderate program like I proposed is a feat to take pride in as a beginner. If you completed any programs, I would recommend an even simpler program again, the classic "Guess the number" is one of the first truly interactive programs most beginners attempt. [/quote] Well, i've just made a menu on a console, it was quite easy,actually just some while and switch statements.So i have made a simple menu with Play, Help and Quit. Now i just need to make the help screen and then i will do the tic-tac-toe.
  12. Making Pong

    I have made no really complete program in C++, I've just started this RPG,and yes it sounds like i can manage it and i will make this Tic-Tac-Toe first.
  13. Making Pong

    [quote name='rip-off' timestamp='1324483965' post='4896203'] [quote] Well, it seems hard. I'm only a begginer, and this is the first thing i'm doing. [/quote] If you're a beginner, you should start out making simple text based/console programs. Writing a full pong application is actually not a beginner task. [/quote] sol like text based games?
  14. Making Pong

    Well, it seems hard. I'm only a begginer, and this is the first thing i'm doing.I know some stuff, but this just seems really hard in my eyes. Do you know any good tutorials?
  15. Tile-Based Map

    [quote name='Black-Rook' timestamp='1324462624' post='4896130'] Why not use Visual Studio Express? Unless I'm wrong, you should be able to use Visual C++ 2010 Express fully with Allegro 5. Download Visual C++ 2010 Express here: [url="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"]http://www.microsoft...ual-cpp-express[/url] Download the Allegro 5 files here: [url="http://www.allegro.cc/forums/thread/608749"]http://www.allegro.c...s/thread/608749[/url] You might want to take advantage of Wiki for Allegro 5: [url="http://wiki.allegro.cc/index.php?title=Allegro_5_Tutorial"]My linkhttp://wiki.allegro.cc/index.php?title=Allegro_5_Tutorial[/url] I hope this helps! [/quote] Thanks, i downloaded it!