Description

Want to incorporate pixel-perfect scrolling into your mobile game or application when the user drags their finger across the screen? Want to add a neat draggable menu to your game? Want to eliminate the old-school scroll wheel? Look no further than Pixel Perfect Scrolling! It's been done before, but now it's time to do it the best.

Features:

  • Vertical and/or horizontal directional scrolling.

  • Adjustable and optional momentum so your scrolls come to a gradual halt.

  • Boundary definition with bounce effect.

  • Heavily commented code.

This asset is lightweight and extremely easy to adapt! There's no silly copying and pasting with x's changed to y's and width's changed to height's going on in this code to accommodate directional scrolling. It's smart!

End User Licence Agreement (EULA).

Version 1.0.0. Published March 17, 2017

Created with GameMaker: Studio v1.4.1567

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Mohamed M 10 December 2018


Gravatar

Kim J 16 March 2018

Please help me developer ;(

trying to index a variable which is not an array
at gml_Script_scroll (line 95) - if ((my_pos[i] < get_position[i]) && movement_direction[i] == 2) { // if we scroll up or to the left
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_scroll (line 95)
called from - gml_Object_oScroll_StepNormalEvent_1 (line 1) - scroll(0, 0, room_width, room_height, 2, 2); // continously call this script (after calling enable_scrolling())

I just import all the things from your extension
and put oScroll and oDraw objects in my room
and error occured like above.

what is my problem??? please help me ;(

there was no error when I test it in 'rTest' room.


Gravatar

Douglas P 03 August 2016

Does exactly what it says on the tin

Absolutely brilliant.

Added this to my project, put the oScroll object in my room and boom, worked with no problem.

Very well documented, was able to edit to my exact specifications.

Definitely recommend!

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top