OpenLara for GBA

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
User avatar
aa-dav
Posts: 219
Joined: Tue Apr 14, 2020 9:45 pm
Location: Russia

OpenLara for GBA

Post by aa-dav »

XProger (creator of OpenLara - opensource Tomb Raider engine) strarted to port engine to GBA.
Github: https://github.com/XProger/OpenLara
WebGL demo of OpenLara: http://xproger.info/projects/OpenLara/

GBA image of demo of flying through first level: http://xproger.info/projects/OpenLara/f ... 200817.gba
Image

As he writes where is a lot of optimisation work ahead.
User avatar
Bregalad
Posts: 8055
Joined: Fri Nov 12, 2004 2:49 pm
Location: Divonne-les-bains, France

Re: OpenLara for GBA

Post by Bregalad »

Impressive !
Does this use mode ? How to make sure everything works with only 256 colours ?
Useless, lumbering half-wits don't scare us.
User avatar
aa-dav
Posts: 219
Joined: Tue Apr 14, 2020 9:45 pm
Location: Russia

Re: OpenLara for GBA

Post by aa-dav »

Bregalad wrote: Mon Aug 17, 2020 3:30 am Impressive !
Does this use mode ? How to make sure everything works with only 256 colours ?
As he says he uses mode 4 (240x160x8).
AFAIR Tomb Raider 1 on PC used 320x200x8bpp and 256 colours are native for it.
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: OpenLara for GBA

Post by Oziphantom »

I would love to port this to 3DS, I want to know if the 3D mode makes it easier to judge things. I would think it could probably run the game fairly easily.
User avatar
aa-dav
Posts: 219
Joined: Tue Apr 14, 2020 9:45 pm
Location: Russia

Re: OpenLara for GBA

Post by aa-dav »

It seems to me he plans to port OpenLara to 3DS too. And Wii and GameCube also. But it's unclear and I'll ask for sure.
User avatar
XProger
Posts: 3
Joined: Tue Aug 18, 2020 8:00 am
Location: Saint Petersburg, Russia
Contact:

Re: OpenLara for GBA

Post by XProger »

Oziphantom wrote: Tue Aug 18, 2020 5:04 amI would love to port this to 3DS
There is other ports of OpenLara on github page including version for 3DS (also 2DS) with autostereoscopy support. It's not finished, no shadows and I didn't decide what to show on the second screen... but it's fully playable especially on the New 2DS/3DS :)

DS, GameCube, Wii and Wii U in my plan.

For now GBA version is just a tech demo. I use mode 4, mode 5 is optional by simple define in the code, but I didn't get a significant benefits with it. Shading works via palette indices remapping table by the light/fog intensity value 0..31. Probably I will add some physics and animation soon, but framerate in some cases drops to 6 FPS.
Image
User avatar
XProger
Posts: 3
Joined: Tue Aug 18, 2020 8:00 am
Location: Saint Petersburg, Russia
Contact:

Re: OpenLara for GBA

Post by XProger »

Video of the current state. Rom is available here.
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: OpenLara for GBA

Post by Oziphantom »

That is very impressive.
User avatar
XProger
Posts: 3
Joined: Tue Aug 18, 2020 8:00 am
Location: Saint Petersburg, Russia
Contact:

Re: OpenLara for GBA

Post by XProger »

Post Reply