Programming 2D Games
http://programming2dgames.com/forum/

Chapter 10 Parallax Scrolling Exercise
http://programming2dgames.com/forum/viewtopic.php?f=4&t=444
Page 1 of 1

Author:  sWilde22 [ Wed May 01, 2019 6:14 pm ]
Post subject:  Chapter 10 Parallax Scrolling Exercise

I'm having trouble figuring out where exactly the code changing the scroll speed should be attached to solve the challenge - I've got a second layer of clouds rendering find, but where in the code should I code in change in scrolling speed - I know it should be in the update function, but attached to what?

Author:  profkelly [ Thu May 02, 2019 6:49 pm ]
Post subject:  Re: Chapter 10 Parallax Scrolling Exercise

Basically duplicate the mapX stuff in FlowerPower::update() and FlowerPower::render().

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/