[QUOTE=s0ul0r;19714691]I love the idea of you creating a commercial application like 1 day after starting on a programming book.[/QUOTE]
I have no idea how you missed that joke
Reading up about Git and how to use it. It's features over SVN are just what I need.
[QUOTE=Eleventeen;19718431]Reading up about Git and how to use it. It's features over SVN are just what I need.[/QUOTE]
You had to do it... didn't you?
[QUOTE=Xama;19718484]You had to do it... didn't you?[/QUOTE]
I'm not saying SVN or Git are better than one or another, I'm saying I'm using Git instead because it has features that I could use as compared to SVN. It's a matter of choice.
Well, I updated my game and fixed a few things. This was made yesterday and there are more features now as of this time compared to the video. But here it is:
[media]http://www.youtube.com/watch?v=3fgEXZ7uOAk[/media]
Sorry for the poor quality, I need to find a better screen recorder but I did actually take the reply to my first post into consideration and re-made the background. Hope you like. :)
[QUOTE=Eleventeen;19718971]I'm not saying SVN or Git are better than one or another, I'm saying I'm using Git instead because it has features that I could use as compared to SVN. It's a matter of choice.[/QUOTE]
For Resurrecting an Old Flamewar, the punishment shall be DEATH. May god have mercy on your soul.
How did you not skip a beat?
Started brush editing.. progressed quite quickly. Concentrating on geometry for now, textures can come later.
[img]http://dl.dropbox.com/u/3590255/Screenshots/Botch/19Jan2010_002.png[/img]
[QUOTE=high;19717605]With boost::bind, is there a nicer way to have the following?
boost::bind(&FollowDumpPatch::MsgHandler, this, _1, _2, _3, _4, _5, _6, _7, _8))
The _1-_8 gets repetitive when you have a lot of these.[/QUOTE]
No.
Why do you have that many parameters anyways?
EAX through ESI, although I guess I should pack them into a structure. Just haven't changed it since the way it goes from assembly to C++.
[QUOTE=garry;19721271]Started brush editing.. progressed quite quickly. Concentrating on geometry for now, textures can come later.
*pic*
[/QUOTE]
Wow, that looks pretty cool. One question though, what are you hoping to do with the engine? I mean, it's quite obvious it is for making games but on what platform. I remember reading your blog mentioning XNA or something like that. Is that your next goal? Also, just out of curiosity, what language are you using?
[editline]01:02PM[/editline]
One more thing. Can somebody help me out a little with Java? The task I currently have is to change the text in the messagebox's frame. Currently it just says "Meddelande", which is message in Swedish and to change the icon from an "i" to a warning sign.
[img]http://filesmelt.com/dl/test2.PNG[/img]
According to my book, the showMessageDialog thing got a total of four parimiters. I have only used two, which are null and the text that is being shown. There are two more which defines the frame text and the icon that is displayed but I have no idea how to access these. Any help would be appriciated.
[code]import javax.swing.*;
import java.awt.*;
import java.util.*;
public class Messages {
public static void main (String[] arg) {
JOptionPane.showMessageDialog(null, "Warning!");
Toolkit.getDefaultToolkit().beep();
System.exit(0);
}
}
[/code]
There are a lot of different overloads for different purposes in the JOptionPane class.
See the [url=http://java.sun.com/javase/6/docs/api/index.html?javax/swing/JOptionPane.html]Java API documentation[/url] to find what you need.
[QUOTE=tjl;19721452]There are a lot of different overloads for different purposes in the JOptionPane class.
See the [URL="http://java.sun.com/javase/6/docs/api/index.html?javax/swing/JOptionPane.html"]Java API documentation[/URL] to find what you need.[/QUOTE]
Oh god that's a whole lot. But my book says that there should be two more parimiters. I tried to add them but it's not like I know what they look like. Or well, I do know one of them. The one to change icon, no idea where to put it though.
JOptionPane.WARNING_MESSAGE,
[QUOTE=CommanderPT;19721380]According to my book, the showMessageDialog thing got a total of four parimiters. I have only used two, which are null and the text that is being shown. There are two more which defines the frame text and the icon that is displayed but I have no idea how to access these. Any help would be appriciated.
[code]import javax.swing.*;
import java.awt.*;
import java.util.*;
public class Messages {
public static void main (String[] arg) {
JOptionPane.showMessageDialog(null, "Warning!");
Toolkit.getDefaultToolkit().beep();
System.exit(0);
}
}
[/code][/QUOTE]
your indenting:
:wtc:
also, if you can't figure out how to access additional parameters, you need to take a step back and read the Java book again, but paying attention this time.
And if the book doesn't explain method calls, it's not a very good book
[QUOTE=turby;19721502]your indenting:
:wtc:
also, if you can't figure out how to access additional parameters, you need to take a step back and read the Java book again, but paying attention this time.
And if the book doesn't explain method calls, it's not a very good book[/QUOTE]
Well, the book is in Swedish, so it kinda gives me trouble when I try to explain the names of things. Which is quite annoying.
And I found this:
[code][B][URL="http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html#showMessageDialog%28java.awt.Component,%20java.lang.Object,%20java.lang.String,%20int,%20javax.swing.Icon%29"]showMessageDialog[/URL][/B]([URL="http://java.sun.com/javase/6/docs/api/java/awt/Component.html"]Component[/URL] parentComponent, [URL="http://java.sun.com/javase/6/docs/api/java/lang/Object.html"]Object[/URL] message, [URL="http://java.sun.com/javase/6/docs/api/java/lang/String.html"]String[/URL] title, int messageType, [URL="http://java.sun.com/javase/6/docs/api/javax/swing/Icon.html"]Icon[/URL] icon)
Brings up a dialog displaying a message, specifying all parameters.[/code]
[editline]01:15PM[/editline]
I'll just try and solve it myself I suppose.
[QUOTE=CommanderPT;19721485]Oh god that's a whole lot. But my book says that there should be two more parimiters. I tried to add them but it's not like I know what they look like. Or well, I do know one of them. The one to change icon, no idea where to put it though.
JOptionPane.WARNING_MESSAGE,[/QUOTE]
It's not terribly complicated. You can ignore 95% of the information on that page.
Simply scroll down to the Method Summary section, find showMessageDialog (it's near the bottom), click on it, and it will jump to the method details.
There is a summary for each overload, and a list of all the parameters. One of the 3 overloads is the one you are looking for.
[editline]04:18AM[/editline]
you found it!
[QUOTE=tjl;19721536]It's not terribly complicated. You can ignore 95% of the information on that page.
Simply scroll down to the Method Summary section, find showMessageDialog (it's near the bottom), click on it, and it will jump to the method details.
There is a summary for each overload, and a list of all the parameters. One of the 3 overloads is the one you are looking for.
[editline]04:18AM[/editline]
you found it![/QUOTE]
I did? Well, now to implement it. It looks exactly the same it seems. I will try and report back. Thanks for the help guys.
[editline]01:27PM[/editline]
I think I need to reread the chapter again since I have no idea where to put it. I mean, since it looks the same as the old one but still isnt llaldskjdaklajwl confusing!
The only difference between the two are the parameters. Based on the number and type of parameters, Java can tell which one you want to call.
[QUOTE=tjl;19721676]The only difference between the two are the parameters. Based on the number and type of parameters, Java can tell which one you want to call.[/QUOTE]
Geh, it's too complicated for me to do that at the moment. My brain hurts. I'll take a break and play some games for now. :v:
[QUOTE=dezek;19712826][img_thumb]http://facepalm.se/img/Texturerereer.png[/img_thumb]
I really start to love exploring my planets now. I'm almost done with the more detailed texturing and after that I only need to do some tweaking to make the landscape even more interesting to explore.
As seen in the picture there's maybe at bit too much sand but I'm making everything very easy to customize so it shouldn't be a problem for me to change that later :D
My deadline is 25th March so depending on the amount of tweaking I should have enough time to add some more stuff, like clouds and starfields.[/QUOTE]
add life
Add like animals and trees and stuff. :D
[QUOTE=raccoon12;19722460]add life[/QUOTE]
Actually, render a 3D Game of Life implementation on that :v:
Just got the news... I'm going to college next year and here is what I have to take...
Computing (for obvious reasons)
Maths (Yah, also pretty obvious)
Physics (Aww hell naw... Meh, it's alright I suppose)
I wanna be a game programmer
Hahah, in England we would call it a "University". You crazy yanks! ;)
I recently got an offer from Cambridge University to do Computer Science. I was so happy... I'm going to Churchill College, if anyone cares.
[QUOTE=Loli;19724190]Just got the news... I'm going to college next year and here is what I have to take...
Computing (for obvious reasons)
Maths (Yah, also pretty obvious)
Physics (Aww hell naw... Meh, it's alright I suppose)
I wanna be a game programmer[/QUOTE]
What's wrong with you...Physics is awesome!
[QUOTE=TheBoff;19724391]I'm going to Churchill College, if anyone cares.[/QUOTE]
[url=http://www.churchill.com/images/banner-plain.jpg]Ohhhhh yes?[/url]
Hahahah, indeed. It's "the nations tribute to Churchill", by which I assume it means the war leader, rather than the comic dog. That would explain the huge bust of churchill they have, although maybe that's only for open days :D.
Also, I like the way Churchill warrants a single university college, whilst the Americans built Teddy Roosevelt, who didn't even have anything to do with the war, a huge fucking museum.
I'm also going to university soon, but I still haven't decide if I should go computing or physics. 5 years of real education, can't wait! :D
Computer Science is where it's at.
[QUOTE=CommanderPT;19721380]Wow, that looks pretty cool. One question though, what are you hoping to do with the engine? I mean, it's quite obvious it is for making games but on what platform. I remember reading your blog mentioning XNA or something like that. Is that your next goal? Also, just out of curiosity, what language are you using?
[editline]01:02PM[/editline]
One more thing. Can somebody help me out a little with Java? The task I currently have is to change the text in the messagebox's frame. Currently it just says "Meddelande", which is message in Swedish and to change the icon from an "i" to a warning sign.
[img_thumb]http://filesmelt.com/dl/test2.PNG[/img_thumb]
According to my book, the showMessageDialog thing got a total of four parimiters. I have only used two, which are null and the text that is being shown. There are two more which defines the frame text and the icon that is displayed but I have no idea how to access these. Any help would be appriciated.
[code]//code
[/code][/QUOTE]
What IDE are you using? NetBeans and Eclipse show all available overloaded versions (that means it has the same name, but different parameters) of a method when you start entering it.
It even shows what the different parameters do and how to use it.
[QUOTE=TheBoff;19724391]Hahah, in England we would call it a "University". You crazy yanks! ;)
I recently got an offer from Cambridge University to do Computer Science. I was so happy... I'm going to Churchill College, if anyone cares.[/QUOTE]
If he was going to university I doubt he'd be doing three seperate subjects, unless he's superman and can juggle 3 degrees :v: I think he meant college as college.
Congrats on getting into Cambridge :D I got an offer to Aberystwyth to do Artificial Intelligence & Robotics, it's gonna be sooo coool.
Sorry, you need to Log In to post a reply to this thread.