Jump to content

  • Log In with Google      Sign In   
  • Create Account


tedsta

Member Since 13 Mar 2013
Offline Last Active May 13 2014 08:15 PM

Posts I've Made

In Topic: Should I compile dependencies with my API?

04 August 2013 - 05:44 PM

A very good point. I can't believe something that obvious never occurred to me. I'll rip apart my convenient .a file and keep everything separate. Thanks!


In Topic: Indie Game Distribution Service

06 June 2013 - 05:06 PM

You can check out IndieDB and its store: Desura. I think they already have some good features.

 

http://www.indiedb.com/

http://www.desura.com/


In Topic: Movement speed vary on different machines

09 May 2013 - 11:11 AM

You need to multiply your speed, in seconds, by the delta time in seconds. So, if your update function is receiving the delta time in milliseconds, divide the milliseconds by 1000 to get your delta time in seconds. That, or you could fix your time step as Matias said, which you'll have to do anyway if you want to implement good multiplayer. The link he provided is very good.

 

On top of that stuff, your logic looks a bit off. So, you have a velocity variable that moves your ship based on delta time, but then when ship controls are pressed you don't even touch the velocity variable and just move your ship by hand ignoring delta time.


In Topic: Platforms in a 2D platform game

26 April 2013 - 09:06 AM

If you want the tiled look of Mario, look up tile scrolling. The basic idea is you have a 2D array of integers that represent different tile types, and you draw the portion of that 2D array that is on the screen based on your camera position.

 

for (int x = left; x < right; x++)
{
     for (int y = top; y < bottom; y++)
     {
          // Draw map[y][x] tile at (x*tileW, y*tileH)
     }
}

In Topic: Do I need the CS degree to make it out there?

25 April 2013 - 09:33 PM

Thanks, Tom, your links are very helpful.

 

Anyway, my point is that there has always been oodles of information available. The problem is you can only search for things you know about in an information retrieval system like a library or a googlenet. If you aren't aware of what you need, how are you going to find it, even with the very best search engine in the universe? Google is great for finding the known knowns and the known unknowns, but remarkably lousy at finding out about the unknown unknowns. That's the difference between an education and a library.

 

Sure, Google's lousy at finding unknown unknowns, but if you are working on a project and Googling a specific problem, there are no unknowns. It's my fault for poorly phrasing what I mean. I'm not saying you should learn through Google, I'm saying that you should learn through hands-on projects with Google as a helping hand when you get stuck. Hence, anything you don't already know can be found on Google. For instance, let's say I'm writing a game that needs a procedural height map. Oh no, I don't know anything about that, I'll Google procedural world generation. Suddenly, I discover perlin noise, fractal noise, and even some sweet example code! Google saves the day again! Good luck getting your professor to talk about things like that.

 

I asked my professor about how to get a pointer to an operator member function (I was binding my vector class to the Squirrel scripting language and wanted to be able to use arithmetic operators). We searched through the C++ textbook to no avail. Here's what he told me after: "Uggghhh.... Google it." Then, I Googled for about half an hour and found the answer.

 

The more I think about it, the sillier it seems that companies value a CS degree more than proven experience for entry level jobs. "Oh yeah, let's not hire the kid with tons of proven development experience and several completed products in various areas and no degree. Let's hire the fresh college grad who knows how to implement the binary search algorithm and maybe even make a Tetris clone - he has a degree!" 

 

Anyway, I'm sorry, the pride, it gets to my head. It's a disease. I'll stop now. I'll go do my homework and register for my classes for next semester tongue.png Thanks all for your valuable input! You have knocked the sense right back into me - giving up my scholarship for some exciting new work opportunities would be a terrible idea.


PARTNERS