Page 6 of 8

Re: Ultibo game programming

Posted: Sat Dec 08, 2018 7:57 pm
by pik33
Deep dive into opengl es: I patched the Atari800 emulator bug on RPi - the bug was located in the fragment shader code. The knowledge gained doing this is priceless.
The patched emulator can be found on my github.

Atari800 emultor code is pure C. Compiles to series of .o - a good candidate to move to Ultibo

Re: Ultibo game programming

Posted: Sat Dec 08, 2018 10:37 pm
by Ultibo
pjde wrote:I am using make for windows but am getting the error "The syntax of the command is incorrect."

The top level Makefile seems to just call the one in each folder, maybe try going into each folder and running make manually to narrow down which one gives the error.

Otherwise a VirtualBox or similar VM with a reasonably common Linux flavor installed will be invaluable, there are many projects whose authors never try building under anything but Linux so you can avoid a lot of messing with details by just having a Linux VM available.

Re: Ultibo game programming

Posted: Sun Dec 09, 2018 5:39 am
by pjde
Or maybe use Stretch on a Raspberry Pi?

Re: Ultibo game programming

Posted: Sun Dec 09, 2018 8:19 am
by Gavinmc42
Been spending some time with normal Laz/FPC and found GLScene.
There is a few links, lots from the old Delphi coder world.

I did actually managed to get the Castle Game Engine to sort of install on a PC this week again.
Some demos worked, others I have no clue why they did not compile.
I am not good enough with Laz/FPC on PC's to debug it :oops:

Been looking at Android code too as that is pure OpenGLES.
But I have been coming around to the conclusion the OpenGLES examples provided with Ultibo ARE the best place to start.

At the moment I have been coming at it from many directions.
Bottom up with Baremetal with #$%, Peter Lemon, bzt etc
Top down with PC's and Gentoo64 OpenGL. Sideways with Android etc

I have now come to the conclusion I need to setup a Pi as a Laptop? portable development system and just start coding.
I started this post 1 and 1/2 years ago, back then it was just an idea.
Over that time I now know it can be done (even by me) and to a much higher standard than even I expected.
I now wonder why no one has done a Pi specific game?

Anyway, the Xmas break will allow me to finish the kid's scratch built RetroPie Console (hint, buy a kit instead).
Perhaps one day he will write Ultibo games for it?

Re: Ultibo game programming

Posted: Sun Dec 09, 2018 8:47 am
by Gavinmc42
For inspiration or just ideas.

It is interesting that people now think it is time for a new game magazine again.

Re: Ultibo game programming

Posted: Fri Feb 22, 2019 11:08 am
by Gavinmc42
In case i forget ;)
Requires bgrabitmap which requires LCL stuff?

Re: Ultibo game programming

Posted: Fri Feb 22, 2019 11:47 pm
by Gavinmc42
Lazpaint has a perlin effect option, instance height bitmap :D
Could it be turned into a map editor?

Lazpaint edited to remove the LCL code and made into an in game map editor?
Need to spend more time with OpenGLES now, 3D map viewer?

Re: Ultibo game programming

Posted: Thu Apr 18, 2019 8:12 am
by Gavinmc42
Found this, got some procedural coding and is tiny?
Need to brush up on Ultibo OpenGLES coding, don't know enough to see if this can be ported.
But the tutorials will help?
Try it in Winodws, Linux x86 first ;)

Re: Ultibo game programming

Posted: Tue Apr 23, 2019 9:49 am
by Brutus
This could be great, Gawin.

I'm not a gamer myself (I enjoy programming much more), but I always thought the RPi could do a very good cheap game console.
This is already the case with retrogaming, but emulation and native games are two different worlds...

Re: Ultibo game programming

Posted: Tue Apr 23, 2019 10:14 am
by Gavinmc42
SDL and OpenGL is probably harder to port than OpenGLES.
But it is smaller than the Castle Game Engine.
I probably should look closer at Android gaming as it is basically the same or similar hardware.

Not much of a gamer either but learning game programming is the peak of software coding.
3D gaming is closely related to 3D visualization of big data.
Or GPS mapping etc

Lots to learn with Pi's, the basic methods of 2D and 3D are starting to look useful for making my own OS GUI's.
Embedded scripting for games or OS's are also similar.
The idea of ditching Windows, Linux and Android for my own OS is just a bonus.

Pi's are about learning, why restrict it to just coding in Python or GCC?
Something to aim for? Port this to Ultibo :lol:
Game AI is close to robot AI too.