Search found 97 matches

by NaturalDemon
December 16th, 2012, 4:30 pm
Forum: Everything
Topic: Further upgrading put pixel.
Replies: 32
Views: 11306

Re: Further upgrading put pixel.

Did you view chili last video? Maybe you should inherit from surface .... draw you oject and store a pointer to a D3DCOLOR surface or multiple surfaces .... instead if dynamicly drawing your object eacht frame ... i'm just brainstroming ..... but i'm sure this avoids a few loops and givrs more room ...
by NaturalDemon
December 16th, 2012, 2:43 am
Forum: Everything
Topic: Further upgrading put pixel.
Replies: 32
Views: 11306

Re: Further upgrading put pixel.

oh ... i need to mention ... my gues is ... to apply real world math ... is to sync the render proces to refreshrate of the grafixcard. recently i read about the Hobbit using a high frame rate of 48 frames a second. there is so much the read on ... and so limited time ... but basicly ... rendering ....
by NaturalDemon
December 15th, 2012, 5:02 pm
Forum: Everything
Topic: Further upgrading put pixel.
Replies: 32
Views: 11306

Re: Further upgrading put pixel.

p.s. i used ... void D3DGraphics::DrawDisc( int cx,int cy,int r,int rd,int g,int b ) { for( int x = cx - r; x < cx + r; x++ ) { for( int y = cy - r; y < cy + r; y++ ) { if( sqrt( (float)( (x - cx)*(x - cx) + (y - cy)*(y - cy) ) ) < r ) { PutPixel( x,y,rd,g,b ); } } } } 12 ... 50px radius circular ob...
by NaturalDemon
December 15th, 2012, 4:53 pm
Forum: Everything
Topic: My first try at a game [UPDATE] 1.1 with some .bmp added.
Replies: 25
Views: 11499

Re: My first try at a game (I think im through begin lesson

Zionich wrote:Bah, I think I forgot it when I updated file. Ya got some graph paper for the graphics. I skipped forward a little and watched the bmp lesson after I made this game. So I have some updates for the future. Im just slow between work and kids : )
i know what you mean ... you're burned sometimes.
by NaturalDemon
December 15th, 2012, 4:42 pm
Forum: Everything
Topic: Help with Linked lists
Replies: 12
Views: 5346

Re: Help with Linked lists

maybe this linked list ... doesn't require to be that linked as in the highscore example.
just an ID making clear it belongs to a collection that grow/shrink and making fast fetching possible would be enoug ... me thinks!
by NaturalDemon
December 15th, 2012, 4:29 pm
Forum: Everything
Topic: Help with Linked lists
Replies: 12
Views: 5346

Re: Help with Linked lists

hmmm, i have been busy for a few weeks about how to arrange data. it realy depends what opetation you do on your containers. the vector and deque ... i think ... are NOT suitable for the enemy objects array. currently i´m using a structure array, like this ... struct Inventory { int x,y; std::string...
by NaturalDemon
December 15th, 2012, 2:42 pm
Forum: Everything
Topic: My first try at a game [UPDATE] 1.1 with some .bmp added.
Replies: 25
Views: 11499

Re: My first try at a game (I think im through begin lesson

you can also remove the "ipch" folder visual studio makes a new and you project file will be a mere few kb big.


it must have been a huge job, coding those spaceships, font and everything the way you did it ... but i like it.
by NaturalDemon
December 15th, 2012, 12:41 am
Forum: Everything
Topic: Further upgrading put pixel.
Replies: 32
Views: 11306

Re: Further upgrading put pixel.

what are you doing?

are you using images?
mutile of the same?
are you loading them on the fly or preload the images?
1920 x 1080?
by NaturalDemon
December 15th, 2012, 12:34 am
Forum: Everything
Topic: My first try at a game [UPDATE] 1.1 with some .bmp added.
Replies: 25
Views: 11499

Re: My first try at a game (I think im through begin lesson

nice job,
i see you use a old version of the framework, you din´t use the swap method, font image ... but cool result anyway ....
by NaturalDemon
December 15th, 2012, 12:20 am
Forum: Everything
Topic: My first try at a game [UPDATE] 1.1 with some .bmp added.
Replies: 25
Views: 11499

Re: My first try at a game (I think im through begin lesson

remove the "intellisense"Chili DirectX Framework.sdf file from the zip file or chili ges mad and you don´t want that
: )