stretch

  1. lyfe264_

    HTML5 FullScreen issue with aspect ratio

    Hello, I am having issue with setting fullscreen for my game on HTML5. The game is stretched when in fullscreen but works perfectly fine when not in fullscreen mode. I used this js script I found to get in fullscreen mode : function ToggleFullScreen() { if ((document.fullScreenElement &&...
  2. shui.bdr

    help with drawing sprites

    i need to make an arrow pointer for a "golf like" game, pointing from the ball to the mouse. so, i'm trying to draw a sprite strething and rotating it at the same time, but it seems like there isn't any function that can do this. not even the draw_sprite_stretched_ext can rotate the sprite...
  3. V

    Stretching the view using a shader to create a perspective/endless horizon effect.

    Hi everyone, (example) I'm using GMS 1.4 and am currently working on a 2.5d open world game. A view follows the player and the objects that come into said view from the top need to be stretched or scaled in such a way (like Mode 7). The issue is i can't seem to find any tutorials on the...
  4. B

    Flashlight sprite Stretches to Mouse Coordinates.?

    Hey everyone. thanks for taking the time to help me with this very annoying problem I am having, but I can't do this without a little help from my friend's XD so my problem is that I have a flashlight object that aims at the mouse coordinates but I want to make the sprite of the flashlight...
  5. D

    Legacy GM stretching a sprite created from surface

    im using sprite_create_from_surface(); the sprite on surface is 32x32, but I need to create it at 96x96. how can I do this. im not drawing the sprite so I cant just draw it stretched and im not assigning it to an object so I don't think image x/y scale will work. Ive dug through the manual and...
  6. F

    GameMaker [SOVLED] Sprite Depth: Stretching to Layers or to Objects

    I need to draw a sprite at a specific depth in order to fit between layers, but I also need it stretched to double its current size. Option 1: Create a second sprite which is double its size, move it to an object, and draw it at depth. There are many sprites and this seems horribly tedious...
  7. C

    GML Stretching sprites from included files (SOLVED)

    As a beginner I am building a game in GMS2 with backgrounds for 1920x1080 rooms. I have already received valuable tips from @Rayek to keep file sizes low. And @TsukaYuriko has persuaded me to use included files for this. After background = sprite_add("Tegenlicht.png",1,0,0,0,0); in the create...
  8. H

    Android Weird stretching when exporting to Android

    Edit: This has since been fixed! I just updated game maker and it works again.
  9. M

    Question about objects performance

    Hey, I have a small doubt. We all know that putting too many instances of an object, the performance will suffer greatly. I try to use Tilesets all I can but some times I just need the collisions and I have too many objects. While my performance is always above 60fps, I'm trying to make a game...
Top