Ooops
May 31, 2020, 06:40:24 PM

Author Topic: MIX-IT-UP Comp Entry - Tyoob  (Read 3039 times)

Offline BasicBoy

  • Full Member
  • ***
  • Posts: 149
Re: MIX-IT-UP Comp Entry - Tyoob
« Reply #30 on: November 23, 2019, 02:44:05 PM »
The cross-platform BBCSDL versions of 'Tyoob' and 'Forces of Darkness' have been updated so that space bar is now the fire key.

The Mac OS X (macOS) DMG file has also been updated (thanks, Richard).

http://www.proggies.uk/bbcsdl/index.html


Direct links for macOS DMG files:

http://www.proggies.uk/bbcsdl/downloads/Tyoob.dmg
http://www.proggies.uk/bbcsdl/downloads/FoD.dmg


No 'autofire by default' yet, but I expect that will come at some point (or if it doesn't, I'll make sure any future shmups I make will have it!).


Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2454
Re: MIX-IT-UP Comp Entry - Tyoob
« Reply #31 on: November 23, 2019, 02:52:20 PM »
Congrats on going multi-platform.   :D

So BBC BASIC is using SDL and I thought SDL only allows integer adjustments for movement, does this version of BBC BASIC allow floating point movement for smoothness?
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline BasicBoy

  • Full Member
  • ***
  • Posts: 149
Re: MIX-IT-UP Comp Entry - Tyoob
« Reply #32 on: November 23, 2019, 04:49:58 PM »
Congrats on going multi-platform.   :D

So BBC BASIC is using SDL and I thought SDL only allows integer adjustments for movement, does this version of BBC BASIC allow floating point movement for smoothness?

Here's a reply from Richard Russell (to whom I'm grateful):

Quote
It depends on the version.  Starting with SDL 2.0.10 (the current
version) there are float variants of most of the rendering functions.
So for example there is now a SDL_RenderCopyF() which is like
SDL_RenderCopy() but coordinates are passed as floats instead of integers.

At the moment the editions of BBCSDL which I distribute with SDL
included (i.e. all except Linux/Raspbian) don't come with a recent
enough version to include those functions, but if it's something that is
deemed to be important I could update them.  Android and iOS are
trickier than the others in that respect, because of the build
processes, but I will need to face that issue sooner or later.

So if you wanted to experiment with float coordinates now you would need
to do it on Linux and ensure that you have installed SDL 2.0.10.  The
full list of float functions is: SDL_RenderDrawPointF(),
SDL_RenderDrawPointsF(), SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(),
SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(), SDL_RenderFillRectF(),
SDL_RenderFillRectsF(), SDL_RenderCopyF(), SDL_RenderCopyExF().

Of course SDL2 provides direct access to OpenGL if you need it (I rely
on that for 3D programs and for shader programs, and simply to achieve
the 'logical' GCOL plotting modes) so if float coordinates are vitally
important now you can bypass the SDL2 functions and call OpenGL
functions, but that's rather more work.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2454
Re: MIX-IT-UP Comp Entry - Tyoob
« Reply #33 on: November 23, 2019, 04:57:09 PM »
That's very interesting - thank you for investigating.  The last version I used was v2.0, which was integer based.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline Xerra

  • Hero Member
  • *****
  • Posts: 934
    • Retro Evolved
Re: MIX-IT-UP Comp Entry - Tyoob
« Reply #34 on: November 23, 2019, 08:56:11 PM »
Tyoob working just fine on my system. Having space as a fire button means I can actually play it properly on the Mac now :-)

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal