https://github.com/aziliz1/dragonruby-parallax
A simple parallax with DragonRuby
https://github.com/aziliz1/dragonruby-parallax
beginner-friendly dragonruby parallax
Last synced: 5 months ago
JSON representation
A simple parallax with DragonRuby
- Host: GitHub
- URL: https://github.com/aziliz1/dragonruby-parallax
- Owner: TanguyAndreani
- Created: 2020-02-23T20:00:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T21:59:44.000Z (over 5 years ago)
- Last Synced: 2023-07-22T22:25:19.498Z (over 2 years ago)
- Topics: beginner-friendly, dragonruby, parallax
- Language: Ruby
- Homepage: https://lmbdfn.itch.io/dragonruby-parallax
- Size: 10.4 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple parallax with DragonRuby
So this is my first try at DragonRuby. I tried to make a parallax, which
I already did for a game with CSFML.
The parallax code is in [lib/parallax.rb](lib/parallax.rb), and the code which controls it in [app/main.rb](app/main.rb). Other files control the two arrows you see on both sides of the screen; which you don't need if you just want to learn about the parallax.
## Show me the simplest working parallax
This code got a little tricky for a beginner, but you can still access [one of the first versions](https://github.com/TanguyAndreani/dragonruby-parallax/blob/cc71fa2777095b72925bd40bc8db95b9c251705a/app/main.rb) of the code. A single file parallax of less than twenty lines which just works.
## Credits
Images were found randomly on the web, they were free to use but I think
they need to be in the credits.
# Screenshot
