it would be help me out alot if some one could take the time to teach me know to create 2d game from start to end.

i want to create this game in java or c++ but it has to be 2d side scroller by using 2d array as map tiles, kind of like mario

BBBSSBBBBBSSBBBBBB
BBBBBBBBBGBBBBBBBB
MBBBBBBBGGBBBBBBBB
GGGGDDDGGGGGGGGGGG
DDDDDDDDDDDDDDDDDD

How about reading a tutorial from the web,

In Java here's a good tutorial (though a bit deprecated) which teaches how to make platform based games like mario you can also download and edit the source code too

http://www.javacooperation.gmxhome.de/TutorialStartEng.html
this covers the basic steps from first to last and you can reread the chapters
the mario game tutorial starts at lesson 7 though it's good to read the previous lessons

Be a part of the DaniWeb community

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