2,025 reputation
820
bio website jgallant.com
location Canada
age 33
visits member for 2 years, 10 months
seen 7 hours ago

I am a professional programmer extraordinaire. I was introduced to programming at the age of 6 on a Commodore 64. I enjoy making games.

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

My Game: http://www.infinidrill.com/


1d
answered Draw a never-ending line in XNA
1d
answered Problem with sprite direction and rotation
Jul
29
comment how to make blocks like “redstone” working in a minecraft-like game when the block is very far-away from your character
Alternatively, you could have the circuits refresh themselves when adjacent chunks are loaded in, which could potentially result in some circuits glitching based on how large / how you load your chunks in. Considering you have an infinite world, it might be acceptable, or even not noticeable.
Jul
3
comment MonoGame - Fuzzy Pixels When Drawing (2D)
There used to be some bugs with the PointClamp implementation of Monogame. I'm wondering if you are using updated DLLs?
Jul
2
comment MonoGame - Fuzzy Pixels When Drawing (2D)
Would it be possible to include sample images of the blurry draws?
Jul
2
awarded  Curious
Jun
13
comment Dynamic navigation mesh changes
david-gouveia.com/portfolio/pathfinding-on-a-2d-polygonal-map
May
14
accepted Timestep in multiplayer game
Apr
27
comment [ C# ]xna to monogame
@Mr.CodeIt That is strange. Restart visual studio.
Apr
27
comment [ C# ]xna to monogame
@Mr.CodeIt Some people actually write everything in XNA, and then port it to Monogame after. I'll have to admit, the original setup for Monogame can be problematic, but once you are up and running you should be golden. One thing to keep in mind, is that the Monogame framework does not have a content pipeline, so you still need XNA to convert your content files into xbe.
Apr
26
comment [ C# ]xna to monogame
@Mr.CodeIt depends on your project. Some projects, you only have to point to the monogame libs, and everything works out of the box.
Apr
26
answered [ C# ]xna to monogame
Apr
24
comment Multiple keypresses causing wierd results in SDL
@KyleMotherwell Ah, yeah, what I typically do is store a Vector2 for the position, which keeps track of floating points. Then on the update, I set the Rectangle position based on the position. When calculating the position change, always use your Vector2 instead of the Rectangle, to maintain floating point values.
Apr
24
answered Multiple keypresses causing wierd results in SDL
Apr
24
comment Multiple keypresses causing wierd results in SDL
This looks fine to me. Is there any other relevant code you could think of that could be causing this? You are not incrementing the velocity, you are setting a static speed, so it should work. Possibly post your Update method code.
Apr
23
awarded  Investor
Apr
23
answered Why is my cursor not working if I add a scaling matrix?
Mar
7
comment Monogame/XNA Invert Screen Y Axis
Unity inverts the Y-axis. I personally prefer the Monogame convention, as it is the one I have been used to using since the 90s. You could write a wrapper that reverses your axis for you, but I would imagine this would most likely create a lot of grief. As Ben said, best to get used to it.
Feb
25
revised How can I create an array of GameObjects?
added 5 characters in body
Feb
25
answered How can I create an array of GameObjects?