Just updated on Github :
- Iss pointed out an issue that might have been a problem, not detected when building by the compiler : a semicolon instead a comma
- A collision detection with fire in lvl 2
(tap files are available in the github repository)
Fun code to read - is the intent of TEMPO1..4 macro's to, at some point, allow the game to play at different tempos? For example, for the door opening sequence, which imho still needs to be much faster ..
Yes Ibisum, It drives the animation timings for barrels, lifts, fires, conveyer belts, jump synchronisation with environment...
Lvl 1 starts with it's TEMPO1 divided by 4 to make things faster, and then open the door once 5 barrels were released.
If there was not this gate to open, you could rush your way to the princess before any barrel has time to put a little challenge : too easy !!!
You can accelerate this by changing line 366, and divide the tempo by 5 or 10 :
Code: Select all
timer1=INITTIMER; timer2=TEMPO1/4;
With those values, you don't have time to see the barrels coming, and it looks very "artificial".
In the original game in basic, the TEMPO was accelerated by disabling player interactions, and the animation was really ugly. There was nothing to say "wait please", and you were looking at your screen without being able to do anything, and with only 3 barrels.
In my mind, I got the idea to, well, "tell the story" of this little guy down the skyscrapper, that will try to enforce the door in order to enter the construction site in order to go and save the girl.
Code: Select all
Another fun thing to tweak, which might be related to a TEMPO change, is the keyboard tempo at differing difficulty levels..
Under the value of 4, the game is totally unplayable.
At one moment, when DBug wrote here (see his post) and told me that keyboard tempo was a bad thing, I changed the code in order to use peek(#208) instead of the key$ facility : bad idea. You were pressing a key, and you were falling from the building at the other side of the screen in fraction of a second.
Concerning tempos, when you reach level 4 and finish it, you start back to level 1. Each time you loop back to lvl1, TEMPO are divided by 2, then 3, 4, 5, 6, etc... things are going harder and harder.
Internally, all the scores are divided by 100, so that the maximum high-score you could get is : 6,553,500