scroll

  1. xS89Deepx

    gms2 - pan view

    //create event drag_x = 0; drag_y = 0; //step event if(mouse_check_button_pressed(mb_left)) { drag_x = mouse_x; drag_y = mouse_y; } if(mouse_check_button(mb_left)) { // drag the view camera_set_view_pos(view_camera[0],drag_x -(mouse_x - camera_get_view_x(view_camera[0])),drag_y -(mouse_y -...
  2. 2

    GML Looping Room with Camera: Make Backgrounds Seamless on Loop

    I want an infinitely looping room that has a moving camera/view following the player that teleports the player back to the beginning or end based on what edge of the room the camera enters. I know how I should move the player and camera, but how would I make backgrounds loop seamlessly when that...
  3. AlanTalan

    GameMaker how can you do a VIEW SCROLLING

    hello and thank you for the help I have a project that I want the camera to not lose the player, which will move in all directions ( x and y ) I tried to use this tutorial but it didn't work: https://gamemaker.io/en/tutorials/fire-jump-dnd-1 as i want to make my game infinite, i need infinite...
  4. JeanSwamp

    Camera Jumps on first drag

    Hello, I have a very simple drag system for my camera, with a setup as such: Create: position_x = 0; position_y = 0; new_room_x = 0; new_room_y = 0; Drag Start: position_x = event_data[? "posX"]; position_y = event_data[? "posY"]; Dragging: new_room_x = position_x - event_data[? "rawposX"]...
  5. S

    Operation With Sprites without creating object

    I have generated a scroll view after watching a video where continuously generates sprites with a loop. but now I have to work with these generated sprites . if the sprite lies in a specific position then will change the index. Is it possible to create? I used these codes for scroll view ...
  6. T

    Android [SOLVED] Make room scrollable

    Hello, maybe someone can help a not so deeply expirienced GML guy like me :/ I have created a very simple app for android that is showing some text and pictures for my kids. The room is bigger than any display-size, so I need to make the entire room scrollable. I am not sure how to do this in...
  7. S

    Infinite Vertical Background

    Preface My apologies if this has already been covered somewhere. If so, please link it to me. I have done extensive searching on the forums and in videos, and either the solution is outdated (unsupported syntax) or it doesn't quite pertain to my issue. With that said: Problem I am trying to...
  8. K

    Released Heavy Sky (iOS, Android)

    Hi, everyone! Heavy Sky is a mobile game with minimalistic graphics, inspired by old-school shoot-em ups. Fight your enemies in two game modes, earn coins and buy upgrades for your aircraft, support drones and power ups. Main features: - Gamemodes: coin hunt and endless mode with 3 difficulty...
  9. Kaguva

    Asset - Scripts Scrolls

    Scroll Asset 12 diferent examples - 2 kind of items each one Marketplace: https://marketplace.yoyogames.com/assets/7887/scroll Primal category: Scripts Price: $24.99 Modules: All exports Support: [email protected] Features: Easy to use Documented Slider Next-Back button Dragging...
  10. JeanSwamp

    GML Horizontal Tile Different Backgrounds

    Hello, I'm trying to create some sort of background that scrolls horizontally for a runner game. A good example that comes to mind when trying to explain what I need is Jetpack Joyride, where the background transitions from one to another. Basically I plan to have more or less the same...
  11. PlayerOne

    GameMaker collision not matching object when scrolling?

    There seems to be some sort of odd bug where the collision box and the actual object do not line up on the y position. When the game is running and when I scroll through my merchants inventory with the middle mouse button the inventory objects will scroll up and down on the y position, but the...
  12. magicweapon

    Windows Discord - Scroll down shooter

    This is a game I made to participate in a contest and I decided to upload it here in the game maker forums because I made it in Game Maker Studio, I hope you like it. Screenshots: Controls: Arrows - Move Enter - Select R - Shoot Esc - Exit So far there are only three weapons and...
  13. haloregit

    GameMaker vspeed not working

    Hi everyone This is my first post. I usually manage to figure out what the issue is myself, but this one has me confused. I have a basic load file screen that generates based on the amount of save files. A block containing the file name is created for each file. So when the amount of blocks...
  14. TheOnlyWRT

    Scrolling a view

    Hello! So, after watching a few tutorials in youtube about scrolling the view in a game and trying to write some code to do so i couldnt get it to work and decided to post the question here. This is the code i have been using: Room Start: _index = 0;//index of the view you want to target...
  15. T

    GameMaker [SOLVED] How do I make this scroll instead of jump?

    #region Quick select 1 if keyboard_check_pressed(ord("1")) { hold_timer = 15; quick_select_index = equipxy[2] } //Wont't need +35*equippage[2] if keyboard_check(ord("1")) { if hold_timer > 0 { hold_timer -= 1 } else {...
  16. S

    Scrollbar

    Well, I'm trying to remake C++ programm in GMS. Everything is ok, but I have absolutely no idea how to make scrollbar. In C++ as I know you can just use scrollbar() function from library. Is it possible to transfer it in GMS as an DLL? If not - could you give me algorithm of how does scrollbar...
  17. Z

    Depth effect on scrolling backgrounds. Parallax

    I tend to use this code: background_x[0]=view_xview*1 background_y[0]=view_yview*1 It works but it makes a twitch each time the player lands or stop running Any idea on how to fix it?
  18. G

    Question - IDE [SOLVED] Scrolling in Text Editor with trackpad

    i feel like this might be an issue on my end, but i'm curious if i'm supposed to be able to scroll with my trackpad? it would be really helpful to be able to do this, but i can't. when i scroll with my trackpack, the arrows appear as they would in other programs and stuff that it's scrolling...
  19. G

    Question - Code Scrolling list example?

    The most similar behaviour and appearance: https://marketplace.yoyogames.com/assets/2345/scroll_list The problem is started to learn and customise this control from market - it is impossible to use it. I have already rewrited ~90% of code and it still doesn't work properly. Does anybody have...
  20. J

    Vertical Scroll with fixed timer [Solved]

    Hey ya'll, I'm making a platformer that scrolls up and down, and I was wondering if there is an easy way to get it so that the timer at the top scrolls with the rest of the screen. Thanks in advance!
Top