[QUOTE=amcfaggot;33771505]I reformatted because I accidentally adjusted the left-hand side of the explorer window and I couldn't revert it to how it normally was when you first install Windows.[/QUOTE]
I've reinstalled Windows for smaller things. :v:
Not really any reason not to.
progress on LD22
[img]http://i.imgur.com/J3pz5.gif[/img]
just need to figure out audio, then I can go ahead and construct the village, add an inventory to the player, and make some sort of book/letter interface and write some small stories, and I'll have 80% of the game complete.
Hopefully I can do that all today, and tomorrow I'll add a better main menu (right now it's just the title and "press any key to start" on a black background), polish things, and add some endgame animation/win screen.
[QUOTE=neos300;33770961]So I needed a custom 'Key' identifier for my roguelike (one of the cool features is the ability to switch from SFML tiles to PDCurses with one line of code) so I decided to be lazy and have it represented by a string. However, I now have to write code to convert sf::Keyboard::Key's to a string.
Looks like I'm doomed to a large if chain, see you in 10 hours.[/QUOTE]
I don't know if I might be missing something here, but what about taking key input into a char and appending that char to the end of your string?
[QUOTE=supersnail11;33771525]switch?[/QUOTE]
Can't use a switch statement with strings in C++.
[editline]17th December 2011[/editline]
which I assume is what he's using.
[QUOTE=BlkDucky;33771641]Not really any reason not to.[/QUOTE]
Drivers?
[QUOTE=BlkDucky;33771883]Can't use a switch statement with strings in C++.
[editline]17th December 2011[/editline]
which I assume is what he's using.[/QUOTE]
then again a key is only a single char which you can use in switch
[QUOTE=supersnail11;33771945]Drivers?[/QUOTE]
They take, what, 10 minutes to install? Installing windows itself requires slightly more effort.
[QUOTE=BlkDucky;33771883]Can't use a switch statement with strings in C++.
[editline]17th December 2011[/editline]
which I assume is what he's using.[/QUOTE]
Convert the string to a numerical value?
[QUOTE=BlkDucky;33771971]They take, what, 10 minutes to install? Installing windows itself requires slightly more effort.[/QUOTE]
What about all the other junk you need?
Visual Studio...
[QUOTE=BlkDucky;33771971]They take, what, 10 minutes to install? Installing windows itself requires slightly more effort.[/QUOTE]
My driver disk is horrible and includes drivers that you don't even need.
[QUOTE=Darwin226;33772302]What about all the other junk you need?
Visual Studio...[/QUOTE]
Visual studio is the only thing you need to install manually. And admittedly takes ages.
Otherwise: ninite.com
Everything else you should already have installed on a second partition. Games and whatever, so you don't lose them whenever you reinstall.
[QUOTE=supersnail11;33772308]My driver disk is horrible and includes drivers that you don't even need.[/QUOTE]
Why are you installing drivers from disk? They're generally outdated compared to the ones from the manufacturers websites. I don't even have a working disk drive anymore.
reinstalling is really fast i just always find something that i forgot to backup :/
all the logins that are scattered somewhere around my pc, some documents, lots of smaller code things i have a look at every now and then, save games etc.
i try to avoid reinstalling as much as possible and try to keep my pc somewhat clean
Next time I need to reformat I'm taking a disk image of the clean installation and storing that, then restoring it whenever I need a clean Windows again :v:
[QUOTE=Kamshak;33772349]reinstalling is really fast i just always find something that i forgot to backup :/
all the logins that are scattered somewhere around my pc, some documents, lots of smaller code things i have a look at every now and then, save games etc.
i try to avoid reinstalling as much as possible and try to keep my pc somewhat clean[/QUOTE]
That's only a problem if you're saving that stuff to the same partition you installed the OS to, though. Or if games save to the Saved Games folder or something by default.
[QUOTE=raBBish;33772454]Next time I need to reformat I'm taking a disk image of the clean installation and storing that, then restoring it whenever I need a clean Windows again :v:[/QUOTE]
Sadly i didn't find any open source program to do this - using any closed source freeware bullshit with ads just doesn't cut it [img]http://sae.tweek.us/static/images/emoticons/emot-saddowns.gif[/img]
[editline]18th December 2011[/editline]
Wait, can't you just use ubuntu and some magical file copy tool that comes with linux??
A quick video showing the app me and my brother are creating, we're being sponsored by Microsoft and have been given a WP7 phone ( Samsung Focus Flash ) to develop with!
[media]http://www.youtube.com/watch?v=8QwPso4RuNE[/media]
[QUOTE=Bambo.;33772731]A quick video showing the app me and my brother are creating, we're being sponsored by Microsoft and have been given a WP7 phone ( Samsung Focus Flash ) to develop with!
[media]http://www.youtube.com/watch?v=8QwPso4RuNE[/media][/QUOTE]
Using dubstep and "FAEL" just doesn't sit right with me.
[QUOTE=Yogurt;33773102]Using dubstep and "FAEL" just doesn't sit right with me.[/QUOTE]
But the man in the music said that it's not dubstep.
I made my first game :v:
[img]http://i.imgur.com/8slKC.png[/img]
[url]http://dl.dropbox.com/u/15774163/Game/Pnukups_Game.exe[/url]
oh god I just wasted an hour setting up OpenAL... I was just about ready to do some more art until I tried to play two MediaPlayers at the same time.
Now I have to make up for lost time by rushing the art...
[QUOTE=DrogenViech;33772579]Sadly i didn't find any open source program to do this - using any closed source freeware bullshit with ads just doesn't cut it [img]http://sae.tweek.us/static/images/emoticons/emot-saddowns.gif[/img]
[editline]18th December 2011[/editline]
Wait, can't you just use ubuntu and some magical file copy tool that comes with linux??[/QUOTE]
[url]http://www.microsoft.com/download/en/details.aspx?id=5753[/url]
Guides and stuff: [url]http://technet.microsoft.com/en-us/library/dd349343(WS.10).aspx[/url]
e: I realize it's not open-source, but at least there are no ads :v:
[QUOTE=Pnukup;33773306]I made my first game :v:
[img]http://i.imgur.com/8slKC.png[/img]
[url]http://dl.dropbox.com/u/15774163/Game/Pnukups_Game.exe[/url][/QUOTE]
What is the goal exactly? :pwn:
[QUOTE=Quark:;33773598]What is the goal exactly? :pwn:[/QUOTE]
I bet it's to either turn all the squares white or black.
[QUOTE=Seiteki;33773605]I bet it's to either turn all the squares white or black.[/QUOTE]
In that case, I am a wizard
[img]http://dl.dropbox.com/u/29551413/ZScreen/2011-12/Game-2011-12-17_19.24.36.png[/img]
Yeah, that force option lets you toggle a block without changing any of its neighbors.
The click counter resets by shuffling or clearing, the adv/hide toggles showing the currently lacking advanced options.
Thinking about adding sound and option to toggle it, perhaps.
Also to change to blocks color.
Super autism powers activate:
[img]http://img39.imageshack.us/img39/199/gamelu.png[/img][img]http://img833.imageshack.us/img833/8626/gameqk.png[/img]
I kept playing with click patterns until I found one I liked.
I guess I'll participate.
Free CloudApp client for iOS devices (made in a few days)
[img]http://a1.mzstatic.com/us/r1000/061/Purple/9c/36/7b/mzl.trsgjfwv.320x480-75.jpg[/img]
[img]http://a3.mzstatic.com/us/r1000/081/Purple/a3/58/a5/mzl.sadrtwkj.320x480-75.jpg[/img]
[url]http://itunes.apple.com/us/app/komocloud/id487186645?mt=8[/url]
[IMG]http://i.imgur.com/5vS6k.png[/IMG]
I'm thinking about some "tamagotchi" / pet breeding thing :v:
Averaging colors are probably not the best way when there's a big difference between papa and mama.
[QUOTE=neos300;33770961]So I needed a custom 'Key' identifier for my roguelike (one of the cool features is the ability to switch from SFML tiles to PDCurses with one line of code) so I decided to be lazy and have it represented by a string. However, I now have to write code to convert sf::Keyboard::Key's to a string.
Looks like I'm doomed to a large if chain, see you in 10 hours.[/QUOTE]
If you still need it:
[code]
#include <string>
#include <SFML/Window.hpp>
static inline std::string KeyToString(sf::Keyboard::Key &key)
{
std::string result = "";
switch (key)
{
case sf::Keyboard::A:
result = "A";
break;
case sf::Keyboard::B:
result = "B";
break;
case sf::Keyboard::C:
result = "C";
break;
case sf::Keyboard::D:
result = "D";
break;
case sf::Keyboard::E:
result = "E";
break;
case sf::Keyboard::F:
result = "F";
break;
case sf::Keyboard::G:
result = "G";
break;
case sf::Keyboard::H:
result = "H";
break;
case sf::Keyboard::I:
result = "I";
break;
case sf::Keyboard::J:
result = "J";
break;
case sf::Keyboard::K:
result = "K";
break;
case sf::Keyboard::L:
result = "L";
break;
case sf::Keyboard::M:
result = "M";
break;
case sf::Keyboard::N:
result = "N";
break;
case sf::Keyboard::O:
result = "O";
break;
case sf::Keyboard::P:
result = "P";
break;
case sf::Keyboard::Q:
result = "Q";
break;
case sf::Keyboard::R:
result = "R";
break;
case sf::Keyboard::S:
result = "S";
break;
case sf::Keyboard::T:
result = "T";
break;
case sf::Keyboard::U:
result = "U";
break;
case sf::Keyboard::V:
result = "V";
break;
case sf::Keyboard::W:
result = "W";
break;
case sf::Keyboard::X:
result = "X";
break;
case sf::Keyboard::Y:
result = "Y";
break;
case sf::Keyboard::Z:
result = "Z";
break;
case sf::Keyboard::Num0:
result = "0";
break;
case sf::Keyboard::Num1:
result = "1";
break;
case sf::Keyboard::Num2:
result = "2";
break;
case sf::Keyboard::Num3:
result = "3";
break;
case sf::Keyboard::Num4:
result = "4";
break;
case sf::Keyboard::Num5:
result = "5";
break;
case sf::Keyboard::Num6:
result = "6";
break;
case sf::Keyboard::Num7:
result = "7";
break;
case sf::Keyboard::Num8:
result = "8";
break;
case sf::Keyboard::Num9:
result = "9";
break;
case sf::Keyboard::Escape:
result = "Escape";
break;
case sf::Keyboard::LControl:
result = "Left Control";
break;
case sf::Keyboard::LShift:
result = "Left Shift";
break;
case sf::Keyboard::LAlt:
result = "Left Alt";
break;
case sf::Keyboard::LSystem:
result = "Left System Key";
break;
case sf::Keyboard::RControl:
result = "Right Control";
break;
case sf::Keyboard::RShift:
result = "Right Shift";
break;
case sf::Keyboard::RAlt:
result = "Right Alt";
break;
case sf::Keyboard::RSystem:
result = "Right System Key";
break;
case sf::Keyboard::Menu:
result = "Menu Key";
break;
case sf::Keyboard::LBracket:
result = "(";
break;
case sf::Keyboard::RBracket:
result = ")";
break;
case sf::Keyboard::SemiColon:
result = ";";
break;
case sf::Keyboard::Comma:
result = ",";
break;
case sf::Keyboard::Period:
result = ".";
break;
case sf::Keyboard::Quote:
result = "\"";
break;
case sf::Keyboard::Slash:
result = "/";
break;
case sf::Keyboard::BackSlash:
result = "\\";
break;
case sf::Keyboard::Tilde:
result = "~";
break;
case sf::Keyboard::Equal:
result = "=";
break;
case sf::Keyboard::Dash:
result = "-";
break;
case sf::Keyboard::Space:
result = "Space";
break;
case sf::Keyboard::Return:
result = "Enter";
break;
case sf::Keyboard::Back:
result = "BackSlash";
break;
case sf::Keyboard::Tab:
result = "Tab";
break;
case sf::Keyboard::PageUp:
result = "Page Up";
break;
case sf::Keyboard::PageDown:
result = "Page Down";
break;
case sf::Keyboard::End:
result = "End";
break;
case sf::Keyboard::Home:
result = "Home";
break;
case sf::Keyboard::Insert:
result = "Insert";
break;
case sf::Keyboard::Delete:
result = "Delete";
break;
case sf::Keyboard::Add:
result = "+";
break;
case sf::Keyboard::Subtract:
result = "-";
break;
case sf::Keyboard::Multiply:
result = "*";
break;
case sf::Keyboard::Divide:
result = "Divide";
break;
case sf::Keyboard::Left:
result = "Left Arrow";
break;
case sf::Keyboard::Right:
result = "Right Arrow";
break;
case sf::Keyboard::Up:
result = "Up Arrow";
break;
case sf::Keyboard::Down:
result = "Down Arrow";
break;
case sf::Keyboard::Numpad0:
result = "Numpad 0";
break;
case sf::Keyboard::Numpad1:
result = "Numpad 1";
break;
case sf::Keyboard::Numpad2:
result = "Numpad 2";
break;
case sf::Keyboard::Numpad3:
result = "Numpad 3";
break;
case sf::Keyboard::Numpad4:
result = "Numpad 4";
break;
case sf::Keyboard::Numpad5:
result = "Numpad 5";
break;
case sf::Keyboard::Numpad6:
result = "Numpad 6";
break;
case sf::Keyboard::Numpad7:
result = "Numpad 7";
break;
case sf::Keyboard::Numpad8:
result = "Numpad 8";
break;
case sf::Keyboard::Numpad9:
result = "Numpad 9";
break;
case sf::Keyboard::F1:
result = "F1";
break;
case sf::Keyboard::F2:
result = "F2";
break;
case sf::Keyboard::F3:
result = "F3";
break;
case sf::Keyboard::F4:
result = "F4";
break;
case sf::Keyboard::F5:
result = "F5";
break;
case sf::Keyboard::F6:
result = "F6";
break;
case sf::Keyboard::F7:
result = "F7";
break;
case sf::Keyboard::F8:
result = "F8";
break;
case sf::Keyboard::F9:
result = "F9";
break;
case sf::Keyboard::F10:
result = "F10";
break;
case sf::Keyboard::F11:
result = "F11";
break;
case sf::Keyboard::F12:
result = "F12";
break;
case sf::Keyboard::F13:
result = "F13";
break;
case sf::Keyboard::F14:
result = "F14";
break;
case sf::Keyboard::F15:
result = "F15";
break;
case sf::Keyboard::Pause:
result = "Pause";
break;
}
return result;
}
static inline sf::Keyboard::Key StringToKey(std::string str)
{
sf::Keyboard::Key key;
if(str == "A") key = sf::Keyboard::A;
else if(str == "B") key = sf::Keyboard::B;
else if(str == "C") key = sf::Keyboard::C;
else if(str == "D") key = sf::Keyboard::D;
else if(str == "E") key = sf::Keyboard::E;
else if(str == "F")key = sf::Keyboard::F;
else if(str == "G")key = sf::Keyboard::G;
else if(str == "H") key = sf::Keyboard::H;
else if(str == "I") key = sf::Keyboard::I;
else if(str == "J") key = sf::Keyboard::J;
else if(str == "K") key = sf::Keyboard::K;
else if(str == "L") key = sf::Keyboard::L;
else if(str == "M")key = sf::Keyboard::M;
else if(str == "N") key = sf::Keyboard::N;
else if(str == "O") key = sf::Keyboard::O;
else if(str == "P") key = sf::Keyboard::P;
else if(str == "Q") key = sf::Keyboard::Q;
else if(str == "R") key = sf::Keyboard::R;
else if(str == "S") key = sf::Keyboard::S;
else if(str == "T") key = sf::Keyboard::T;
else if(str == "U") key = sf::Keyboard::U;
else if(str == "V") key = sf::Keyboard::V;
else if(str == "W") key = sf::Keyboard::W;
else if(str == "X") key = sf::Keyboard::X;
else if(str == "Y") key = sf::Keyboard::Y;
else if(str == "Z") key = sf::Keyboard::Z;
else if(str == "0") key = sf::Keyboard::Num0;
else if(str == "1") key = sf::Keyboard::Num1;
else if(str == "2") key = sf::Keyboard::Num2;
else if(str == "3") key = sf::Keyboard::Num3;
else if(str == "4") key = sf::Keyboard::Num4;
else if(str == "5") key = sf::Keyboard::Num5;
else if(str == "6") key = sf::Keyboard::Num6;
else if(str == "7") key = sf::Keyboard::Num7;
else if(str == "8") key = sf::Keyboard::Num8;
else if(str == "9") key = sf::Keyboard::Num9;
else if(str == "Escape") key = sf::Keyboard::Escape;
else if(str == "Left Control") key = sf::Keyboard::LControl;
else if(str == "Left Shift") key = sf::Keyboard::LShift;
else if(str == "Left Alt") key = sf::Keyboard::LAlt;
else if(str == "Left System Key")key = sf::Keyboard::LSystem;
else if(str == "Right Control") key = sf::Keyboard::RControl;
else if(str == "Right Shift") key = sf::Keyboard::RShift;
else if(str == "Right Alt") key = sf::Keyboard::RAlt;
else if(str == "Right System Key") key = sf::Keyboard::RSystem;
else if(str == "Menu Key") key = sf::Keyboard::Menu;
else if(str == "(") key = sf::Keyboard::LBracket;
else if(str == ")") key = sf::Keyboard::RBracket;
else if(str == ";") key = sf::Keyboard::SemiColon;
else if(str == ",") key = sf::Keyboard::Comma;
else if(str == ".") key = sf::Keyboard::Period;
else if(str == "\"") key = sf::Keyboard::Quote;
else if(str == "/") key = sf::Keyboard::Slash;
else if(str == "\\") key = sf::Keyboard::BackSlash;
else if(str == "~") key = sf::Keyboard::Tilde;
else if(str == "=") key = sf::Keyboard::Equal;
else if(str == "-") key = sf::Keyboard::Dash;
else if(str == "Space") key = sf::Keyboard::Space;
else if(str == "Enter") key = sf::Keyboard::Return;
else if(str == "BackSlash") key = sf::Keyboard::Back;
else if(str == "Tab") key = sf::Keyboard::Tab;
else if(str == "Page Up") key = sf::Keyboard::PageUp;
else if(str == "Page Down") key = sf::Keyboard::PageDown;
else if(str == "End") key = sf::Keyboard::End;
else if(str == "Home") key = sf::Keyboard::Home;
else if(str == "Insert") key = sf::Keyboard::Insert;
else if(str == "Delete") key = sf::Keyboard::Delete;
else if(str == "+") key = sf::Keyboard::Add;
else if(str == "-") key = sf::Keyboard::Subtract;
else if(str == "*") key = sf::Keyboard::Multiply;
else if(str == "Divide") key = sf::Keyboard::Divide;
else if(str == "Left Arrow") key = sf::Keyboard::Left;
else if(str == "Right Arrow") key = sf::Keyboard::Right;
else if(str == "Up Arrow") key = sf::Keyboard::Up;
else if(str == "Down Arrow") key = sf::Keyboard::Down;
else if(str == "Numpad 0") key = sf::Keyboard::Numpad0;
else if(str == "Numpad 1") key = sf::Keyboard::Numpad1;
else if(str == "Numpad 2") key = sf::Keyboard::Numpad2;
else if(str == "Numpad 3") key = sf::Keyboard::Numpad3;
else if(str == "Numpad 4") key = sf::Keyboard::Numpad4;
else if(str == "Numpad 5") key = sf::Keyboard::Numpad5;
else if(str == "Numpad 6") key = sf::Keyboard::Numpad6;
else if(str == "Numpad 7") key = sf::Keyboard::Numpad7;
else if(str == "Numpad 8") key = sf::Keyboard::Numpad8;
else if(str == "Numpad 9") key = sf::Keyboard::Numpad9;
else if(str == "F1") key = sf::Keyboard::F1;
else if(str == "F2") key = sf::Keyboard::F2;
else if(str == "F3")key = sf::Keyboard::F3;
else if(str == "F4") key = sf::Keyboard::F4;
else if(str == "F5") key = sf::Keyboard::F5;
else if(str == "F6") key = sf::Keyboard::F6;
else if(str == "F7") key = sf::Keyboard::F7;
else if(str == "F8") key = sf::Keyboard::F8;
else if(str == "F9") key = sf::Keyboard::F9;
else if(str == "F10") key = sf::Keyboard::F10;
else if(str == "F11") key = sf::Keyboard::F11;
else if(str == "F12") key = sf::Keyboard::F12;
else if(str == "F13") key = sf::Keyboard::F13;
else if(str == "F14") key = sf::Keyboard::F14;
else if(str == "F15") key = sf::Keyboard::F15;
else if(str == "Pause") key = sf::Keyboard::Pause;
return key;
}[/code]
[QUOTE=kankurou;33773932]I guess I'll participate.
Free CloudApp client for iOS devices (made in a few days)
-snipped images-
[url]http://itunes.apple.com/us/app/komocloud/id487186645?mt=8[/url][/QUOTE]
Good job. Looks pretty neat.
Here's my tip as an iOS developer: The UI needs [B]a lot[/B] of work.
Here's my suggestions, in image form.
[img]http://i.imgur.com/jFlCQ.png[/img]
Sorry, you need to Log In to post a reply to this thread.