SuperMario
SuperMario copied to clipboard
Source Code from my Creating Super Mario Bros YouTube Tutorials
Hi guys, I keep getting the same problem over again anytime i use the getframe i.e. setRegion(walkAnimation.getKeyFrame(stateTime, true)); Getting this long error.. Error:(33, 8) Gradle: error: no suitable method found...
How does Mario finish the game and go to the next stage?
None of these files work any more... very frustrating.
Hi there The code has not been updated to your latest revision in the videos. I am trying to find the part where you clear the enemies from the arrays....
fixes issue #12
fixes issue #6
In the code snippet below, it says incompatible types for region where i have marked asterisk, for some reason it only recognises it as java.lang.object. > public TextureRegion getFrame(float dt){...
If you get the first mushroom at the beginning of the level and get the second one at the end of the level without being hit by an enemy, mario...
Hello @BrentAureli, I think it would also be a real improvement to the code using the Command Design Pattern as it is explained here : http://gameprogrammingpatterns.com/command.html Regards, M
Hello @BrentAureli, I think it would be a real benefit to refactor the Mario Class using the State Design Pattern as it is explained here : http://gameprogrammingpatterns.com/state.html Regards, M