Hi.
I want to learn to make games, and was wondering what I must already know until I get into game development.
I mean what things in subjects at school like maths, what should I learn in maths, or science.
Do game developers need to know Calculus?
I wanna be ready before I get into game making.
Thanks
What must I already know :S
Moderator: Coders of Rage
- Bakkon
- Chaos Rift Junior
- Posts: 384
- Joined: Wed May 20, 2009 2:38 pm
- Programming Language of Choice: C++
- Location: Indiana
Re: What must I already know :S
You can get by in games just using addition, subtraction, multiplication, and division. The rest is just logic and how you go about the steps of updating the game. If you want rotation or minor physics, you'll nee to know trigonometry for sine, cosine, tangent, etc. Only if you want a major physics implementation, then calculus will become necessary. (i.e. writing your own physics engine from scratch)
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: What must I already know :S
Exactly.Bakkon wrote:You can get by in games just using addition, subtraction, multiplication, and division. The rest is just logic and how you go about the steps of updating the game. If you want rotation or minor physics, you'll nee to know trigonometry for sine, cosine, tangent, etc. Only if you want a major physics implementation, then calculus will become necessary. (i.e. writing your own physics engine from scratch)
You need to know 1st grade arithmetic to start making games.
You need to know trig/calculus/linear algebra to make advanced games.
- Pennywise
- Chaos Rift Cool Newbie
- Posts: 55
- Joined: Tue Sep 22, 2009 1:36 pm
- Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
- Programming Language of Choice: C, C++ and Java
- Location: England
Re: What must I already know :S
OK
I already know the basics in Maths so I think I'm good for now
Thanks and sorry for the late reply.
I already know the basics in Maths so I think I'm good for now
Thanks and sorry for the late reply.
- Pennywise
- Chaos Rift Cool Newbie
- Posts: 55
- Joined: Tue Sep 22, 2009 1:36 pm
- Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
- Programming Language of Choice: C, C++ and Java
- Location: England
Re: What must I already know :S
One more thing:
I'm following Lazy Foo's tutorials and I think I installed SDL correctly and I keep getting these errors.
In function `console_main':
[Linker error] undefined reference to `SDL_main'
ld returned 1 exit status
[SDL_Program.exe] Error 1
Here is my code:
Also I'm using the Dev C++ compiler.
I thought I might ask now then clog up forums with another question :S
Thanks for replies
I'm following Lazy Foo's tutorials and I think I installed SDL correctly and I keep getting these errors.
In function `console_main':
[Linker error] undefined reference to `SDL_main'
ld returned 1 exit status
[SDL_Program.exe] Error 1
Here is my code:
Code: Select all
// Inlcude SDL functions and datatypes
#include "SDL/SDL.h"
int main()
{
// The images
SDL_Surface* hello = NULL;
SDL_Surface* screen = NULL;
// Start SDL
SDL_Init(SDL_INIT_EVERYTHING);
// Set up screen
screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE);
// Load image
hello = SDL_LoadBMP("hello.bmp");
// Apply image to screen
SDL_BlitSurface(hello, NULL, screen, NULL);
// Update screen
SDL_Flip(screen);
// Pause
SDL_Delay(2000);
// Free the loaded image
SDL_FreeSurface(hello);
// Quit SDL
SDL_Quit();
return 0;
}
I thought I might ask now then clog up forums with another question :S
Thanks for replies
Re: What must I already know :S
SDL requires that you do this:
Next time you should search for the answer first.
Code: Select all
int main(int argc, char *argv[])
- Pennywise
- Chaos Rift Cool Newbie
- Posts: 55
- Joined: Tue Sep 22, 2009 1:36 pm
- Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
- Programming Language of Choice: C, C++ and Java
- Location: England
Re: What must I already know :S
LOL
I just figured that out when I done a bit more research.
Thanks anyway.
I just figured that out when I done a bit more research.
Thanks anyway.