# Search Results

1. Post

### GMS 2 [Solved] Drawing sprite images center-aligned like text

Here's a really simple example: var _sprite_width = 32; var _spacing = 10; var _y = y; for(var n = 1; n <= 10; n += 1){...
Post by: flyingsaucerinvasion, Oct 19, 2019 at 12:09 AM in forum: Programming
2. Post

### GMS 2 [Solved] Drawing sprite images center-aligned like text

It seems like you only need to compute the total width of a row, and then offset the start of that row by half of that width. However, you'll also...
Post by: flyingsaucerinvasion, Oct 18, 2019 at 5:21 PM in forum: Programming
3. Post

### GMS 2 3D Causing strange bug with surfaces since recent patch

Well, I only have GMS1, but it appears, reading the GMS2 docs, that there are other ways of setting an orthographic projection, using camera set...
Post by: flyingsaucerinvasion, Oct 17, 2019 at 8:30 PM in forum: Programming
4. Post

### GMS 2 3D Causing strange bug with surfaces since recent patch

If you're using an orthograhpic projection, and you want things to be scaled 1:1, then you must set the size of that projection equal to the size...
Post by: flyingsaucerinvasion, Oct 17, 2019 at 8:11 PM in forum: Programming
5. Post

### GMS 2 3D Causing strange bug with surfaces since recent patch

Did you use camera apply after setting the surface as the render target, but before drawing anything to that surface?
Post by: flyingsaucerinvasion, Oct 17, 2019 at 7:37 PM in forum: Programming
6. Post

### How to make 3d sounds fall silent when far enough

The only falloff model that will drop to zero gain at any distance are the linear models. The exponent_distance and inverse_distance models can...
Post by: flyingsaucerinvasion, Oct 15, 2019 at 6:33 PM in forum: Programming
7. Post

### GM:S 1.4 How to change direction for a physics object?

Do you mean that you want to instantaneously change to a different direction, but keep the same speed? Apparently, there's no built-in variable...
Post by: flyingsaucerinvasion, Oct 12, 2019 in forum: Programming