Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
How would I implement a scrolling background in opengl?
Post Body

Hello, I'm new to opengl, just finished learning c and I wanted to try making a side scrolling mini game like this gif . A lot of googling on the internet and I still have no idea where to get started so please help

https://i.redd.it/vu45hf4ieu261.gif

I want to first import the background into the 3d space, is that texture mapping? Do I first make a shape in opengl like a quad and then "bind" the background textures onto it? The thing is, I get the idea, I'm not sure where to start or go about it.

How do i render the background and import a 2x2 spritesheet?

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
7,034
Link Karma
1,819
Comment Karma
4,637
Profile updated: 2 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago