Could someone direct me to an open-source, 2D sidescrolling game developed in C++? (I'd prefer a Mario-style sidescroller, but almost any would do.) I'd like to look at the source code to see some examples of a working sidescroller collision detection system, and a jump algorithm.

Thank you for your time.

It is ancient by todays standards, but CrackDotCom released all their source code, including the full source for the wonder Abuse. Other people have picked up on the project, and you can read the source here. It was almost a decade ago I first read it, but I recall the source being quite clean.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.