4,111 reputation
11447
bio website openorpg.com
location Canada
age 20
visits member for 2 years, 9 months
seen 6 hours ago

I'm Vaughan!

  • I work on OpenORPG and other cool projects
  • I work for a startup making HTML5 games
  • I'm enthusiastic about game development and writing clean code
  • I blog. Sometimes. You can find it on my website.

2d
comment How can I make a rectangle be on top of all other rectangles in javascript canvas?
You simply need to just draw it last.
Mar
27
comment Does SpriteKit follow the MVC pattern?
Games don't typically follow the MVC model. Don't try and use a rounded peg for a square hole.
Mar
27
comment Java game check if any of the booleans are true?
I would use a logical OR throughout the loop. You can start off a result as "FALSE" and then for each loop, do the test and do something like result |= condition (or whatever your language equivalent is)
Mar
22
comment How can I remove Magic Pink from an image at runtime using GraphicsDevice?
@Kroltan Wait, what? Just because you're not using the pipeline does not mean you CANNOT pre-process them yourself.
Mar
22
comment How can I remove Magic Pink from an image at runtime using GraphicsDevice?
@Kroltan Clearly he wants to avoid it.. but why?
Mar
21
comment How can I remove Magic Pink from an image at runtime using GraphicsDevice?
Just post-process it. You can run an action or script to do this automatically too at build time..
Mar
19
comment How can I refactor an enum so that it is still available in the inspector?
You could make it internal in another Assembly, maybe. I'm not sure.
Mar
5
comment Is there a quick way to determine if a vector is in a quadrant?
You could take the angle and use a lookup table. With a table, you could divide the table onto n widths for n quadrants.
Feb
19
comment Is there a way to manipulate a pixel Array on the GPU?
You want a pixel shader.
Feb
19
comment Should independent game developers target older hardware?
This depends on your target market
Feb
17
comment Are Textures cached by GPU or buffered from memory for every frame?
I would like to add that changing the texture every frame will be poor for performance.
Feb
11
reviewed Approve Loading Texture2d content in Monogame
Feb
6
comment Handling an item database with procedurally generated items?
You need to add some meta data to the save file.
Jan
25
reviewed Approve Question about save games format
Jan
21
comment Voxel Engine in XNA - Block as Class Renders, Block as Struct Doesn't
Yes, structures are passed by value by default in C#
Jan
5
reviewed Approve Mouse position to grid position not working
Dec
19
reviewed Leave Open Using GetTickCount (to shoot missiles)
Dec
19
reviewed Close glOrtho setting view
Dec
19
reviewed Leave Open How can I mimic an isometric perspective using square tiles?
Dec
19
reviewed Leave Open model view projection multiplication order