• What are you working on? v16
    5,004 replies, posted
[QUOTE=Dlaor-guy;28322854][url]http://love2d.org/wiki/LUBE[/url][/QUOTE] thanks
[QUOTE=CarlBooth;28322768]Doesn't change the fact I still won't be adding you.[/QUOTE] rude
Can anyone test this on their PC and see what happens? [url]http://anyhub.net/file/1YMG-release.zip[/url] Please note which OS 86x/64x you are using and if you have an ATI or a NVIDIA video card. I can't get this sample working on my PC, because apparently there's a bug that causes SFML apps to freeze instantly when you have an ATI card, see [url]http://www.sfml-dev.org/forum/viewtopic.php?t=3438[/url] .
Works, 64x W7, nvidia gtx 285
Works x86 W7, Intel Integrated.
[QUOTE=Dlaor-guy;28322978]Can anyone test this on their PC and see what happens? [url]http://anyhub.net/file/1YMG-release.zip[/url] Please note which OS 86x/64x you are using and if you have an ATI or a NVIDIA video card. I can't get this sample working on my PC, because apparently there's a bug that causes SFML apps to freeze instantly when you have an ATI card, see [url]http://www.sfml-dev.org/forum/viewtopic.php?t=3438[/url] .[/QUOTE] Works for me on Windows 7 x64 nVidia GeForce 9600GT (1GB onboard RAM) ~nVidia supremacy~~~ Edit: Ah, what am I working on... I just started my entry to the programming competition. I'm a bit stuck though, problem is detailed here if anyone feels like helping me out: [url]http://www.facepunch.com/threads/1053117-What-do-you-need-help-with-v2?p=28321527&viewfull=1#post28321527[/url]
Well that's great, my own game works for everyone except for me... I wanted to use SFML.NET as my game engine, but I'm going to have to choose something else now unless Laurent fixes the ATI card issue :smith:
[QUOTE=bootv2;28323319]you should statically link the libraries, that will fix any sfml issues you're having with a ati card(I'm using a ati HD5770 and it works for me) let's say you're linking sfml-window-d.lib then you should make that sfml-window-s-d.lib test it and it will work.[/QUOTE] I'm talking about the C# version of SFML... C# doesn't have this "linking" you are speaking of. You only add references to certain DLL's and you can automatically use the functions/classes/whatever they provide.
I found a fix, finally! [url]http://www.kn00tcn.net/site/cities-in-motion-startup-crash-fix/[/url] If you download [url=http://www.kn00tcn.net/kn-atigktxx-10.4.zip]this file[/url] and place it in the same directory as the .exe file, it suddenly works! HELL YEAH! :buddy: Also, major thanks to everyone who tested it!
[QUOTE=BipolarPanda;28322924]rude[/QUOTE] but entirely necessary.
Just come back from holiday, and seeing as i dont *entirely* want to sift through 600 something posts Did overv (?) ever get anywhere with his OpenGL wiki thing?
[cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { bok b1 = new book(); b1.title = "Parry Hotter & the stone that nobody cares about"; b1.author = "K.J. Råvling"; b1.pages = 524; b1.price = 34; bok b2 = new book(); b2.title = "Twilight: Vampires that glitter"; b2.author = "Batman"; b2.pages = 412; b2.price = 26; } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; } [/cpp] Yay for objects. I am progressing so slowly. This is object oriented programming. Right?
[QUOTE=Dlaor-guy;28323544]I found a fix, finally! [url]http://www.kn00tcn.net/site/cities-in-motion-startup-crash-fix/[/url] If you download [url=http://www.kn00tcn.net/kn-atigktxx-10.4.zip]this file[/url] and place it in the same directory as the .exe file, it suddenly works! HELL YEAH! :buddy: Also, major thanks to everyone who tested it![/QUOTE] Thank you soo much for this
[QUOTE=CommanderPT;28325219][cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { bok b1 = new book(); b1.title = "Parry Hotter & the stone that nobody cares about"; b1.author = "K.J. Råvling"; b1.pages = 524; b1.price = 34; bok b2 = new book(); b2.title = "Twilight: Vampires that glitter"; b2.author = "Batman"; b2.pages = 412; b2.price = 26; } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; } [/cpp] Yay for objects. I am progressing so slowly. This is object oriented programming. Right?[/QUOTE] Your programming is oriented around objects. So yeah. :v:
[QUOTE=BlkDucky;28325442]Your programming is oriented around objects. So yeah. :v:[/QUOTE] Wonderful.
[QUOTE=Icedshot;28325027]Just come back from holiday, and seeing as i dont *entirely* want to sift through 600 something posts Did overv (?) ever get anywhere with his OpenGL wiki thing?[/QUOTE] Dont think so, he is now a mod tho
[QUOTE=CommanderPT;28325219][cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { bok b1 = new book(); b1.title = "Parry Hotter & the stone that nobody cares about"; b1.author = "K.J. Råvling"; b1.pages = 524; b1.price = 34; bok b2 = new book(); b2.title = "Twilight: Vampires that glitter"; b2.author = "Batman"; b2.pages = 412; b2.price = 26; } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; } [/cpp] Yay for objects. I am progressing so slowly. This is object oriented programming. Right?[/QUOTE] May want to check anywhere you used the word "bok"
[QUOTE=CommanderPT;28325219][cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { bok b1 = new book(); b1.title = "Parry Hotter & the stone that nobody cares about"; b1.author = "K.J. Råvling"; b1.pages = 524; b1.price = 34; bok b2 = new book(); b2.title = "Twilight: Vampires that glitter"; b2.author = "Batman"; b2.pages = 412; b2.price = 26; } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; } [/cpp] Yay for objects. I am progressing so slowly. This is object oriented programming. Right?[/QUOTE] Just a little note for the future when you have many classes and you need readability and whatnot: generally, classes start with uppercase.
[QUOTE=CommanderPT;28325219][cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { bok b1 = new book(); b1.title = "Parry Hotter & the stone that nobody cares about"; b1.author = "K.J. Råvling"; b1.pages = 524; b1.price = 34; bok b2 = new book(); b2.title = "Twilight: Vampires that glitter"; b2.author = "Batman"; b2.pages = 412; b2.price = 26; } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; } [/cpp] Yay for objects. I am progressing so slowly. This is object oriented programming. Right?[/QUOTE] OOP is OP!!! Nerf pls! Derp derp derp
[QUOTE=bobiniki;28327148]OOP is OP!!! Nerf pls! Derp derp derp[/QUOTE] I'm still trying to understand what you were attempting to convey with this post...
[QUOTE=geel9;28326383]Just a little note for the future when you have many classes and you need readability and whatnot: generally, classes start with uppercase.[/QUOTE] Thats just code formating, [url]http://en.wikipedia.org/wiki/CamelCase[/url]. It's called constructors: [cpp] import javax.swing.JOptionPane; public class booklist { public static void main (String[] arg) { book b1 = new book("Parry Hotter & the stone that nobody cares about", "K.J. Råvling", 524, 34); book b2 = new book("Twilight: Vampires that glitter", "Batman", 412, 26); } } //Object called Book. How convenient. class book{ String title; String author; int pages; int price; public book(String _Title, String _Author, int _Pages, int _Price) { title = _Title; author = _Author; pages = _Pages; price _Price; } } [/cpp]
[QUOTE=DevBug;28327241]Thats just code formating, [url]http://en.wikipedia.org/wiki/CamelCase[/url].[/QUOTE] That's why I referred to readability.
It sucks when something doesn't seem to be working, and you try to figure out what the hell is wrong, and then several hours later, you realize that it was working perfectly fine, but one little thing needed to be changed for it to work the way you wanted it to. Anyway, after experiencing one such debacle, I finally got objects working: [img]http://i.imgur.com/pcAkC.png[/img]
[QUOTE=geel9;28327304]That's why I referred to readability.[/QUOTE] That's personal preference. Some people like to do a mix with Hungarian and CamelCase: [cpp] class IFoo { public: virtual ~IFoo() { } virtual void Hello() = 0; } class CBar : public IFoo { public: CBar(const std::string& Msg) : m_Msg(Msg) { } void Hello() { std::cout << Msg << std::endl; } private: std::string m_Msg; } [/cpp] Some like Hungarian: [cpp] class intFoo { public: virtual ~intFoo() { } virtual void Hello() = 0; } class classBar : public intFoo { public: classBar(const std::string& Msg) : m_Msg(Msg) { } void Hello() { std::cout << Msg << std::endl; } private: std::string m_Msg; } [/cpp]
[QUOTE=DevBug;28327241]Thats just code formating, [url]http://en.wikipedia.org/wiki/CamelCase[/url].[/QUOTE] Do you know if theres any wiki articles that explain all these type of standards? Like CamelCase, underscoring private members... PS: When i was tough programming, I was tough to have the first word lower case and the first letter of the rest of them upper. So: myVariable
[img]http://img27.imageshack.us/img27/384/randommaze5.png[/img] I finally got the maze to trim, but at this point I barely understand what's going on anymore. It just works now.
So much roguelikes lately.
[QUOTE=Dlaor-guy;28327725]So much roguelikes lately.[/QUOTE] it's not like it's a bad thing
[QUOTE=Richy19;28327687]Do you know if theres any wiki articles that explain all these type of standards? Like CamelCase, underscoring private members... PS: When i was tough programming, I was tough to have the first word lower case and the first letter of the rest of them upper. So: myVariable[/QUOTE] I'm interested in how you become a tough programmer
[QUOTE=spear;28327497]It sucks when something doesn't seem to be working, and you try to figure out what the hell is wrong, and then several hours later, you realize that it was working perfectly fine, but one little thing needed to be changed for it to work the way you wanted it to. Anyway, after experiencing one such debacle, I finally got objects working: [img_thumb]http://i.imgur.com/pcAkC.png[/img_thumb][/QUOTE] Speaking of which: [media]http://gyazo.com/9ca879e7167a2648c26b3800d04bc147.png[/media] Started adding a proper interface to pick up items with. The text is horribly aligned but :effort: Edit: Quick update, you can also filter which types of items to show: [media]http://gyazo.com/9c6bc1567650ca9713b017fa77073504.png[/media] [media]http://gyazo.com/ce7ae920e044dbba7d5606a598821a2a.png[/media] [media]http://gyazo.com/46821785e73eab78b9511f05ec5451cf.png[/media]
Sorry, you need to Log In to post a reply to this thread.