The scrolling tag has no usage guidance.
0
votes
0answers
14 views
Scrolling a multi-directional background in XNA
I created a class for a multi-directional scrolling, from a class to a scroll to the right. The problem is that when you go back, sometimes the background is not drawn until certain conditions are met....
0
votes
0answers
21 views
Pygame camera scrolling
Right, so I'm trying to develop a Fire Emblem-style game, topdown view of a square-grid map using the pygame library.
I'm trying to implement a way for the camera to scroll when you hit the edges, ...
0
votes
2answers
74 views
How scroll camera smoothly?
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 scroll it. E.g. I fling screen fast ...
0
votes
2answers
79 views
Dynamic items in Scrollable Vertical Layout overlap Unity
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 ...
0
votes
0answers
47 views
How to recycle unity scroll list of game objects?
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 ...
0
votes
1answer
28 views
Scene2d scrollbar not showing even though it exists in uiskin.json/atlas
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 contains a two relevat fragments:
...
-1
votes
1answer
60 views
How to make a Infinite Verticle Scrolling Background in Pygame
Is there anyone who knows how to create an infinite verticle scrolling background in pygame?
Your help would be much appreciated, thanks in advance!
0
votes
2answers
98 views
Big maps with deep zoom and pan
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 ...
1
vote
1answer
115 views
In Unity, Change which mouse button is used to scroll in ScrollRect
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 ...
0
votes
1answer
131 views
How do you create a camera with target-focus behavior in Java?
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 ...
2
votes
2answers
122 views
Camera movement in unity engine
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 moves with a right click and drag ...
1
vote
1answer
172 views
Infinite scroll with tweens in Phaser
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, ...
1
vote
0answers
106 views
Drawing a hexgrid on a canvas, yet making it zoom/scrollable?
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 ...
2
votes
0answers
122 views
Why are parts of this Unity scrollrect not being bound to the mask?
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 ...
2
votes
2answers
201 views
Rows of coins in libgdx?
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, ...
1
vote
1answer
996 views
How to update UI after changing text in a view
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 ...
1
vote
2answers
925 views
Pygame - implementing a scrolling camera
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 ...
0
votes
1answer
165 views
Background Scrolling like Zelda - A Link To The Past with XNA [duplicate]
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. ...
1
vote
1answer
291 views
How to get rid of jerky movement in scrolling? C# / XNA
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, ...
1
vote
1answer
2k views
How to create scrolling input text field using Unity UI
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 ...
4
votes
1answer
448 views
How can I make a scrollable text view?
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 ...
0
votes
3answers
317 views
Which is the best method implementing a background scrolling for game in libgdx?
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 ...
0
votes
1answer
1k views
Unity - Scroll Rect shows buttons outside of the rectangle
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), ...
1
vote
2answers
414 views
ScrollPane scrolling velocity
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 ...
6
votes
2answers
443 views
In Unity, how do I handle very short mouse drags as click events?
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 ...
4
votes
2answers
991 views
How do I make a scrolling map within an HTML5 canvas?
My project is a 2D tactics game with a square grid. It's all HTML5/Javascript/JQuery.
I have been able to draw out the grid and have a system where I can load different maps with tiles where units ...
3
votes
2answers
1k views
How to make a scrollbar?
I am making my own UI for my game, no libraries used, basic UI with simple controls and I am almost done. Now, let's say I need to display lots of information, controls or items which obviously won't ...
0
votes
1answer
233 views
Scrolling effect after touch
i'm making map for a game and need to make scrolling of map, so the main thing what i need is to calculate speed and move layer after player remove finger from screen.
I make it my own, but i think ...
1
vote
0answers
462 views
Sprites on scrolling tmx map (LibGDX)
I have .tmx map loaded, and a camera to see it. The map is bigger than the camera viewport, so I need to move that viewport scrolling the camera.
Now I want to draw a sprite on the map. To do that, at ...
1
vote
1answer
2k views
How to prevent showing outside of Game Map ( Cocos2D-x ) ( Scrolling game )
I'm trying to make a tower defense game and it can zoom in/out and scrolling over my world map. How to scroll over the game and how to restrict it not to show outside of my map(black area).
At below ...
0
votes
1answer
141 views
3D Background for a Verticle Shooter: Making it loop?
I know how to scroll a background using spritebatches + 2D background images, but how would I do it with a 3D model?
1
vote
1answer
176 views
Who should handle animations when game logic is separated from rendering?
Suppose I have a tile-based game and I want the step to be 1 tile but also want the movement to be smooth while the player is getting there. If I understand correctly, the only way to achieve this ...
1
vote
1answer
1k views
Scrolling with SDL2 & Box2d - My Camera isn't keeping up with my player
I'm trying to get a game on the google play store before I'm 40 (long held dream to publish a game since the days of the speccy), I have just over a month to go so it's not looking good! Foolishly I ...
3
votes
1answer
8k views
HTML5 - Dynamic canvas grid for scrolling a big map
I've been working on different scrolling algorithms for my JS-based game. My main problem is that I need to draw a huge map and also have it scroll smoothly. I've made a few attempts and while they're ...
0
votes
0answers
52 views
XNA 2D Tile Map zooming to arbitrary point [duplicate]
I'm working on a game in XNA with a 2D tilemap as the playfield. I'm using a spritebatch with a transformation matrix to provide movement and scaling of the playfield. I'm trying to add a zoom ...
0
votes
0answers
25 views
libgdx : Scrolling background from spritesheet causes lag when sprite is repositioned… am I doing something wrong? [duplicate]
So, I use a sprite from a spritesheet to draw the background and repeat it. (I am drawing it twice) However, the moment that the background is re-positioned to make it look infinite, it causes a lag.
...
0
votes
0answers
77 views
What would be a good way to scroll a large html canvas (that contains little repetition if any)
What would be a good way to scroll the content of a huge html5 canvas so that the scroll is crisp and smooth, and memory consumption (and cpu load or battery consumption) is also reasonable?
any ...
0
votes
0answers
424 views
Cocos2D - Simulating infinite scrolling
I have a BIG problem!! I want to make something like old space shooter games like “Asteroids”, where the ship, when going out of the screen, is reappearing at the other side. For example, when the ...
1
vote
2answers
561 views
Vertical Scrolling In Tile Based XNA Platformer
I'm making a 2D platformer in XNA 4.0. I have created a working tile engine, which works well for my purposes, and Horizontal Scrolling works flawlessly, however I am having great trouble with ...
2
votes
1answer
2k views
How to handle a Tile Map Scrolling [duplicate]
i'm making a video game, and i'm having, i think, a concept problem. The game will be a platformer which will use tile maps, so to start i will create a mask matrix indicating the tiles to be loaded, ...
2
votes
1answer
1k views
adding vertical scrolling to 2D platformer in libgdx
I am trying to make a two sided platform game in Libgdx. Where I am scrolling through the TiledMap.
I was easily implementing the horizontal scrolling using..
camera.position.x = player.getPositionX()...