Skip to main content

Questions tagged [scrolling]

Games that include scrolling

Filter by
Sorted by
Tagged with
0 votes
1 answer
170 views

I'm making a building game in Unity and C# I want to be able to scroll the screen in all 4 directions when in building mode. At the moment, I can rotate the camera and scroll the screen left and right,...
Guybrush Threepwood's user avatar
0 votes
2 answers
323 views

I know we're able to scroll a background image hardcoded or using awsd keys(or arrows) if they're pressed. But what about scrolling it with mouse movement? So I have a piece of panoramic image as a ...
Intice's user avatar
  • 31
1 vote
1 answer
109 views

I would like to understand the process of selecting the correct tile from a scaled Surface when I have information about the number of tiles on the x and y axes, the length of the Surface, and also ...
anathrax's user avatar
3 votes
1 answer
250 views

I was recently reading up on Carmack's Adaptive Tile Refresh, of which was written extensively in this thread, to implement in a hobby gamedev project of mine: https://retrocomputing.stackexchange.com/...
Hash's user avatar
  • 93
2 votes
2 answers
2k views

I'm writing a Text-RPG and I have set up a ScrollRect where new paragraphs and choices are added and removed at every turn. This makes the size of the Content change constantly, which I handle with a ...
ireth92's user avatar
  • 91
0 votes
1 answer
477 views

I'm looking to create a scroll bare similar to IOS scroll when you load page or something when it lets you pull all the way down but the tension gets higher like it is on spring. How would I approach ...
Ivan's user avatar
  • 379
2 votes
1 answer
8k views

I have a ScrollView object in my project. It is set to Clamped. Inside the ViewPort, I have Content and what I actually want to scroll, a TextViewMesh. The Content has a Content Size Fitter, with its ...
Fustigador's user avatar
1 vote
1 answer
206 views

I want to set a time limit for scrolling text in OpenGL & GLUT. How can I stop scrolling at 250? Here is my code. I try with the if condition but it's not working. The scrolling is not stopping in ...
Unknown's user avatar
  • 11
1 vote
1 answer
1k views

I'm new in Unity, so I hope you guys can help. I'm developing a 2D-game for Android device, on the scene I have a huge background image inside Scroll View (UI - Scroll View). Next, I created new ...
dakath's user avatar
  • 11
1 vote
1 answer
109 views

I'm trying to make a simple 2D platformer in XNA, but I'm having trouble with the vertical scrolling. What I'm trying to accomplish is that whenever the player is above half the height of the screen,...
MHK's user avatar
  • 11
0 votes
0 answers
52 views

I'm writing a paper on game backgrounds and need to look at how they are implemented in different games, but I'm a bit stuck on scrolling backgrounds. While it's easy to recognize a scrolling ...
user124261's user avatar
0 votes
1 answer
538 views

How can I create a scrolling effect like in Ikaruga, where the background is on Rails and the foreground is fixed with the player in Unity? https://www.youtube.com/watch?v=H6d0PkEPKSk Some more ...
Greencurbwalker's user avatar
0 votes
1 answer
599 views

I am trying to replicate the endless scrolling of slither.io but, I can't figure out how to implement it. Since the players can move to any direction and the background needs to be available during ...
Carlos's user avatar
  • 101
0 votes
1 answer
470 views

How can I implement a right-to-left scrolling text ticker in libGDX (like stock tickers)?
Gary Mohan's user avatar
0 votes
1 answer
961 views

I have created a custom UI element (that use CanvasRenderer). Here is code : ...
tigrou's user avatar
  • 3,279
2 votes
1 answer
508 views

I'm about to develop (just for fun) a retro DOS game with Turbo C 2.01. Currently I'm wirting directly all the pixel information to 0xA0000000 + [y * 320 + x] which ...
Rainer M.'s user avatar
0 votes
1 answer
1k views

I am using the LibGDX framework. I'm not using Scene2D but I want to implement my own "scrolling UI". This is only what I could think of (see image below): I will make the 2nd camera look at very far ...
Zik's user avatar
  • 209
1 vote
1 answer
3k views

i have a for loop that detects the position of every game object in a list and gets the difference between that object and an object anchored in the center and then stores all values in a float array. ...
Tarek-Dev's user avatar
1 vote
1 answer
236 views

I have the following code: ...
MustacheMoses's user avatar
4 votes
1 answer
5k views

