• The Land of Akthatos RPG: Development
    30 replies, posted
(NOTE: THIS IS NOT CODED IN C++ it is coded in JAVA the icon says c++ because is was the closest icon I could find) Hello, I'm Gob(Also reffered as Grubzy). I'm and old school coder, and I've been taught java over the months, and am ready to develop a basic game that will be added on with new features over the future. I'm only 16 and have much to learn about programming, but I want to start a project now so It can be even greater later. Short Simple Story: The Land of Akthatos will be an opensource, free RPG(sooner or later MMO) starting off text-based that is 100% random, and is welcome to anyone with java skills to edit. I'm starting off with simple(a bit) messy code, and will add new things and simply the code in future time. Anyways help is always needed. All java coders are welcome. Just post here for more info. I am currently working on this project. Progress (Engine Class): Race Choosing 100% Simple Race Stats 100% Name Choosing 100% Tutorial/Customization 3% 1.0.0 Beta Release Overall = 1% Progress (Randomizer Class): Random Name Generator 4% Adobbo Studios Team: Me(Ostap Hnatyuk) See How it works: [URL="http://adobbostudios.blogspot.com/2009/08/race-choosing.html"]Race Choosing[/URL] [URL="http://adobbostudios.blogspot.com/2009/08/simple-race-stats.html"]Simple Race Stats[/URL] [URL="http://adobbostudios.blogspot.com/2009/08/name-choosing.html"]Name Choosing[/URL] Also email me at [email]ostaph16@gmail.com[/email] Source codes will be released as the project moves on. You will be only getting the code for the Engine, and Main class. Other classes like Tools, and Randomizer have limited access.
This is really nice, I like to watch people developing programs as they go, it can be quite interesting, and a good way to expand knowledge throughout programmers. I will be watching this one.
Thank you for the support bigdoggie. Any ideas, code, or helpful information is open to discussion.
Thanks for taking my tip.
[QUOTE=Rowley;16804705]people are going to flame you.[/QUOTE] That's probably the point of this thread.
No idea why they would but removed.
[QUOTE=Gob;16804276]Java is a very diverse Object Oriented Language.[/QUOTE] I'm not sure what "diverse" means in this context, but alright. [QUOTE=Gob;16804276]Its fairly easy to learn yet is one of the most complex languages.[/QUOTE] Complexity is generally a bad thing. You probably should have chosen your words better. [QUOTE=Gob;16804276]It is currently the most used programing language for programs. Everyone uses it at least on a daily basis.[/QUOTE] This isn't true AT ALL. I'm not even sure where you got that idea. [QUOTE=Gob;16804276]Currently, and into the future it is recommended that if you are a programmer you need to get your hands on java because it will be the most important programming language soon to come[/QUOTE] That's unlikely. [QUOTE=Gob;16804276]with extremely relevant graphics power to other programming languages.[/QUOTE] I don't know WTF that even [I]means[/I].
[QUOTE=Gob;16804991]No idea why they would but removed.[/QUOTE] In this forum if you are not coding in c++, c# you aren't really programming. /s Just people who believe their language is the best ( mostly being those two languages )
I thought it was pretty obvious that the first post is meant to provoke... Just leave the Java stuff alone guys, if it's a serious thread it'll pull through without everyone flaming him and bashing Java.
I agree. Also java works on everything and has infinite possiblities. Robo do you have a cell phone, PDA, anything mobile or communication related.? If so you probably use java. Java runs everything thats not windows, linux, or mac. So basically java runs mostly everything. [url]http://www.youtube.com/watch?v=5EFb77oGRmo[/url] Anyways lets end this if you want to flame about java make a thread.
[QUOTE=Gob;16805420]I agree. Also java works on everything and has infinite possiblities. Robo do you have a cell phone, PDA, anything mobile or communication related.? If so you probably use java. Java runs everything thats not windows, linux, or mac. So basically java runs mostly everything. [url]http://www.youtube.com/watch?v=5EFb77oGRmo[/url] Anyways lets end this if you want to flame about java make a thread.[/QUOTE] Can you please point out where I said that Java wasn't portable? Because I cannot find it. I don't have a problem with Java. I have a problem with blatant propaganda. [editline]13:37AM[/editline] Also, you can't go "I'm right and you're wrong, now lets end this flame war" -- that's just bullshit. You either make a rebuttal (and perpetuate the argument), or you call for an end to it. Not both.
It is currently the most used programing language for programs. Everyone uses it at least on a daily basis. This isn't true AT ALL. I'm not even sure where you got that idea.
[QUOTE=Gob;16805742]It is currently the most used programing language for programs. Everyone uses it at least on a daily basis. This isn't true AT ALL. I'm not even sure where you got that idea.[/QUOTE] "It is currently the most used programing language for programs." Is completely incorrect. C is the most common programming language in use, if you include firmware and kernel-level code, with C++ in a close second. "Everyone uses it at least on a daily basis." Is usually not true. It [I]may[/I] run on [I]some[/I] embedded devices, but saying that [I]everyone[/I] uses it on a [I]daily[/I] basis is a stretch. It's probably about as common as Python on the desktop. Again, me disagreeing with either statement does [I]not imply[/I] that I believe Java is not portable, nor does it mean that I believe that Java is a poor language.
Quick, he's backmouthing Java. Lynch him! But seriously, he's not out of line (Though I do think Java is a lot more common than Python). Let's keep this about the game... ok?
[b]Again post a thread if your really serious about this.[/b] We can argue all day about it there. Everyone that owns a mobile device, or a computer will most likely use java at least once a day. Also we are not just talking about programs for the computer. But programs for ever electronic device. Java is a really new language and once it have the graphics capabilities of C(*) it will be the most used since you can do so much more things on it than on anything else. I know a few people actually have programmed for most of their lives and are programming in C(*) currently. They all agree that java will surpass C(*). Also why is almost every single highschool programming class in the US teaching JAVA instead of C? Now back to the game. I will be posting more blogs about it in the next hour or so.
[QUOTE=Gob;16806078][b]Again post a thread if your really serious about this.[/b] We can argue all day about it there. Everyone that owns a mobile device, or a computer will most likely use java at least once a day. Also we are not just talking about programs for the computer. But programs for ever electronic device. Java is a really new language and once it have the graphics capabilities of C(*) it will be the most used since you can do so much more things on it than on anything else. I know a few people actually have programmed for most of their lives and are programming in C(*) currently. They all agree that java will surpass C(*). Also why is almost every single highschool programming class in the US teaching JAVA instead of C? Now back to the game. I will be posting more blogs about it in the next hour or so.[/QUOTE] That's a good question my school taught C++ for years then moved to Java. [editline]03:46AM[/editline] [QUOTE=Rowley;16805225]In this forum if you are not coding in c++, c# you aren't really programming. /s Just people who believe their language is the best ( mostly being those two languages )[/QUOTE] To everyone rating me dumb: I didn't mean that lol just being sarcastic.
You forget that for java to even work, it has to have a VM that is coded in C/C++. That means it's always going to be slower. Yes, Java is on a lot of devices and such, and we use it everyday, but it is in no way a replacement to C/C++ or better than it. The only thing java really has going for it is app portability, but again that's because it's using a Virtual Machine so it's like running a Nintendo Rom.
[QUOTE=jivemasta;16807733]You forget that for java to even work, it has to have a VM that is coded in C/C++. That means it's always going to be slower. Yes, Java is on a lot of devices and such, and we use it everyday, but it is in no way a replacement to C/C++ or better than it. The only thing java really has going for it is app portability, but again that's because it's using a Virtual Machine so it's like running a Nintendo Rom.[/QUOTE] I agree very much, but as far as oo design goes, I like java much more than c++. Seems more logical to me or at least an improved sense of oo in it.
Java reminds me a lot of C++... or am I box?
I have nothing against java but really Gob.. Half the shit you are saying either makes no sense or is just not true. Yes I do know java for I learned it in my computer science class. This is not a win or loose situation, you are just plain and utterly wrong. I think this is a cool idea you have for a game and i hope that you finish.
[QUOTE=Gob;16806078] Java is a really new language [/QUOTE] If you consider 1995 new I guess. Newer than a lot of languages though, including Python. I work as a Java programmer. :v: [editline]11:02PM[/editline] [QUOTE=jivemasta;16807733] The only thing java really has going for it is app portability, but again that's because it's using a Virtual Machine so it's like running a Nintendo Rom.[/QUOTE] Unless you go the route of one my coworkers and use the dreaded SWT toolkit and then compile everything into exes. :ughh: I was really trying to get everything cross platform this time. He went back to college this week, so I'll be busy fixing his stuff for the next month.
[QUOTE=PvtCupcakes;16807928]I work as a Java programmer. :v:[/QUOTE] Aren't you glad it has a garbage collector? :D [QUOTE=PvtCupcakes;16807928]Unless you go the route of one my coworkers and use the dreaded SWT toolkit and then compile everything into exes. :ughh:[/QUOTE] It would still run in a VM though.
[QUOTE=jA_cOp;16808011]Aren't you glad it has a garbage collector? :D [/quote] Not really. :v: [quote]It would still run in a VM though.[/QUOTE] It does, but it defeats the whole purpose of Java. With SWT you have to have a build for Windows, a build for Mac, and a build for Linux. If you just stick to Swing you can run the same jar file on any computer that has Java.
@Race stats: Since Java is Object-oriented wouldn't it be much better to create classes for each race and just give members(dunno how it's called in Java) like: Orc.Resistances.Poison = 25 ?
[QUOTE=Alex22;16808346]@Race stats: Since Java is Object-oriented wouldn't it be much better to create classes for each race and just give members(dunno how it's called in Java) like: Orc.Resistances.Poison = 25 ?[/QUOTE] Yeah. You can even do a Race class (or interface) and have a Human class inherit from it.
[QUOTE=Alex22;16808346]Since Java is Object-oriented wouldn't it be much better to create classes for each race[/QUOTE] No, because that means the races are compiled into the program and and you can't change them or create new ones without editing the source code and recompiling. It's better to define the races and their stats (and weapons, and items, etc.) in data files that the program loads at runtime.
[QUOTE=Alex22;16808346]@Race stats: Since Java is Object-oriented wouldn't it be much better to create classes for each race and just give members(dunno how it's called in Java) like: Orc.Resistances.Poison = 25 ?[/QUOTE] No I just created a method. For all of the race based stats. If it soon gets to big of 1 method I'll move it into a class with multiple methods. Good idea though I'll organize classes such as cleric, wizard, barbarian, etc into classes. [editline]06:17AM[/editline] Hmm I actually decided to create a race class and heres the code for race stats. Is this good enough or can it get better? [code] public void racestats() { if(race.equalsIgnoreCase("Human")) { piety = 10; alignment = 5; } else if(race.equalsIgnoreCase("Orc")) { poisonresistance = 25; piety = 1; alignment = -3; } else if(race.equalsIgnoreCase("Light Elf")) { poisonresistance = 10; piety = 3; alignment = 3; } else if(race.equalsIgnoreCase("Undead")) { poisonresistance = 70; alignment = -5; } tool.cls(); System.out.println("Race Stats: " + race); System.out.println("Poison Resistance: " + poisonresistance); System.out.println("Piety: " + piety); System.out.println("Alignment: " + alignment); System.out.println(" "); } [/code] [editline]06:27AM[/editline] Also I'm trying to make a list of if, else ifs. I know theres a way to make it I just forgot. How would you do that?
I thought more of something like this: [code] class Race { public string racename; public int poisonresistance; public int intelligence; public bool evil; } [/code] As a class and in the main code you just write [code] Race HighElfs //Dim HighElfs as Race Object HighElfs.racename = "High Elfs"; HighElfs.poisonresistance = 10; HighElfs.intelligence = 25; HighElfs.evil = false; [/code] As i already said i never programmed in Java so i just wrote it fast in C-Sharp like code. Hope you can imagine what i mean.
Whats funny is that's almost exactly how java is coded. Looks good except you won't be able to see the races stats. You'd need a code like mine in order to do that. But if I combine something like that to mine that would work fine too.
[QUOTE=Funcoot;16807872]Java reminds me a lot of C++... or am I box?[/QUOTE] you're box. big differences.
Sorry, you need to Log In to post a reply to this thread.