Recent

Author Topic: leveloid - bgrabitmap game  (Read 5866 times)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
leveloid - bgrabitmap game
« on: December 27, 2017, 08:23:50 pm »
Hi, here is my old first game!
https://sourceforge.net/projects/leveloid/

And the updated sources are here
https://github.com/bgrabitmap/bgragames

BGRA Games repository includes some other first games I made, all these with help of @circular, the author of BGRABitmap.

If I remember well, the updated source code uses OpenGL.

Game Info:
leveloid is a game in which the objective is to get out of the level by touching the exit block.

Use the arrow keys or the POV of the joystick to move through the level. Press the space bar or button 1 on the joystick to reduce the speed. Press the F1 key to switch between normal, gameboy or black and white style.

leveloid includes a level editor.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: leveloid - bgrabitmap game
« Reply #1 on: January 03, 2018, 04:41:50 pm »
Very cool game and great Pascal Script work here. I'm going to study your game closely !

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: leveloid - bgrabitmap game
« Reply #2 on: January 03, 2018, 04:59:06 pm »
Very cool game and great Pascal Script work here. I'm going to study your game closely !

PascalScript makes it slow really, maybe there's another way to script faster, I know there is another scripting engine for pascal, but I can't remember his name.

Or use more custom tilemap elements instead of scripting, so it runs fast.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: leveloid - bgrabitmap game
« Reply #3 on: January 03, 2018, 07:09:49 pm »
What is the problem? CPU or is slow processing?

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: leveloid - bgrabitmap game
« Reply #4 on: January 04, 2018, 12:43:45 am »
What is the problem? CPU or is slow processing?

The problem Is that the movement is not smooth.

But I think I not tested it properly in the old times and that is a wrong assuption I made: the problem may not be pascal script but the movement code.

I tested it today and it runs at 1% cpu, and the opengl version runs at 1% cpu and 10% gpu. So in fact is not a cpu problem.

So it can't be pascal script.

 

TinyPortal © 2005-2018