In Unity I am using a scroll view. It works semi-perfectly (had a lot of problems with it, don't like how the UI system works). The content for my scroll view is a bunch of buttons aligned vertically ...
user avatar
1 vote
1 answer
751 views

There seems to be a lot of posts about endlessly scrolling backgrounds on one axis, but not much for a 2-axis solution. As Josh Petrie suggested, I'm posting my approach as an answer to see if anyone ...
peacetype's user avatar
  • 145
1 vote
2 answers
4k views

I have 15 background images for a 2D horizontal scrolling shooter game and I have been wondering how to insert programmatically those background images in the first level room, as I want them to be ...
PayToPwn's user avatar
  • 123
3 votes
0 answers
3k views

I have a basic ScrollView, with some additional scripts so it snaps to the nearest element (focusing on it). When I perform the scroll, it looks like this: What I ...
Jacob's user avatar
  • 2,552
0 votes
1 answer
289 views

This seems like a simple thing but still doesn't work. So I'm trying to draw a scrollable log window (not scrolling yet) by using a RenderTarget2D. There are several bugs: The text should be drawn on ...
mkkekkonen's user avatar
1 vote
0 answers
230 views

I have a ScrollView. It has children, most of which I want to scroll, but some of which I want to remain still. Think of something along the lines of a spreadsheet where the title rows/columns don't ...
Evorlor's user avatar
  • 5,881
0 votes
1 answer
853 views

I know many questions have already been asked on this same topic, but I can't figure out from those how to solve my problem (possibly due to a different approach to achieve the same goal: scrolling my ...
umbe1987's user avatar
  • 101
0 votes
1 answer
349 views

I am generating a terrain in Javascript canvas using this js project for the Perlin noise. I have an array of points, and when one point leaves the left-hand-side of the window, it is removed, and a ...
GluePear's user avatar
  • 103
2 votes
2 answers
1k views

I have such screen: very long world which I draw on stage and I need to scroll it. Now I move my camera in touchDrag() method. But I want to move my camera like I ...
Alexander's user avatar
  • 147
1 vote
2 answers
5k views

I have followed steps from this tutorial site to create dynamic scrollable vertical layout. I am trying to show 10 prefab buttons in a scrollview dynamically. I can see buttons at runtime, but they ...
NightFury's user avatar
  • 191
1 vote
0 answers
560 views

In my game, I have a scrollrect which its content have a VerticalLayout component. When I fill that with so many count of GameObjects, the game will fall in problem! I know that I have to recycle my ...
sma6871's user avatar
  • 111
1 vote
1 answer
1k views

Using uiskin.json, uiskin.png, uiskin.atlas, default.fnt from libgdx tests I'm trying to make a console window, however the scroll bar is not shown. uiskin atlas ...
MrPlow's user avatar
  • 337
-1 votes
1 answer
3k views

Is there anyone who knows how to create an infinite verticle scrolling background in pygame? Your help would be much appreciated, thanks in advance!
Tahmid RAhman's user avatar
1 vote
2 answers
1k views

I have a world map of 14048x7134, the game starts with the zoom completely out and during the operation it zoom in and zoom out and pan in all directions, it can get really near the surface, at almost ...
JDL's user avatar
  • 111
2 votes
1 answer
1k views

I've created a new ScrollView in Unity. How do I change which mouse button is used to scroll in ScrollRect (through script or in the editor). By default it's the left mouse button. I'd like to be ...
nsfnotthrowingaway's user avatar
0 votes
1 answer
526 views

After making some progress in my game, I was looking around for camera scrolling methods to use for my TDS game and found one that I thought would work well for it. This is an example of what sort of ...
Kenny Williamson's user avatar
2 votes
2 answers
218 views

I have a basic camera setup which is angled like so: x: 30 y: 0 z: 0 Projection: Orthographic And i attached a C# component to it and made it so the camera ...
WDUK's user avatar
  • 135
2 votes
1 answer
911 views

Let's say you have a bunch of tweens running like this: http://holbrook.no/tests/featherfall.html Now you want to scroll them horizontally while they fall. By updating camera x, they start moving, ...
lash's user avatar
  • 131
3 votes
0 answers
894 views

I'm developing a game in JS / PHP. The game is basically a 2D plane (hexgrid) where each hex represents a location in space. In total, I'm drawing 25 * 25 hexes on a 1000x1000 canvas. I also draw ...
Christian Finke's user avatar
2 votes
0 answers
514 views

I'm setting up a system for people to load up extra levels. Since I don't know how many levels are going to be loaded I have a UI prefab that gets added to the main Level Load UI. However, the Text ...
Califer's user avatar
  • 433
2 votes
2 answers
691 views

I have my coin image in the assetLoader class, then I import it into gameWorld. My question is, how can I draw() rows of coins without having to write out 15 different coins? i.e., coin1, coin2, ...
resfever's user avatar
2 votes
2 answers
8k views

After applying a text change to a scrolling view, how do you get the new height of the text, resize other UI elements around the changed text length, etc? Many have posted this question. Some have ...
Dustin_00's user avatar
  • 161
2 votes
2 answers
17k views

I am currently making a 2d game in Pygame and have run into a roadblock trying to make a scrolling camera (follows the character). I have seen some other answers to similar questions, but they have ...
thevengefulco's user avatar
0 votes
1 answer
560 views

i am trying to create a background that scrolls like the one in zelda - a link to the past. in other words: i have a bigger "screen" than the camera covers, so i need to scroll over it, when moving. ...
purpule's user avatar
  • 113
1 vote
1 answer
1k views

I'm having a bit of trouble with my code meant to create a scrolling background of random-ish ones and zeros. When moving to the right (or left), it scrolls smoothly for a few seconds, stops/jerks, ...
Scratchifier's user avatar
1 vote
1 answer
6k views

How to create scrolling input textfield using UI in Unity 4.6.6 problems in my project are 1.Cursor is not masking 2.Scrollbar size is automatically become 0 to 1 size 3.Scrollbar is not working ...
Liju Thomas's user avatar
4 votes
1 answer
2k views

I am trying to do an appication in monogame windows. I have a long text to be displayed on screen. I tried to render it on screen using spriteBatch.Drawstring, was succesful to an extent. But, the ...
jincy abraham's user avatar
0 votes
3 answers
1k views

My question is very simple I am new to libgdx development, which is the best approach implementing a background that is to make the background move in y direction 1)My First approach is drawing the ...
Shersha Fn's user avatar
1 vote
2 answers
5k views

I have this problem. I'm using a scroll rect to display a series of buttons, but I would make sure that as soon as the buttons (with the scroll rect), come out of a certain area (bounded by a panel), ...
user12's user avatar
  • 143
1 vote
2 answers
1k views

I'm working with a custom ScrollPane, but I can't find how to change the velocity of scrolling (not on fling action). Can anybody tell me how reduce scrolling velocity on calling setScrollY() or ...
Slampy's user avatar
  • 113
6 votes
2 answers
2k views

I am trying to recreate a UI menu that has functionality similar to the iPhone's home screen: If a user drags anywhere on the menu (including on a button), it should drag the whole page left/right ...
James Linden's user avatar