Search found 5 matches

by ClassA
Wed Mar 17, 2010 8:06 pm
Forum: Programming Discussion
Topic: Collision Detection for side scrolling games
Replies: 6
Views: 680

Re: Collision Detection for side scrolling games

So far I've only had trouble when the level scrolled but when it had no offsets it worked fine :evil: Generally, I will always store player position and calculate collisions using "world" coordinates (i.e. positions relative to the level). I store the "camera" position separatel...
by ClassA
Fri Feb 26, 2010 7:32 pm
Forum: Programming Discussion
Topic: Boolean help?
Replies: 6
Views: 641

Re: Boolean help?

This reminds me of the 1000 lockers problem that was given as an assignment in my java class. :lol: Google 1000 lockers problem if you want to know more. Yeah, I was asked to do this at one point I believe - this is also the kind of programming/logic problem which is often given during programming ...
by ClassA
Thu Feb 25, 2010 8:14 am
Forum: Programming Discussion
Topic: [SOLVED] How much c++ should i know before learning a API?
Replies: 11
Views: 757

Re: How much C++ should you know before attempting an API?

...When would you even use pointers? I cant think of any reason... There are all sorts of occasions when you might want to use a pointer, consider: - You want to pass a reference to an object into a function/method, rather than having the whole object copied (requires more time/memory) each time yo...
by ClassA
Tue Feb 23, 2010 10:05 pm
Forum: Programming Discussion
Topic: C# Question: XNA or SDL.NET?
Replies: 13
Views: 2435

Re: C# Question: XNA or SDL.NET?

I really don't have anything against XNA at all. I use C# at work, and I'm becoming pretty familiar with .NET and what it has to offer. For me, I'm a low level kind of guy. I think somewhere between C and assembly when I program. I enjoy having that level of control. To be honest, I only grudgingly...
by ClassA
Tue Feb 23, 2010 3:36 pm
Forum: Programming Discussion
Topic: C# Question: XNA or SDL.NET?
Replies: 13
Views: 2435

Re: C# Question: XNA or SDL.NET?

@ Gyro: To be honest, I think you're either misunderstanding or exaggerating the amount of work that XNA does for you... I respect that you're a purist with a hacker mentality, and I'm firmly of the opinion that an understanding of C and the associated low-level concepts (e.g. pointers and memory al...