Gamedev info

Profile
Washington DC
Info on game developement
44 comments
45 entries
Advertisement
Norman Barrows
November 16, 2014
Another way to fix your timestep
[color=#ff8c00]Another way to fix your timestep:[/color]

the famous article "fix your timestep":

http://gafferongames.com/game-physics/fix-your-timestep/

attempts to address the problem of your simulation not running at the same speed on all PC's:

1. first, variable timestep is used to get the same spe…
7,395 views
Norman Barrows
September 27, 2014
more raypicks! raycast line of sight test
more raypicks! raycast line of sight test

I just posted some code to my Caveman journal that includes some raycast code for line of sight checks:


https://www.gamedev.net/blog/1730/entry-2260249-new-avian-ai-done-yet-more-raycaster-raypickcode/
1,273 views
Norman Barrows
September 19, 2014
More raypick code!
More raypick code!

I just posted some code in my Caveman journal that includes another example of raypick code:

https://www.gamedev.net/blog/1730/entry-2260114-new-orders-menu-code/

This is actual real world code used in the game.
1,383 views
Norman Barrows
September 11, 2014
Raypick test
Someone asked to see my raypick test code.

Here it is:



D3DXVECTOR3 intersect_point; void calc_intersection(int x,int y){char s[100];D3DXVECTOR3 v,dir,origin, p1,p2, // line p3,p4,p5; // planeD3DXMATRIX m;D3DXPLANE p; v.x = ( ( ( 2.0f * x ) / screen_width ) - 1 ) / …
2,107 views
Norman Barrows
September 08, 2013
Game Design Patterns: Elements of Reusable Game Software
Game Design Patterns: Elements of Reusable Game Software

Patterns. Seems to be all you hear these days, right? What is this pattern? Should i use it? Is this code an example of pattern A or pattern B?

It appears that "Patterns" came about due to the discovery of recurring themes in the organization o…
1,926 views
Norman Barrows
September 06, 2013
A checklist for adding a new variable to a program
A checklist for adding a new variable to a program

We're programmer's. We code. We spend our time implementing stuff - making it do this, or making it do that.

Well, one of the first things we need when beginning the implementation of a new feature is variables.

So we spend a lot of time declaring and…
1,437 views
Advertisement
Norman Barrows
September 05, 2013
code refactoring and other best practices: interesting links
[font=arial][color=rgb(40,40,40)][background=rgb(250,251,252)]The following article on code refactoring: [/background][/color]

[color=rgb(40,40,40)][background=rgb(250,251,252)]https://www.gamedev.net/page/resources/_/technical/game-programming/evolve-your-hierarchy-refactoring-game-entities-with-co…
1,411 views
Norman Barrows
September 05, 2013
handling lost devices
[color=rgb(40,40,40)][font=arial][font=helvetica][background=rgb(250,251,252)]DX9 Lost Device Example[/background][/font][/font][/color]

[color=rgb(40,40,40)][font=arial][font=helvetica] [background=rgb(250,251,252)]I decided to implement Alt-tab in my project, and went looking for info on handling[…
1,444 views
Norman Barrows
September 05, 2013
Some info on SPU's

[color=rgb(40,40,40)][font=arial]Some info on SPUs:[/font][/color]

[color=rgb(40,40,40)][font=arial]SPU Architecture description (includes bus fetch speeds!).[/font][/color]
[color=rgb(40,40,40)][font=arial]Nice. Anyone who took computer architecture will probably find it interesting, it's one bad as…
1,602 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
58 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement
Advertisement