Ultibo game programming

Anything and everything about programming graphics with Ultibo
pik33
Posts: 887
Joined: Fri Sep 30, 2016 6:30 pm
Location: Poland
Contact:

Re: Ultibo game programming

Postby pik33 » Sat Dec 08, 2018 7:57 pm

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
User avatar
Ultibo
Site Admin
Posts: 2280
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: Ultibo game programming

Postby Ultibo » Sat Dec 08, 2018 10:37 pm

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.
Ultibo.org | Make something amazing
https://ultibo.org
pjde
Posts: 444
Joined: Tue Feb 09, 2016 6:21 am
Location: Sydney, Australia

Re: Ultibo game programming

Postby pjde » Sun Dec 09, 2018 5:39 am

Or maybe use Stretch on a Raspberry Pi?
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Sun Dec 09, 2018 8:19 am

Been spending some time with normal Laz/FPC and found GLScene.
There is a few links, lots from the old Delphi coder world.
http://glscene.sourceforge.net/wikka/links.htm

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?
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Sun Dec 09, 2018 8:47 am

For inspiration or just ideas.
https://wireframe.raspberrypi.org/issues

It is interesting that people now think it is time for a new game magazine again.
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Feb 22, 2019 11:08 am

In case i forget ;)
BGRAGames
https://github.com/bgrabitmap/bgragames
Requires bgrabitmap which requires LCL stuff?
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Feb 22, 2019 11:47 pm

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?
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Thu Apr 18, 2019 8:12 am

Found this, got some procedural coding and is tiny?
https://github.com/VilleKrumlinde/zgameeditor
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 ;)
Brutus
Posts: 32
Joined: Sun Jan 20, 2019 1:24 pm

Re: Ultibo game programming

Postby Brutus » Tue Apr 23, 2019 9:49 am

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...
Gavinmc42
Posts: 1656
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Tue Apr 23, 2019 10:14 am

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:
https://github.com/mariuz/quake2fpc
Game AI is close to robot AI too.

Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 1 guest