There is this little framework that can be used to play around and have fun. The overhead is some the simplest in any game framework I have seen.
JGame: a Java/Flash game engine for 2D games
...
Type: Posts; User: Johannes
There is this little framework that can be used to play around and have fun. The overhead is some the simplest in any game framework I have seen.
JGame: a Java/Flash game engine for 2D games
...
I do believe that Notch used lwjgl game framework, which in turn uses a 1:1 (almost) implementation of c interface to opengl.
So this is how your learning path would probably look like.
- Java...
You have a ton of problems with syntax but that aside your logic problems stems from messy seperation of what each loop does.
Outer loop: adds 2 to the term, adds the fac result to the output...
Sure will, but progress is very slow due to school comming first, and we are busy lately.
Just stumpled upon a little game 2d game framework. So if you have a great idea for a game, but cant/wont implement it through standard channels, you should check it out:
JGame: a Java game engine...
I did Java blueJ, which I liked for a number of reasons, most important one being, it comes with its own ide, BlueJ. This seriously reduceses overhead before getting to actually program stuff, and...
Yeah thats what I ended up with, a switch case followed by 2 different regex, one for "normal" escapes and one for octals, then followed by other switches. I just thought it would be more elegant to...
//String at exe //Wanted Result
\b (backspace)
\\ \
dasfasdf\\addaf dasfasdf\addaf
But since the string at execution is already escaped, I cant figure out how to do it...
I want the compiler to do escaping one more time.
Take string "\\b"
Do escaping -> "\b"
Take string "\b"
Do escaping -> 'backslash' (escape symbol)
The reason being Im trying to make my own...
First of, sorry for the poor title, I dont know how to describe it in a better way.
My problem is as follows. I have a string where I need to do the vm's escape evalutation twice.
One time...
You my good man, are quite mad! fixing for old versions ie, will break your brain. True story
Hello toterzuko
I think you really need to go over course material or the lecture again. The mistakes you have made shows, that you are off on the very fundamentals of java. This will haunt you in...
Im doing a compiler class right now at uni, and the dragon book is core material. Pretty tough reading, but you really cant do a compiler without it (or a similar book).
I can safely say, that...
I dont understand, are you planning further education, or do you want to get straight into it? I would suggest collage (computer science) first, then thinking about what you wonna do.
In denmark...
Hello Varial.
Programming is like most everything else in life, some people can just do it very well right of the bat, the rest of us has to grind grind grind to get any good.
Here is what I...
The 17x17 panels represents part of a gameworld, which is made up of a large 2d array of Tiles.
So it reads from the large array, if a certain tile holds a Monster or a water or whatever.
If the...
I have to a lot of sub-panels to a larger 17, 17 gridlayout panel. However a lot of the panels I want to add, are the same. I have gotten the code to work, but only when a new instance of the same...
Hello Miss Concfused
Here is an example of what I like posts requesting help to look like.
First post your code, either the whole thing, or the specific problem area. You did so in this case,...
Even if you managed to decom the code, how would you pull data out of it? Can only be done with very sloppy and unencapsulated code, which I must assume pro game programmers do not make.
Afaik the...
After having a closer look at your code, I have been able to take out most of the mistakes. However, 3 remains, since you use an undeclared or initiated variable e
else if (e.getSource() == ...
Dont know if this has been answered or not, but you are using local variables, and expecting a global change. You have to either make i global, or change within the main method
Oracle is a huge player in the database vendor world, soo them sticking to java garantees that there will be java jobs in the future. IBM's db family also works perfectly well with java, so in the...
Your structure seems a little confusing.
First of, you should generaly aim to avoid using static fields and objects. While it is usefull at times, OOP is exactly aiming to avoid this as much as...
You could introduce a new field called count. Adding an item to the items purchased increments the variable, while bying sets it to 0.
Do you need to make an implementation, or do you just need a cosine function?
If you just need cosine for somthing else, then check the Math class. It contains a cos method.