• What are you working on? v19
    6,590 replies, posted
[QUOTE=Quark:;30969521]Just added an option to enable my theme! Was actually a good idea, thanks! :)[/QUOTE] You sound surprised that I had a good idea :v:
[QUOTE=Chris220;30969792]You sound surprised that I had a good idea :v:[/QUOTE] It's not that, I just initially thought it'd be dumb. I'm adding so much customization to a program that runs in the background - you hardly even [I]see[/I] the main menu! :v:
[QUOTE=Zyx;30969598]I got shadows to somewhat work [IMG]http://www.facepunch.com/fp/ratings/heart.png[/IMG] Now I know it looks kinda bad and beginner'ish, but then again that's what I am with graphics and any sort of "Gameplay" at least. In any case I'm actually proud of getting it to work like that at least.[/QUOTE] Doesn't look entirely accurate. What algorithm are you using?
[QUOTE=Quark:;30967361]I'm running XP, and I hate the XP theme, so I downloaded some dumb Windows 7 theme :) Here it is with the default [IMG]http://gyazo.com/265eb0f71d23a19cce6efac1f19a82ac.png[/IMG] Thanks, by the way! :D[/QUOTE] By the way, the default theme is Luna. AKA blue taskbar with green start button.
[QUOTE=BlkDucky;30970422]Doesn't look entirely accurate. What algorithm are you using?[/QUOTE] I used a simple algorithm if you could even call it that: If the tile on the same horizontal OR vertical line: Go one tiler closer to the player tile until you hit the player tile. If not, it would just check one tile diagonally closer to the player tile. TpTTTTT T*TTTTT T*TTTTT TT*TTTT TTTSTTT Sorta like that. It works, but it's hardly perfect :v: I was told about Bresenham line algorithm which I will try and use later. Also secondary shadows: [IMG]http://i56.tinypic.com/33mv40p.jpg[/IMG]
That's how light behaves in a (bit modified) taxicab universe. [editline]7th July 2011[/editline] Euclidean geometry is too mainstream
[QUOTE=Dlaor-guy;30968980]Unfortunately I'm still changing how it looks and adding gravity and stuff like that... so now it doesn't look like the picture at all anymore. [URL="http://i.imgur.com/vUrKM.png"](here's how it looks now, btw)[/URL][/QUOTE] Oh damn, that would've made a great background with those vibrant colours. Thanks anyways =]
#include <iostream> using namespace std; int main() { int potatos; int bananas; int oranges; cout << "Enter number of potatos: "; cin >> potatos; cout << "\n"; cout << "Enter number of bananas: "; cin >> bananas; cout << "\n"; cout << "Enter number of oranges: "; cin >> oranges; cout << "\n"; cout << "So you have " << potatos << " potatos.." << endl; cout << bananas << " bananas.. and " << oranges << " oranges?" << endl; cout << "In other words, you have " << potatos << " vegetables, and " << oranges + bananas << " fruits." << endl; cout << "All together, you have " << potatos + (oranges + bananas) << " things to eat. Delicious!" << endl; cout << "\n"; return 0; } i made this. :o i'm new at C++ and programming in general.
[QUOTE=bvckwheat;30971881]snip[/QUOTE] [noparse][cpp][/cpp] tags exist, by the way.[/noparse] At least I think they still do...
[QUOTE=bvckwheat;30971881]potatos + (oranges + bananas)[/QUOTE] You don't need those brackets, considering all you're doing there is addition, you can do it in any order you like without any brackets in there :smile:
i see. [editline]7th July 2011[/editline] [QUOTE=Chris220;30972135]You don't need those brackets, considering all you're doing there is addition, you can do it in any order you like without any brackets in there :smile:[/QUOTE] yeah, i realized that. but when i was writing it at first, i accidentally put [b]potatos + vegetables + bananas[/b] and obviously, there was an error lol. so i added the brackets, saw it said vegetables, fixed it and never took the brackets off. i think it makes it look more classy. :v:
[QUOTE=bvckwheat;30972139]i think it makes it look more classy. :v:[/QUOTE] this is the best way to code, forget if it could be better optimised, as long as it looks classy it's fine. don't get anyone tell you otherwise. seriously.
[QUOTE=Jimbomcb;30972286]this is the best way to code, forget if it could be better optimised, as long as it looks classy it's fine. don't get anyone tell you otherwise. seriously.[/QUOTE] definitely getting shit done always trumps sat faffing around trying to get a few extra milliseconds out of it
Readable Pretty Code > 0.1 ms performance increase
[QUOTE=CarlBooth;30972323]definitely getting shit done always trumps sat faffing around trying to get a few extra milliseconds out of it[/QUOTE] Once you've done it though, it can be kind of fun to squeeze all the inefficiencies out of your code
i was being sarcastic, guys..
[QUOTE=Icedshot;30972427]Once you've done it though, it can be kind of fun to squeeze all the inefficiencies out of your code[/QUOTE] I find that really boring : ( As long as its acceptably fast I usually just leave it, even if its not the fastest or most efficient way to do it
So I got this friend who states the following (translated from Swedish): "A C# programmer is always better than a Python programmer because Python is a scripting language" "You can't do any real applications in Python that any company would use" "Python doesn't require any programming skills, even game maker is harder" "C# is the programming language 99% of games use. Half-Life 1 was made in C# - tell me some famous game written in Python" oh wow, this is just a sample of all the things he says. edit: to be honest, I don't know if he's trolling or not :/ he's been like this for months
[QUOTE=theJohn;30972586]-Friend's opinions-[/QUOTE] You have to ask yourself, should you really care? When I'm confronted with those kind of people I just let them believe what they want to believe
[QUOTE=theJohn;30972586] "C# is the programming language 99% of games use. Half-Life 1 was made in C# - tell me some famous game written in Python"[/QUOTE] C#, Half Life ... LOL :)
[QUOTE=theJohn;30972586]So I got this friend who states the following (translated from Swedish): "A C# programmer is always better than a Python programmer because Python is a scripting language" "You can't do any real applications in Python that any company would use" "Python doesn't require any programming skills, even game maker is harder" "C# is the programming language 99% of games use. Half-Life 1 was made in C# - tell me some famous game written in Python" oh wow, this is just a sample of all the things he says. edit: to be honest, I don't know if he's trolling or not :/ he's been like this for months[/QUOTE] Punch him in the throat and tell him what he is, a fucking idiot. [editline]7th July 2011[/editline] [QUOTE=Xerios3;30972837]You have to ask yourself, should you really care? When I'm confronted with those kind of people I just let them believe what they want to believe[/QUOTE] I like to pretend I'd punch them in the throat.
[QUOTE=Xerios3;30972837]You have to ask yourself, should you really care? When I'm confronted with those kind of people I just let them believe what they want to believe[/QUOTE] It's just annoying. He probably knows he is wrong after I prove he is, but he just won't admit it.
If anybody here understands how to setup a custom template for Visual Studio 2010 (C++, not C#) then please help me. File -> Export Template only works for a .NET project, and I don't understand how the custom wizard project works. Any help is greatly appreciated; feel free to add me on steam if you think it'll clutter up the thread or whatever. I know this should probably go in WDYNHW, but I think a lot more people read this thread to be honest.
[QUOTE=theJohn;30973169]It's just annoying. He probably knows he is wrong after I prove he is, but he just won't admit it.[/QUOTE] Sublime text editor and Blender where both made in python
[QUOTE=Richy19;30973276]Sublime text editor and Blender where both made in python[/QUOTE] Also YouTube uses Python. That little Google thing nobody has ever heard of.
It's pointless listing anything, people like that will always come up with some sort of retort to shoot down your argument anyway. You'd be better off just ignoring him or changing the subject really.
[QUOTE=theJohn;30972586]So I got this friend who states the following (translated from Swedish): "A C# programmer is always better than a Python programmer because Python is a scripting language" "You can't do any real applications in Python that any company would use" "Python doesn't require any programming skills, even game maker is harder" "C# is the programming language 99% of games use. Half-Life 1 was made in C# - tell me some famous game written in Python" oh wow, this is just a sample of all the things he says. edit: to be honest, I don't know if he's trolling or not :/ he's been like this for months[/QUOTE] C# and .NET didn't exist at the time when HL1 was released. You should copypaste to him: [url]http://en.wikipedia.org/wiki/.NET_Framework[/url] Initial release: 13 February 2002 [url]http://en.wikipedia.org/wiki/Half-Life_%28video_game%29[/url] Release date: November 19, 1998 [QUOTE=Richy19;30973276]Sublime text editor and Blender where both made in python[/QUOTE] Blender is made in C and C++, but it supports Python scripting. And I think it's the same for Sublime Text too.
[QUOTE=Simspelaaja;30973653]C# and .NET didn't exist at the time when HL1 was released. You should copypaste to him: [url]http://en.wikipedia.org/wiki/.NET_Framework[/url] Initial release: 13 February 2002 [url]http://en.wikipedia.org/wiki/Half-Life_%28video_game%29[/url] Release date: November 19, 1998[/QUOTE] Already did. He told me that Microsoft released C# earlier to developers so people would make games with it. But he can't prove it to me because "it's kind of a secret, nobody knows but I know this friends dad who is a developer and he told me".
Your friend is an idiot.
yep, 4 years early! why do you even bother talking to him if all he does is make up shit
Sorry, you need to Log In to post a reply to this thread.