• 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. 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. 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. Help! I'm trying to make a game.

    [quote name='MrJoshL' timestamp='1345405192' post='4971188'] @Kripis One thing you will learn is that when people are giving you advice, you may not like it, but you don't just go call them a dick. I wasn't insulting you, I was just telling you that you aren't the first kid to think like you do and talk about it on this site. And no, you DO NOT know real math, or real computer science for that matter, both of which you need for game dev. I'm not saying give up and wait ten years and get some game development "degree" (which IMHO aren't a good choice. at all), but you do have quite a lot to learn, and by the time you learn it (I'd say a year of dedicated studying with minimal distractions, if you are really smart) you might even decide you don't "love" developing games, because the funnest part of developing isn't working on it, its seeing your finished work. And no, there are not a lot of people who can work on something as trivial as a computer game for a long amount of time. Just enjoy being a kid, and all that entails. Even if you did learn all the things, the time it takes for you to make something would almost ensure that you don't have friends, good grades, or happy guardians. I'm not saying be one of those idiotic mongrels that passes for a "good kid" these days, but still, quaternions, matrix transforms, frustum culling, entropy, data encoding, BSD sockets, function handles, random number generators, Mersenne primes, and a bazillion other topics might be a bit out of your reach now until you learn more. And no, you don't have to learn at the same pace as your educational institution. You can learn on your own, in probably a year. But like I said earlier, you have to be very SMART (not like Derpy Hooves), and dedicated to more than just making some game, you have to be dedicated to PROGRAMMING. [/quote] Well I don't like people stereotyping me thats all.
  9. Help! I'm trying to make a game.

    [quote name='MrJoshL' timestamp='1345388451' post='4971113'] You probably won't understand most, if not all, of the things you need to know to program a computer game. I would say you need to wait at least a couple of years, as you definitely NEED Algebra I and II and Linear, but Calculus does come in handy (not COMPLETELY necessary, but almost). And that is only for the graphics part (which is surprisingly only a small part of programming a game, about 10%). You definitely aren't the first kid out of your age group running over here for advice to implement their "great new idea." [/quote]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. 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. [code]#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; }[/code] 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