2,250 reputation
1021
bio website jgallant.com
location Canada
age 34
visits member for 3 years, 5 months
seen 11 mins ago

I am a professional programmer. I enjoy making games.

My Homepage: http://www.jgallant.com


1h
asked Drawing a pixel to RenderTexture
Apr
14
comment How do I rotate and object around itself, and translate it at the same time?
Have you tried renaming the sprite you are using for the long square black rectangle thing?
Apr
14
comment What degree do you need to become a game designer,programmer,developer.etc
Au contraire mes frères, you need pizzazz.
Apr
12
comment Unity sprite with higher sorting layer not firing its OnMouseDown function
I don't think disabling/enabling a collider is very demanding resource wise. You can always run some tests if it is a concern, but I would think it is fine. In fact, it may even speed things up considering that a bunch of your colliders wouldn't get updated.
Apr
12
comment Unity sprite with higher sorting layer not firing its OnMouseDown function
@Shiro Order In Layer of your renderer will determine the layer of your collider. At least that is how I remember it working. Like I said, you could use RaycastAll, and simply check all the objects that are returned from that raycast, and action the one with the highest layer value.
Apr
12
answered Unity sprite with higher sorting layer not firing its OnMouseDown function
Apr
12
comment What is a good design pattern for a typical space shooter (e.g. Ikaruga)?
You would need to provide more details on your implementation, in order to be able to provide you with a code review.
Apr
8
revised Correctly bitmasking path tiles based on existing paths
added 438 characters in body
Apr
8
answered Correctly bitmasking path tiles based on existing paths
Apr
5
comment How to hide an object when a character enters it?
other is a Collider2D object, so you would do other.gameObject.GetComponent<SpriteRenderer>().enabled = false;
Apr
5
answered Question about segment of code in XNA
Feb
27
comment How to deal with cheat avoidance and trusted client issue
If people want to play your game, they will host the server themselves, as long as you offer the server alongside your game. Unless you are a AAA title, this is typically how it is done.
Feb
13
awarded  Good Question
Dec
15
accepted Unity Android Orientation Bug in Auto Rotate
Nov
26
answered Unity Android Orientation Bug in Auto Rotate
Nov
25
asked Unity Android Orientation Bug in Auto Rotate
Oct
25
awarded  Yearling
Oct
24
comment Layers with parallax in a game with zoom out by a transformation matrix
Can you post your camera view matrix code?
Oct
18
comment How to setup a particular blend state where the alpha channel is additive?
Try drawing to your rendertarget using BlendState.NonPremultiplied
Oct
18
comment How to setup a particular blend state where the alpha channel is additive?
Ok, you may have to set the Pre-multiply Alpha attribute of your texture, to false. I've had issues in the past when trying to do additive blending. Take a look here for more details: blogs.msdn.com/b/shawnhar/archive/2010/04/08/…