Questions tagged [side-scroller]
95 questions
1
vote
2 answers
Side Scroller in C++
I'm looking at creating a basic side-scroller using OpenGL and C++, however I'm having trouble tackling a few basic conceptual issues, namely:
Dividing the window into easy "blocks" (some sort of grid system). On what level would I want to do this?…
anon
1
vote
2 answers
How can I create an angle in which an object must follow in pygame?
I'm designing a side scrolling computer game for my class, that needs to be handed in soon, however, there is a section of the code that I am struggling with.
I have created an almost Artificial level, where there is a "villain" throwing object at…

Lauren-R
- 13
- 5
1
vote
0 answers
How to go about enabling side scrolling in Wagtail admin site
I have been tackling a particular design issue with Wagtail admin. Thus far I have not found a way to enable side scrolling admin listing pages. I want to extend my user model with more data about the users (e.g., occupation, education, address, and…

Fernando Soares
- 140
- 1
- 12
1
vote
3 answers
Sidescrolling with HTML5 canvas
I have a canvas with the following size: 500x200. Inside this canvas i'm drawing some number of blocks (actually - table cells). Information about how much blocks i should draw i'm getting via AJAX, but size for every cell is fixed - 100x50. So, i…

Adoshev
- 13
- 2
- 5
1
vote
2 answers
Procedural generated 2D caves/dungeons for sidescroller like game
I would like to proceduraly generate 2D caves. I already tried out using some 1D simplex noise to determine the terrain of the floor, which is basically everything you can change in a sidescroller, but it turned out rather unimpressive.
I would like…

veqa
- 57
- 9
1
vote
0 answers
Scrolling background in Processing with Fisica/Box2D
I'm trying to make a scrolling world with Fisica (port of JBox2D) and Processing 3. This code almost works, it scrolls correctly etc., but when I make this.player jump with this.player.addImpulse(0, -150), it works when the world is not scrolling…

Jachdich
- 782
- 8
- 23
1
vote
0 answers
Collision detection does not seem to work
I am currently working on a school project where I am creating a side scrolling game. I am at the stage where I require collision detection. I would like my character sprite's visibility to be set to false when it intersects the evil character…

JTsusan
- 11
- 2
1
vote
1 answer
Is React Native suitable for building an OpenGL-accelerated 2D-game?
Say I wanted to build something like a 2D side-scroller game. Would React Native be suitable performance-wise? E.g., can I use OpenGL-acceleration for it? Or would it probably be slower than just using WebGL and HTML5?
Researched some more and came…

Wieger
- 663
- 1
- 9
- 24
1
vote
0 answers
Java Sidescroller doesn't look fluent
I'm currently programming a side-scroller on Java, but I noticed that the moving background simply doesn't look fluent, but stuttering.
I implemented the movement of the background by offsetting it every frame a few pixels to the left, by 60 ticks…

DevEmil
- 27
- 8
1
vote
0 answers
How to have endless scrolling ground at an angle with Swift and Spritekit?
I am trying to implement an endless scrolling ground with Swift and Spritekit. I managed to get the scrolling ground to work if the ground is a flat surface. But I want the ground to be on a decline like it is going down a hill. How can I do this?…

5AMWE5T
- 841
- 1
- 9
- 25
1
vote
2 answers
How can I make a 2D side scroller game for Mobile using Unity
Do I need to spawn the world by making prefabs or just make a very long platform?
Sorry, I'm a complete beginner and tried making a long platform because if I do a random spawn it wouldn't be like Mario Run or Geometry Dash where when they die they…

Jeffrey R. Garcia
- 11
- 3
1
vote
0 answers
How do i run a .jar file on a website?
I recently made a 2D sidescroller and i now want it to be on a website.
The game runs via Canvas or JFrame either one. Prob Canvas hence the code.
public class Game extends Canvas implements Runnable{
But i just wanted to know how to a Java Game on…

user3603698
- 27
- 3
1
vote
0 answers
SKPhysicsJointPin in a side scrolling Swift SpriteKit game
I'm trying to develop a side scrolling game in SpriteKit. My problem is the following:
I'm trying to add a rope to my game, but it breaks when I start the game. When I add this rope to a non-scrolling game it works perfectly well. I think the…

Eduard
- 620
- 9
- 21
1
vote
2 answers
Issue with resetting boolean and int value within update() method
In my game, I am using a boolean variable called
onScreen
and it is set to true everytime the game starts. I also have an int variable called
onScreenTime
which is set to 180 when game starts. These are used to portray the text "Prepare for Wave…

archangel
- 112
- 9
1
vote
1 answer
Unity: Changing direction character faces when using InputManager(side scroller)
I'm creating a simple side scroller with a couple people using Unity and am definitely a beginner. The character being used is 3D and runs forward well, but when running backwards he still faces forward. I have the controls setup in the InputManager…

eg3
- 21
- 4