Error in code! FunMan fixed!
Hello
there! This is a thing here. That I fixed FunMan! Those funny Man! It was a bug
in a game. In a program code. Which makes game impossible. And you lose all the
time. Thing is to jump over holes. And it was a situation, that you cannot jump
over. Program makes a calculation and tell to you that you are fall into the
hole.
Main idea
of the game - it is to jump over the holes. Press space – and it is a jumping.
And you are on the other island. And it is everything about this game. Control
is using one space. Only jumping. Game is written in programming language Free
Pascal. And this is my first experience at this programming language.
And it was
a problem. I check all the code. Check collisions. Calculations for logics.
Everything was all right. In a main look, it is all right code. Problem was in
a way of calculations for time ticks. Timing. Timing about to appear new element
on the map, timing of move elements to the left. And from other hand – when it
will be a reaction to this from player. And what time – to calculate – is jump
good. As I get it.
A true
thing, I still don’t get it absolutely. Why it was like this. Logics are all
right. So, deal is in timings. They are different for different logic. In a who
goes first, and who is next by logic. I want to put error for some feature of
Pascal. But – it is looks like – I make error. And I was searching for a long
time for this.
And - it is
a tale about that it is very tricky in the code. And I fix it. Maybe. Maybe. It
should work now. Jumps need to be ok. Or as minimum – to be better.
Also, I
fixed some inaccuracy with screen drawing. It is some features of language
Pascal, that I did not knew before.
Game is
working according CMD command line. It is a build for Win32 for I386 systems. Size of console
screen is 80 at 25.
And jumping
are ok now!
Game`s page
at authors website:
http://www.dimalink.tv-games.ru/games/funman/index_eng.html
Also, game
is goes with package Basic Pascal games:
http://www.dimalink.tv-games.ru/games/basicpascal/index_eng.html
Comments
Post a Comment