Search found 639 matches

by N64vSNES
Fri Jan 13, 2012 10:41 am
Forum: Game Development
Topic: Is Adventures in Game Development gone for good?
Replies: 8
Views: 2544

Re: Is Adventures in Game Development gone for good?

Okay, I admit it, I laughed when I saw this :lol:

Gyro...You're not working Marcel hard enough! :nono:
by N64vSNES
Thu Jan 12, 2012 3:12 pm
Forum: Programming Discussion
Topic: x86 Assembly Command Line Arguments
Replies: 1
Views: 885

Re: x86 Assembly Command Line Arguments

I'm not 100% if this will work, as I'm fuzzy on whether passing arguments was just something the C library did. I'll look into that and get back to you. I'm pretty surprised that your example assembled, I'm not entirely sure (about anything in this post), but I didn't think it would be valid to call...
by N64vSNES
Tue Jan 10, 2012 1:03 pm
Forum: Game Development
Topic: AABB Collision Detection And Response [TUTORIAL]
Replies: 11
Views: 4609

Re: AABB Collision Detection And Response [TUTORIAL]

You're absolutely right dandymcgee, good thing you pointed this out. It did work on objects of the same dimensions, as shown in the screenshot of the first post, but if you want to change the size then it's fucked. Apologies to anyone I successfully confused the shit out of other than myself :lol: I...
by N64vSNES
Tue Jan 10, 2012 8:28 am
Forum: Game Development
Topic: AABB Collision Detection And Response [TUTORIAL]
Replies: 11
Views: 4609

Re: AABB Collision Detection And Response [TUTORIAL]

Oh, the x is the middle spot? I'm using SDL, so for me its the top left spot... Correct. And SDL, Allegro, etc It does not matter. You're the one who decides where the center spot is. Take the center, transform it and then pass it to SDL if you have to. Or, if you are too lazy, a few lines of code ...
by N64vSNES
Tue Jan 10, 2012 8:17 am
Forum: Game Development
Topic: AABB Collision Detection And Response [TUTORIAL]
Replies: 11
Views: 4609

Re: AABB Collision Detection And Response [TUTORIAL]

Thanks for the tutorial, its been very helpful! I have a question though.. When you showed the simple way to find collision: bool Eternal::IsCollision(Rectangle *a, Rectangle *b) { if ( a->x + b->w > b->x && a->x - b->w < b->x && a->y + b->h > b->y && a->y - b->h < b->y ) { ...
by N64vSNES
Sun Jan 08, 2012 9:39 am
Forum: General/Off-Topic
Topic: What influenced you to become a geek/nerd?
Replies: 20
Views: 6537

Re: What influenced you to become a geek/nerd?

Geeks play with action figures, nerds watch star trek.

I am neither.
by N64vSNES
Thu Jan 05, 2012 1:43 pm
Forum: Programming Discussion
Topic: Collision Resolution Help
Replies: 2
Views: 858

Re: Collision Resolution Help

Oh dear... First of all, you might want change your detection code slightly, before you get onto resolution: bool IsCollision(Rectangle rectangleA, Rectangle rectangleB) { if (rectangleA.x < rectangleB.x + rectangleB.w && // Should be: Ax + Bw > Bx rectangleA.x + rectangleA.w > rectangleB.x ...
by N64vSNES
Thu Jan 05, 2012 9:42 am
Forum: General/Off-Topic
Topic: Languages and linguistics
Replies: 38
Views: 11201

Re: Languages and linguistics

Skomakar'n wrote:
Ginto8 wrote:Greek: just barely starting to dabble
Hit me up if you want to dabble together (unless it's Ancient Greek that you're dealing with).
Should Ginto fail to deliver, you're more than welcome to discuss modern Greek with me, I've been learning for about 4 weeks now. ;)
by N64vSNES
Fri Dec 30, 2011 11:43 am
Forum: Programming Discussion
Topic: Linux GUI
Replies: 3
Views: 915

Re: Linux GUI

Thank qp! Exactly what I was looking for! :)
by N64vSNES
Fri Dec 30, 2011 10:10 am
Forum: Programming Discussion
Topic: Linux GUI
Replies: 3
Views: 915

Linux GUI

I've not been able to find much info on this, maybe you guys can help me out? The most bare bones way creating and utilizing GUI in Windows would be via the Win32 API. Or in C# and .NET languages I believe the .NET framework and CLR provides this for you? Back on topic though, on Linux, all I can fi...
by N64vSNES
Fri Dec 23, 2011 4:23 pm
Forum: General/Off-Topic
Topic: WOOOOOOOHHHOO
Replies: 4
Views: 2603

Re: WOOOOOOOHHHOO

Mmmm, Qt. I have to port something to have some GUI to try it :)
by N64vSNES
Fri Nov 18, 2011 9:19 am
Forum: Programming Discussion
Topic: C Pointer Question
Replies: 6
Views: 1364

Re: C Pointer Question

I would usually suspect that BMP, TGA, and whatever loaders to be children of an ImageLoader type object, not the other way around. It seems that you're starting very specific then getting more general as you cascade down the inheritance tree. This is the opposite of the concept where you ask "...
by N64vSNES
Fri Nov 18, 2011 6:57 am
Forum: Programming Discussion
Topic: C Pointer Question
Replies: 6
Views: 1364

Re: C Pointer Question

Not to sound retarded, but isn't a null pointer the same as setting it to 0, since null is nothing and zero is nothing so it would be the same as setting a 0 pointer which is going to take up very little space ? :S A pointer has a fixed size of 32-bits/4-bytes on a 32-bit operating system and 64-bi...
by N64vSNES
Thu Nov 17, 2011 4:46 pm
Forum: Programming Discussion
Topic: C Pointer Question
Replies: 6
Views: 1364

C Pointer Question

I've been writing a image library to gain some knowledge in areas that I've been constantly getting other libraries to do for me and I've got a design like this: http://i42.tinypic.com/dr9jd1.png So for the sake of keeping the code tidy, each format that the loader supports will be inherited from it...