ok well im going to try and make my first java game XD hopefully itll work how do you make the coding for a game though?
There's several things you'll need.
First of all you need to know that programming languages are either compiled or interpreted. Compiled means that you write up a program, use a compiler for the programming language, and it turns your code into machine code (what the computer can read 'word for word'). Interpreted languages are directly read line-by-line when you make and run a program.
Java is a compiled language.
Python, for example, is an interpreted language.
Now how do you get a compiler? A good place to look is for an IDE, or 'integrated development environment'. It helps you code for a number of reasons, but many times they have compilers built into them. When I was in school trying to get my brain around Java we used a program called JGrasp to write and compile programs.
I'll tell ya now, if you're starting off fresh with programming then Java is a hard way to go. It is very picky with your 'syntax' (i.e. how you style/format/write the code). Python is very easy to learn, as I found out in freshman Comp Sci at my university.
Before writing a game you'll need to learn a few other things.
What's a variable? What're strings? What is an array? What are 'methods' (or for robotics, subroutines; if you played Halo 1 recall that Cortana said something about subroutines waaay back at the beginning of the game).
Also, relearn the meaning of the word 'Function' (as in y = mx + b math functions).
Function == method == subroutine lots of times. You have a series of operations that take an input and do something to it which produces an output.
Scan Kevin's code over a few times. He's got comments and good syntax. Good example to learn from. Reminds me of learning from one of my older friends a few years back who is a software engineer.
Oh and remember: You write code nicely because inevitably humans are going to read it. Machines use the code, but they have a lot of leeway with how you organize a great many things. Humans NEED organization, comments to explain what the hell you're doing, etc. This includes you. Write a program, don't put comments, and look back at it in two years. You won't know what the hell you're doing where. Very important!
I never really liked using currency in servers anyway, to be honest.
My biggest problem is that I wouldn't have any reliable income whenever a server would try to use it. I couldn't buy anything. I could barter the hell out of everything because I had lots of materials, but I couldn't buy/sell to anyone that adamantly used the currency system.
Granted it might work better on an RP server than normal servers, but I couldn't say for sure.
I actually don't know how to use the real advanced programmers to be honest, but I occasionly like to play with these game makers I have on my computer that don't really require any programming knowledge to know how to use, but are still fun to try to make games with. (Things like RPG Maker 2003)
We will be bartering. Sorry currency is a hard thing to agree on so we think bartering is the best choice.
Cool, i think bartering fits better with minecraft anyway. Currency systems i've seen typically used gold iron and diamonds. There was one server i played where they used slimeballs for currency, which i thought was effective since getting more slimeballs meant selling stuff, or finding a slime and killing it.
There was also a bukkit that let you set up chests as shops, but other players always filled it with wheat and sugarcane, making it so if you wanted to sell something, you'd have to buy a stack of wheat or sugar.
Rollback Post to RevisionRollBack
Do you guys like mods? Do you like magic? Do you enjoy the idea of adding magic to minecraft? Check out my channel, and see just how awesome minecraft with magic can be! --> http://www.youtube.c.../darkpheonix005
That all depends on what the admins/etc. have set up so far. I imagine the city's been done for a while and they've been working on other things since. If they continued editing the map in some way then they might've added in roads of some sort to facilitate village/town creation later on. Although such a thing may be left to us once the server is up and running.
That all depends on what the admins/etc. have set up so far. I imagine the city's been done for a while and they've been working on other things since. If they continued editing the map in some way then they might've added in roads of some sort to facilitate village/town creation later on. Although such a thing may be left to us once the server is up and running.
XD its funny because we've ran into problems lately and that slowed us down on building the main city. so no we don't have any small villages, Yet. But on the subject of you all building villages, You will be able to but there are rules. those rules will be explained in game or on the forums when everything is up.
XD its funny because we've ran into problems lately and that slowed us down on building the main city. so no we don't have any small villages, Yet. But on the subject of you all building villages, You will be able to but there are rules. those rules will be explained in game or on the forums when everything is up.
What does VPS stand for? Sorry if that's a dumb queistion.
Virtual Private Server
Basically you've got the physical server machine with lots of memory, hard storage space, etc. etc. and the server's memory and resources are split between memory partitions (a slice of the pie that is the computer's memory and bandwidth). Each partition would have an operating system with, again, just a slice of the server's resources. The server has many more gigabytes of memory and a much faster processor that typical PCs have, even gaming ones for that matter (tradeoff: lack of graphics capabilities).
Our Minecraft server will be loaded onto a, most likely, Windows partition on the physical server.
Man, unfortunately I won't be able to spend all night playing Minecraft should the server come up tonight. Got an important presentation tomorrow with a friend of mine to go to.
There's several things you'll need.
First of all you need to know that programming languages are either compiled or interpreted. Compiled means that you write up a program, use a compiler for the programming language, and it turns your code into machine code (what the computer can read 'word for word'). Interpreted languages are directly read line-by-line when you make and run a program.
Java is a compiled language.
Python, for example, is an interpreted language.
Now how do you get a compiler? A good place to look is for an IDE, or 'integrated development environment'. It helps you code for a number of reasons, but many times they have compilers built into them. When I was in school trying to get my brain around Java we used a program called JGrasp to write and compile programs.
I'll tell ya now, if you're starting off fresh with programming then Java is a hard way to go. It is very picky with your 'syntax' (i.e. how you style/format/write the code). Python is very easy to learn, as I found out in freshman Comp Sci at my university.
Before writing a game you'll need to learn a few other things.
What's a variable? What're strings? What is an array? What are 'methods' (or for robotics, subroutines; if you played Halo 1 recall that Cortana said something about subroutines waaay back at the beginning of the game).
Also, relearn the meaning of the word 'Function' (as in y = mx + b math functions).
Function == method == subroutine lots of times. You have a series of operations that take an input and do something to it which produces an output.
Scan Kevin's code over a few times. He's got comments and good syntax. Good example to learn from. Reminds me of learning from one of my older friends a few years back who is a software engineer.
Oh and remember: You write code nicely because inevitably humans are going to read it. Machines use the code, but they have a lot of leeway with how you organize a great many things. Humans NEED organization, comments to explain what the hell you're doing, etc. This includes you. Write a program, don't put comments, and look back at it in two years. You won't know what the hell you're doing where. Very important!
Also, google has many answers.
In other news:
k that seems easier anyways by any chance will ghast bombs destroy stuff?
My biggest problem is that I wouldn't have any reliable income whenever a server would try to use it. I couldn't buy anything. I could barter the hell out of everything because I had lots of materials, but I couldn't buy/sell to anyone that adamantly used the currency system.
Granted it might work better on an RP server than normal servers, but I couldn't say for sure.
Isn't that a remix from that one song on lazy town?
I'll see your Alestorm, and raise you
:biggrin.gif:
Cool, i think bartering fits better with minecraft anyway. Currency systems i've seen typically used gold iron and diamonds. There was one server i played where they used slimeballs for currency, which i thought was effective since getting more slimeballs meant selling stuff, or finding a slime and killing it.
There was also a bukkit that let you set up chests as shops, but other players always filled it with wheat and sugarcane, making it so if you wanted to sell something, you'd have to buy a stack of wheat or sugar.
That all depends on what the admins/etc. have set up so far. I imagine the city's been done for a while and they've been working on other things since. If they continued editing the map in some way then they might've added in roads of some sort to facilitate village/town creation later on. Although such a thing may be left to us once the server is up and running.
XD its funny because we've ran into problems lately and that slowed us down on building the main city. so no we don't have any small villages, Yet. But on the subject of you all building villages, You will be able to but there are rules. those rules will be explained in game or on the forums when everything is up.
ok thanks
Imperator - Augustus
*meaningless gibberish as my mind dies in excitment*
Amaaazing!
What does VPS stand for? Sorry if that's a dumb queistion.
Virtual Private Server
Basically you've got the physical server machine with lots of memory, hard storage space, etc. etc. and the server's memory and resources are split between memory partitions (a slice of the pie that is the computer's memory and bandwidth). Each partition would have an operating system with, again, just a slice of the server's resources. The server has many more gigabytes of memory and a much faster processor that typical PCs have, even gaming ones for that matter (tradeoff: lack of graphics capabilities).
Our Minecraft server will be loaded onto a, most likely, Windows partition on the physical server.
Man, unfortunately I won't be able to spend all night playing Minecraft should the server come up tonight. Got an important presentation tomorrow with a friend of mine to go to.
Virtual Private Server. It's the host.
Imperator - Augustus