Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

132 Neutral

About Kripis

  • Rank
  1. What is so wrong with it -.- <!DOCTYPE html> <html> <head> </head> <body> <script> function meatball(x) { alert("I love " + x) } h = document.getElementById("hi"); </script> <form> <input type="text" id="hi"> <input type="button" id="ho" onclick="meatball(h)"> </form> </body> </html>    
  2. I want to keep the text adventure in, so I want a console but with a little GUI on the side showing health and other stats instead of just typing it out.   EDIT: I'm using CobeBlocks
  3. So I made this text adventure game in a console application, but now I want to add a simple GUI to it, what do?
  4. Kripis

    Rand is the same every time.

    How could I fix this?? make a loop before the main loop that changed arrayChooser every time?
  5. uhm... title. Please help me the source code is below:   https://github.com/Kripis/-O/blob/master/Dinky%20Island
  6. So I'm making this text adventure game where I have an array of events and every time you go north, east, south or west. the loop calls a random number which then calls an event in the array, now is this the best way to do it? I want to learn to make code efficient from the beginning  
  7. Kripis

    Help! I'm trying to make a game.

    Thanks for all the replies and wow I went from 135 reputation to 86 just for couple of opinions, I'd suggest (even known is not from this forum) reddiquette; http://code.reddit.com/wiki/help/reddiquette
  8. Kripis

    Help! I'm trying to make a game.

    Well I don't like people stereotyping me thats all.
  9. Kripis

    Help! I'm trying to make a game.

    I'm sorry I'm trying to establish my future now, based on what I love NOW and another thing, I'm not running around asking how I should be making my great game I'm simply asking what tools I should use for the near future. Dick. EDIT: Oh and btw I know Algebra, I don't know how much but a fair bit
  10. Kripis

    Help! I'm trying to make a game.

    Thanks for the answer but the type of answer I want is not "go with the one the you like" I want an "Go this because of this and NOT this because of this" type of answer I want many opinions like that, please!
  11. Hi I'm Kripis and in the future I want to work as an indie game developer (I'm 13) but I'm stuck, C# or C++? I know Java a bit (watched over 70 tutorials from "thenewboston" and over 20 of C++) I like C++, HATE Java so that one is off the table but there's C# and while they are similar I've heard it's better, I've also heard that C# is faster at getting your games finished, well my big question is keep going with C++ or stop and go for C# while it's still early (only 20 C++ videos).
  12. #include <iostream> using namespace std; int main() { char a; char b = "y"; char c = "n"; cout << "Am I a troll? (n/y)"; cin >> a; if(a == b){ cout << "?????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????" << endl; cout << "???????????????????????????????"; } if(a == c){ cout << "D'aw"; }else{ cout << "Am I a troll? (n/y)"; cin >> a; } return 0; } I need help, what this program is meant to do is to ask if I'am a troll and if the answer == "y" then it will print out the ASCII troll face() and if the answer == "n" then it will print "D'aw" and if answer is anything else then it will ask again (I'm 99% sure that the else par I made is completly wrong so yeah, I'am a newbie in C++) BUT I get an error in line 8 and 9 or the lines with "char b = 'y' " and "char c = 'n' " it says "invalid conversion from 'const char*' to 'char'"
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!