It's very difficult
while(true) { continue; }
Edited:
Also, input is disabled in case firefox does the "this plugin is not responding" thing and stops the loop.
It's very difficult
while(true) { continue; }
Edited:
Also, input is disabled in case firefox does the "this plugin is not responding" thing and stops the loop.
I started to work on my c++ opengl 3.0 game again. I think it is going to involve space monsters and weird looking flowers. I have a long way to go but it feels good to be back.
![]()
I should use source control.
I held ctrl+z until I found what I did.
then I accidentally hit the T did
now I have to write 10 mins worth of code again![]()
Added some background textures to my game. still working on them.
I have that book. Pretty good, even though it's mostly the same chapter copy-pasted four times with some modifications. I guess it has to be like that so you can compare the differencens between version control systems.
From here.
How do you guys handle filepaths? Some functions I have work if I ask it to load "test.txt", it'll pick it up off of the exe's directory, some if I do load "test.txt" I never find out and end up typing out a full path.
What's the best way to get/set the directory so everything can be relative to the theoretical install directory?
Couldn't you just store the directory somewhere and then just append the file name onto that?
Setup git on dropbox
Now im trying to setup premake,
managed to get premake working, but is there anyway to set the directory that the makefiles created by premake build to?
Getting the directory is fuzzy - it should be sent to the program as the first arg, but that's untrue if you're debugging (though I know you can manually set what's passed to it) - I wouldn't want the entire thing to fall apart because it didn't have the directory.
C++ for the record.
What IDE? The dir is always passed in for me, regardless of whether I'm debugging or not. Also, there are methods to get the current working directory and stuff if you need it.
Tried _getcwd()?, although I can't see why it wouldn't work. Also a reminder that questions are best off in the "What do you need help with?" thread.
How about we use getcwd() instead? You know, to avoid having your code Windows-only because Microsoft deprecates half the standard functions.
Edit: Ah, it's a POSIX function, that's probably why Microsoft ignore it. A simple '#define getcwd _getcwd' should fix that and give you instant portability.
Directions for Pale Luna.
var dir:Array = new Array("north","east","north","west","north","west" ,"south","west",
"north","west","north","south","east","east","west ","west");
Teehee.
Never knew but apparently this box appears when an unhandled exception occurs in the main application thread. Wish I knew earlier because apparently this causes the exception to be 'handled' and it wont be passed to the appdomain unhandled exception handler. So basically your program has 0 knowledge of this exception so you cannot handle or log it.
Edited:
Especially seeing as if an exception is thrown by the code in the first snippet your layout is now stuck suspended.
Visual Studio 2010. Maybe because it's a windows application?
I feel that putting them here leads to a lot more discussion (such as what Jookia pointed out), and it tends to lead towards more overall knowledge.
Interesting enough, crtdbg.h defines "getcwd" to:
"#define getcwd(s, le) _getcwd_dbg(s, le, _NORMAL_BLOCK, __FILE__, __LINE__)"
That being said, getcwd/_getcwd work wonderfully, though my usage of strcat is probably not the best...
Code:char *GetWorkingDirectory() { char *buffer; char *trail = "\\"; buffer = getcwd( NULL, 0); strcat(buffer, trail); return buffer; }
I have been using love2d for some time and I would like to move on to something... sexier.
I want something good. I heard XNA is real good, but I don't know.
I found XNA pretty sexy.
Simple and powerful.
XNA is good.
It's better if you use YogUI.
super meat boy pro video game developers
lol:
![]()
Why edit out the names and passwords if you just showed us how to find them?![]()
Wait, you connected to the SMB database?
Do you think they'll secure their score system now?
so skids can't fuck around, only those who have some sort of technical proficiency
Edited:
also lol:
![]()
It'd be a shame if their MySQL login data just disappeared right after you discussed that, wouldn't it?
Also, I don't like the developer(s). They pretty much went 'fuck you' to Linux users.
Well, I mean, how bad is it?
Can you just read information that you'd have access to through the game client anyway, or is it something more critical, like login information or the ability to modify/drop records from the database? Of course, don't get yourself into trouble or do anything stupid.
Edited:
They did a pretty solid port, I think, database security issues aside. Is there something I missed?
SELECT, UPDATE, and INSERT work.
Edited:
The OS X version can't go fullscreen.
Complete DB access.
I'd bet my avatar's glasses that they only did it to get in the Humble Indie Bundle, and they got Icculus to do the port, not themselves.
swift and shift you have some amazing self control. If it were me I'd have the login information up on every website I could put it on. If they don't want to fix shit, they shouldn't be using the technology.
I'm staying out of this
I'm staying out of this
I'm staying out of this
To be fair, there's literally no other ways to add levels to an SQL database without connecting to the database dir- Oh wait, there's shit loads.
Why would you pick the most insecure one?
Oh. Well at least they went to the right guy. Icculus is awesome.
Also, if somebody does actually screw with the database besides charliesome, IT WASN'T ME. I'M ON HOLIDAY.
Edited:
Couldn't agree more. I would like him to put shit according to the XDG Basedir spec, though.
It's fine. Trust me.
Psh, hah, I'd fuck up their database in a heartbeat. I dunno, I just don't have much self-control and it's not every day that you get to work with holes as gaping as a prostitutes'.
Edited:
I guess they'd learn from it, too, or whatever.
I love Super Meat Boy, but the internet levels suck anyway. I'd say nothing of value would be lost
I wish I had content, though. I've got plenty of experience in C# but nothing with XNA whatsoever. I kinda wanna start doing game development too, but I never know what to do.
I think people here talk about what they're more interested in developing on vs. what they're actually going to develop.
Starting game development and not having even a general goal is just like any other project, except you're setting yourself up to fuck yourself in the ass harder.
Think of an idea first if you're going to go that path. Or if your intention is just to learn how to mess with graphic functions and the sort, that's always extremely helpful to learn, too.
Edited:
yeah, because looking up the strings is so difficult that a skid couldn't do it, right?
Very easy to get the username and password. Just sniff the connection using wireshark to get the username. Then use a hex editor to search the exe for the username, the password is with it.
I was also thinking about this, there are clearly multiple ways so there isn't really anything holding anyone back right now.