Game
Basic Pascal

2 years ago

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.


2.png

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.

3.png

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.

4.png

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. 

5.png

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



0 comments

Loading...

Next up

Cabin Pilot – fantastic flight

Shooter, view from a cabin. You are flying with a space ship. And shoot with a laser. You are flying across different planets. They are different with background.

To the city of a thousand mills!

Pixel art for today based on videogame Illusions of Gaia for game console Super Nintendo. Role playing. One more story awaits a 16 bit gamers with his cartridge.

Planet UFO  – Good morning of Totuks

This is a videogame with Basic about how you fly with UFO sausage. You are at the planet of the UFO. And you fly across this planet. It is so strange everything there.

Happy Video Game Day! 🎮

Celebrate by completing our quests!

(They'll be in your quest log until September 19th.)

Planet UFO – at the planet of the UFO

I am a big fan of UFO sausages. They are such round and so interesting. And this is certain about UFO sausage. For this time, you are – it is a UFO sausage. Such round. And you are flying.

@GabrieleGiuseppini has added exclusive Floating Sandbox avatar frames, stickers, and backgrounds for all of you!

Set sail to the shop and collect 'em all! https://gamejolt.com/#shop

#gjbroadcast

Platform Ball – it is more close to 80s computers

Little simple little game about rectangle and a little circle. You move a platform to the left and to the right. And you can to throw a circle from a platform. You are green.

Mushroom little house

Pixel art for today based on videogame Secret of the Stars for game console Super Nintendo. Role Playing game. Adventure.

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

Planet UFO – magnetic fields and radio waves

At last a game about UFO sausage itself. By the way, you are flying at the planet, where these UFO are living. Planet is fantastic. Surface of the planet is pink and green.