Ultibo game programming

Anything and everything about programming graphics with Ultibo
Gavinmc42
Posts: 1629
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Wed May 15, 2019 8:33 am

This compiled and ran clean on Windows.
https://forum.lazarus.freepascal.org/in ... 908.0.html
Next try Linux and Raspbian ;)

Apparently it does not use any other libraries except LCL.
How much of the LCL stuff needs to be changed?
Is it just Forms and Canvas?

First thing I need to do is change to higher contrast colours, my eyes are too old.
Gavinmc42
Posts: 1629
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Wed May 15, 2019 8:45 am

Probably best to look for framebuffer games?
http://ptcpas.sourceforge.net/

Oh dear, google found me again, almost 2 years ago.
Interesting to see what has been done or not done in those years. ;)
Gavinmc42
Posts: 1629
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 6:17 am

OpenGL based, runs very fast on my PC, how fast on a Pi4?
https://github.com/Udo/Delphi-Terrain-OpenGL

Port to Laz/Free Pascal on a Pi4 first.
Then see if it can be ported to OpenGLES on 3B+.

This one makes a terrain map from a bit map.
https://www.codeproject.com/articles/14 ... troduction
Lazpaint can make a bitmap from Perlin noise ;)

Now that I have a Pi that does OpenGL all those books/examples are now relevant.
Will this OpenGL stuff be usable in Ultibo?
Depends how fast I can learn to port OpenGL to OpenGLEs or Garry and team get Ultibo/OpenGL working on a Pi4.
Gavinmc42
Posts: 1629
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 7:03 am

Not sure why I buried this one in a JPEG200 post?
http://vterrain.org/
Gavinmc42
Posts: 1629
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 11:20 am

Just waiting for this to install in Lazarus.
https://wiki.freepascal.org/GLScene

Not sure how clean it is, but Free Pascal is always surprising me.
Has some interesting examples.

If OpenGL works on Pi4 in Ultibo one day :D
Anyway, having fun learning OpenGL on a Pi4.

Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 0 guests