Search found 30 matches

by deathsangel
Sat May 09, 2009 10:10 am
Forum: Programming Discussion
Topic: DirectX
Replies: 13
Views: 1164

DirectX

Hey I some questions about DirectX.
1) Can you get a job knowing something like SlimDX or XNA
2) Can you get a job using c#, or is c++ the only way to get a job in graphics?
3) Which DirectX version should I use? 9, 10, or 11?
by deathsangel
Wed May 06, 2009 8:55 pm
Forum: Programming Discussion
Topic: MMORPGS
Replies: 16
Views: 1542

Re: MMORPGS

so which one do you guys recommend if I plan to work for a company?
by deathsangel
Wed May 06, 2009 8:53 am
Forum: Programming Discussion
Topic: MMORPGS
Replies: 16
Views: 1542

Re: MMORPGS

what is taught more at colleges directx or opengl and what is used more in companies?
by deathsangel
Tue May 05, 2009 11:42 pm
Forum: Programming Discussion
Topic: MMORPGS
Replies: 16
Views: 1542

MMORPGS

Hey guys I know this may sound like a very noob question but I want to know which API(dircectx, opengl, sfml? sfml + opengl?) is more popular for making MMORPGS. I am not making a mmo (hopefully eventually I will have a orpg) but I want to know which API can render more models has better support/tut...
by deathsangel
Sun May 03, 2009 11:30 pm
Forum: Programming Discussion
Topic: Scripting
Replies: 12
Views: 847

Re: Scripting

So your saying I should chose lua?
by deathsangel
Sun May 03, 2009 10:46 pm
Forum: Programming Discussion
Topic: Scripting
Replies: 12
Views: 847

Scripting

Hey guys, I have 3 quick questions about scripting.

1) why would you use scripting(lua, perl, ruby, etc...) instead of pure c++ inside of your game.

2) which scripting language should I chose, is there a difference in them?

3) how do you implement a scripting language
by deathsangel
Sun May 03, 2009 11:58 am
Forum: Programming Discussion
Topic: Just a quick question
Replies: 3
Views: 397

Re: Just a quick question

I used to work with xna too. I havnt really noticed such a speed difference between xna and sdl
by deathsangel
Fri May 01, 2009 8:16 pm
Forum: Programming Discussion
Topic: How To Handle Object/Item Collision
Replies: 18
Views: 1613

Re: How To Handle Object/Item Collision

The way I handle objects/items is using layers. I have one layer for the ground floor 1 layer for items so then i do a simple check #define chest 1 for (int r = 0; r < rows; r++) // loop through all the rows for (int c = 0; c < columns; c++) // loop through all the columns if (item_map[r][c] == ches...
by deathsangel
Mon Apr 27, 2009 9:07 pm
Forum: Programming Discussion
Topic: networking help
Replies: 9
Views: 757

networking help

can somebody show me how to write a quick networking program in c++/sfml or c++/sdl I use both. Also can you tell me how to test it out thank you very much!
by deathsangel
Mon Apr 27, 2009 7:52 pm
Forum: Programming Discussion
Topic: help with jumps
Replies: 20
Views: 1589

Re: help with jumps

ok thanks
by deathsangel
Sun Apr 26, 2009 10:35 pm
Forum: Programming Discussion
Topic: help with jumps
Replies: 20
Views: 1589

Re: help with jumps

No I want it so that cant jump is set to false either

1)when you get to the target height
2)when you let go of space.

Number 1 works, number 2 doesnt
by deathsangel
Sun Apr 26, 2009 10:33 pm
Forum: Programming Discussion
Topic: How do I make maps scroll
Replies: 10
Views: 975

Re: How do I make maps scroll

You are doing rect.x =c - myCam.getX() but c is just the number of the tile (0, 1, 2, etc) but it should be scaled by the tile width: rect.x = c * tW - myCam.getX(). The same goes for rect.y. Right now the x and y coordinates of the tiles are only 1 unit (pixel?) apart. I forgot to write that there...
by deathsangel
Sat Apr 25, 2009 4:39 pm
Forum: Programming Discussion
Topic: SFML vs SDL
Replies: 3
Views: 646

SFML vs SDL

can sombody please tell me which one is better thank you
by deathsangel
Sat Apr 25, 2009 4:17 pm
Forum: Programming Discussion
Topic: How do I make maps scroll
Replies: 10
Views: 975

Re: How do I make maps scroll

That is what I was doing but for some reason when I shifted the world coordinates(myCam.x myCam.y) the collision would not update... I shifted the player draw player.get_rect(Camera myCam) { SDL_Rect rect; rect.x = pX - myCam.getX(); rect.y = pY - myCam.getY(); rect.w = pW; rect.h = pH; return rect;...
by deathsangel
Sat Apr 25, 2009 3:48 pm
Forum: Programming Discussion
Topic: How do I make maps scroll
Replies: 10
Views: 975

Re: How do I make maps scroll

I tried that and the collisions are still messed up, can somebody point me to source code where this is used, so that I can see how this should be done. Ty your help will be very well appreciated!