Lazarus

Programming => Packages and Libraries => Topic started by: Windsurfer on March 12, 2019, 04:32:35 pm

Title: Baregame - files missing from Sprite example
Post by: Windsurfer on March 12, 2019, 04:32:35 pm
I cannot find the audio and image files required to run the sprite example.
The code indicates that there should be /sounds and /images folders.
I have used the Online Package Manager and downloaded directly from https://github.com/sysrpl/Bare.Game/ Both failed to provide the files. (They are the same source.)
[Edit] The files exist, but are zero length.

Code: Pascal  [Select]
  1. procedure TSpriteWindow.RenderInitialize;
  2. const
  3.   { Audio supports 2 formats, PCM WAV and PCM compressed WAV }
  4.   MusicUrl = 'sounds/mario.wav';
  5.   { Image engine supports jpg, png, gif, and bmp formats }
  6.   TexBrokenUrl = 'images/broken.jpg';
  7.   TexSkyUrl = 'images/sky.gif';
  8.   TexCloudsUrl = 'images/clouds.png';
  9.   TexMountainsUrl = 'images/mountains.png';
  10.   TexGroundUrl = 'images/ground.gif';

The other examples work correctly.
[Edit] I run fpc3 fixes and Lazarus2 Fixes on Linux Mint 19.1.

Does anyone have copies they could make available?
Title: Re: Baregame - files missing from Sprite example
Post by: Windsurfer on March 13, 2019, 06:02:14 pm
In the sprites.lpr code it says

{ In this example we download assets from here }
 DownloadSource := 'http://download.baregame.org/';

Unfortunately this site no longer exists.
Title: Re: Baregame - files missing from Sprite example
Post by: GetMem on March 13, 2019, 06:54:25 pm
@Windsurfer

Just pm @sysrpl(http://forum.lazarus.freepascal.org/index.php?action=profile;u=52913), he's the author of baregame. According to the forum the user was active a month ago, maybe he will visit the forum soon. He is also active in the Lazarus mailing list, in fact I "saw" him a few days ago.
Title: Re: Baregame - files missing from Sprite example
Post by: Windsurfer on March 14, 2019, 01:37:38 pm
Thanks Getmem, I'll do that.

Baregame is a fantastic piece of work. It does not deserve to languish.