Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
35% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
1
2 Commented Posts
~9K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

15 Posted Topics

Member Avatar for vishnukumar

You should use c++. as for engines theres a whole [wiki page](http://en.wikipedia.org/wiki/List_of_game_engines) And other than that, go for it. but i would recommend using a 2d library to make your game such as SDL or SFML.(Im too lazy to add links. google them) SFML is alot better and simplier. if …

Member Avatar for NehaPande
0
396
Member Avatar for tayspen
Member Avatar for akasya

Post code for proof you have tried, we will only help fix problems, not write code for you.

Member Avatar for Bumpehh
0
85
Member Avatar for Bumpehh

so i decided to try sfml, and i used the sample from the website to see if its working. heres the code //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Window.hpp> //////////////////////////////////////////////////////////// /// Entry point of application /// /// \return Application exit code /// //////////////////////////////////////////////////////////// int main() { // Create the main window …

Member Avatar for m4ster_r0shi
0
171
Member Avatar for schutzk21

#include <iostream> using namespace std; int magic = 7; int guess; int trys =0; int main(){ do{ cin>>guess; if(guess!=magic){ ++trys; } if(guess<magic){ cout<<"TOO low!"<<endl; } if(guess>magic){ cout<<"Too high!"<<endl; } if(guess==magic){ cout<<"Woohoo"<<endl; break; } }while(trys!=5); if(trys==5){ cout<<"Boo! you lost!"<<endl; } } This is the code.

Member Avatar for np complete
0
423
Member Avatar for Bumpehh

this is a very simple RPS game and i ran into a prob. heres the code #include <iostream> // for cout/cin #include <cstdlib> // for rand/srand #include <ctime> // for time #include <cctype> // for case conversion using namespace std; char rps; char ai; char redo = 'Y'; // all …

Member Avatar for WaltP
0
132
Member Avatar for chris.vargas.773

on line #7 it should say math(); not int math; and, yes that is a proper way to make a function. you just werent calling it right :P

Member Avatar for rubberman
0
169
Member Avatar for chris.vargas.773

You are supposed to do math() not int math; when you call the function

Member Avatar for chris.vargas.773
0
136
Member Avatar for Bumpehh

so i was bored and decided to make a dice simulator, and i ran into a error. heres the code #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int total[12]; int dice1; int dice2; int aitotal[12]; int aidice1; int aidice2; void Roll(){ srand(time(0)); dice1 = 1+ (rand() %6); dice2 …

Member Avatar for Bob
0
169
Member Avatar for Bumpehh

So, i wanna try graphics, and i was wondering if sfml or sdl is better? I cant find any good tutorials on sfml and its kinda confusing. i havent used sdl so im asking your opinion. and also, **What did you start off with, and why?**

Member Avatar for Bumpehh
0
132
Member Avatar for Bumpehh

ive been searching the web for a 2d free game engine compatible with c++, and i cant find any! So i would like to know, if there is any that you guys know about? most people direct me to lib librarys, but thats not what i want. btw, sorry if …

Member Avatar for myk45
0
242
Member Avatar for Bumpehh

This is a very simple Rock Paper scissors game i made. i showed it to my cousin and he played it for like 20 mins lol. Its against an AI and you pick by number, not words.

Member Avatar for m4ster_r0shi
0
2K
Member Avatar for np complete

This works for me srand(time(0)); x = 1+ (rand % 3); the number after the % is the max number... Hope it helps :)

Member Avatar for deceptikon
0
243
Member Avatar for coolikedat99

#include <iostream> using namespace std; string guess; // Strings are a variable type to store letters string answer = "Boom"; int main() { cout<<"Case sensitive :)\n\n"; cout<<"Try to guess my awesome password!\n"; cin>>guess; if(guess==answer){ cout<<"\nWOOHOOO! You guessed it!\n"; //Checks if the guess is right } if(guess!=answer){ cout<<"\nOh no! it appears …

Member Avatar for coolikedat99
0
176
Member Avatar for Bumpehh

Hey guys, im new to C++. been learning for only about a week. The most complex program i can make is a calculator! But, i was wondering, how hard would it be to make a text-based zork-like game? Like i said before im new, so any tips and/or tricks to …

Member Avatar for Bumpehh
0
782

The End.