Author Topic: NaaLaa Linux experiments  (Read 77 times)

Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
NaaLaa Linux experiments
« on: November 06, 2017 »
Well, don't get your hopes up quite yet, but I'm finally working on a real Linux port of NaaLaa, with some support from cvirus.

It's working but without sound so far (I haven't decided what to go with there - audiere, free but old, or fmod or bass, not quite free). Extensions will have to wait, so it'll be more like NaaLaa 5 than 6. Hopefully I can upload a test version soon that anyone with a Linux system can try out.

.\\\opz

cvirus

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: NaaLaa Linux experiments
« Reply #1 on: November 06, 2017 »
well it's working quite nice.


cvirus

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: NaaLaa Linux experiments
« Reply #2 on: November 07, 2017 »
New Screens SpaceShooting and CrapsAdventure Ubuntu.

cvirus

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: NaaLaa Linux experiments
« Reply #3 on: November 07, 2017 »
HeliAttack Latest version on Linux Ubuntu 16.04 LTS.

Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
Re: NaaLaa Linux experiments
« Reply #4 on: November 08, 2017 »
Nice :D

I made many tests yesterday. The biggest issues left to fix are:

  • There's no sound
  • Drawing polygons doesn't work
  • Raycaster and Mode7 libraries cause really weird output
  • Writing an IDE
  • Big pixel modes work but fullscreen mode doesn't
  • 'create font' doesn't work
  • The extension system doesn't work

Before releasing anything, even a beta thingy, I want to take care of all but the last two issues. I just don't think I can write a TTF to Bitmap font thing under Linux, but I will of course try. I'd rather make 'load font' handle more formats than naalaa's own, so that you can create fonts using Hiero and other bitmap font generators. Making extensions work probably isn't that hard. But re-writing some of the extensions will take lots of time, since they're not cross-platform by nature.

.\\\opz

cvirus

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: NaaLaa Linux experiments
« Reply #5 on: November 08, 2017 »
HeliAttack screen, compiling everything with no errors,  one must be careful with case sensitive, cause Linux is sensive.

Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
Re: NaaLaa Linux experiments
« Reply #6 on: November 10, 2017 »
The issues with polygon drawing and the raycaster failure were caused by the fact that naalaa on Linux is 64 bit instead of 32 (as on Windows). The mixed size of data types caused naalaa's arrays to go ape-shit. So, now naalaa only uses 64 bit types on Linux. Integers are 64 bits and the floating point type is now represented by a 64 bit double instead of a 32 bit float. This means ... that we'll be able to make deeper Mandelbrot zooms :)

If any Linux guy reads this, is a 32 bit version a "must" these days? Not even sure if I can make and test it on my machine.
« Last Edit: November 10, 2017 by Marcus »
.\\\opz