Recent

Author Topic: Little Red Riding Hood (the new story)  (Read 2338 times)

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Little Red Riding Hood (the new story)
« on: July 26, 2024, 11:32:56 am »
Hi all,
I'm happy to share this game project!

Supported platforms: Windows 32 and 64, Linux 64.


Source: https://github.com/Lulu04/LittleRedRidingHood
Bug report: https://github.com/Lulu04/LittleRedRidingHood/issues
Latest release: https://github.com/Lulu04/LittleRedRidingHood/releases/latest

The game reinvents our heroine's adventures in a more modern way, mixing arcade, adventure and platformer styles. The graphics are generated from svg files by BGRABitmap, and the sounds and music are managed by ALSound.

For those who don't have time to play the game, but want to get a quick taste of it, the file "cheatcodes.txt" contains several cheat code to unlock levels, set item level to max, etc...

Enjoy !
« Last Edit: September 28, 2024, 05:07:32 pm by Lulu »
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

lainz

  • Hero Member
  • *****
  • Posts: 4593
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Little Red Riding Hood (the new story)
« Reply #1 on: July 27, 2024, 03:24:21 am »
Hi.

With which software you did the drawings?

Inkscape maybe?

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #2 on: July 27, 2024, 04:21:30 pm »
Hi Lainz, yes with Inkscape.
With the help of BGRABitmap the graphics are loaded from svg, compacted in one single image in memory and used as one single texture in OpenGL.
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

lainz

  • Hero Member
  • *****
  • Posts: 4593
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Little Red Riding Hood (the new story)
« Reply #3 on: July 27, 2024, 07:18:51 pm »
 :)
Cool thanks for sharing your technique!

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #4 on: August 29, 2024, 02:47:09 pm »
Hi all,
I found a bug that 'eat' memory in the first part of the game "Pin forest". A new sound instance is created each time a wolf inflate a baloon and when the baloon explode, and these sounds are started with the method
Code: Pascal  [Select][+][-]
  1. PlayThenKill();
This method is designed to play a sound and then automatically free it when it reaches the end.
But the code to free it was not written!  :-[
I'm sorry for that.

The code is corrected in ALSound library.
A new release of the game including the fix will comes soon, when the third part 'Volcano' will be done.
It won't be the last, as other stages will be added to the new adventures of our Little red riding hood!  :)

Regards
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

circular

  • Hero Member
  • *****
  • Posts: 4350
    • Personal webpage
Re: Little Red Riding Hood (the new story)
« Reply #5 on: September 20, 2024, 08:46:13 am »
The graphics are very nice. Using SVG give it a unique style.  :)
Conscience is the debugger of the mind

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #6 on: September 22, 2024, 08:55:11 pm »
The graphics are very nice. Using SVG give it a unique style.  :)

This idea became feasible because you equipped BGRABitmap with the ability to draw vectorial images. Thanks!  :)
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #7 on: September 28, 2024, 08:23:14 pm »
Hi all,
the third part of the game is done ! Named Volcano, it is build in three parts:
  • the Volcano entrance: an humorous point'n click game.
  • Volcano inner: a platformer game where main character must avoid detection, pick up items...
  • a funny race versus Dino.

download the new release: see the link at the beginning of this topic.

Some screenshot in jpeg format to save server space.
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #8 on: September 28, 2024, 08:42:05 pm »
I forgot:
because one can't play a game without having finished the previous one, I introduced cheat codes for those who don't have time, but just want to get an overview of the game.
Take a look to the file "cheatcodes.txt".

I also forgot:
When a new player is created, a cinematic is played to start the story.

Know bugs:
- When a character speaks, a panel with text appears, and some time, the end of the text is outside the panel.

any criticism is welcome.
Enjoy!

Regards
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

dseligo

  • Hero Member
  • *****
  • Posts: 1372
Re: Little Red Riding Hood (the new story)
« Reply #9 on: September 29, 2024, 09:40:35 am »
It doesn't work on Windows 11.

32 bit version gives only 'Access denied.' error, while 64 bit version gives different error:
Code: Text  [Select][+][-]
  1. ---------------------------
  2. LittleRedRidingHood.exe - Entry Point Not Found
  3. ---------------------------
  4. The procedure entry point _ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKwSt13_Ios_Openmode could not be located in the dynamic link library C:\LittleRedRidingHood_0.2.0\x86_64-win64\soft_oal.dll.
  5. ---------------------------
  6. OK  
  7. ---------------------------

After I press OK, I again get 'Access denied' like in 32 bit version.

Screenshots attached.

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #10 on: September 29, 2024, 07:41:54 pm »
Hi Dseligo, thank you for your feedback.

I have no idea what can be this error... The game was tested on Win10 and Win7 (32b) and this error doesn't appears.
It seems to be relative to OpenAL-Soft dll library.
The only idea I have is that I had compiled the dll myself (I don't remember) and may be something goes wrong in the process, at least for Windows 11.

If you have time, you can try to download the dll from the repository of OpenAL-Soft https://github.com/kcat/openal-soft/releases/tag/1.23.1
  • Download openal-soft-1.23.1-bin.zip.
  • Unzip the zip.
  • the "soft_oal.dll" is in the folder "bin\Win64".
  • Copy and paste it in the game folder "LittleRedRidingHood_0.2.0\x86_64-win64" to replace the library".

It will usefull if you can do that. If it work, it'll prove once again my inability to compile C code...! %)

Regards
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

dseligo

  • Hero Member
  • *****
  • Posts: 1372
Re: Little Red Riding Hood (the new story)
« Reply #11 on: September 30, 2024, 12:40:41 am »
Hi Dseligo, thank you for your feedback.

I have no idea what can be this error... The game was tested on Win10 and Win7 (32b) and this error doesn't appears.
It seems to be relative to OpenAL-Soft dll library.
The only idea I have is that I had compiled the dll myself (I don't remember) and may be something goes wrong in the process, at least for Windows 11.

If you have time, you can try to download the dll from the repository of OpenAL-Soft https://github.com/kcat/openal-soft/releases/tag/1.23.1
  • Download openal-soft-1.23.1-bin.zip.
  • Unzip the zip.
  • the "soft_oal.dll" is in the folder "bin\Win64".
  • Copy and paste it in the game folder "LittleRedRidingHood_0.2.0\x86_64-win64" to replace the library".

It will usefull if you can do that. If it work, it'll prove once again my inability to compile C code...! %)

Regards

It works with that new dll. :)

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #12 on: September 30, 2024, 08:04:37 am »
It works with that new dll. :)

We found the culprit!

On Windows I compile the C library with mingw64 with limited knowledge, and I never thought to verify the dependencies generated by the process.
After checking, there are 4 dependencies to dlls located in the mingw64 folder. If you don't have mingw64 installed on your computer, the dependancies are not found and it cause the issue.

Thank you very much Dseligo for testing.  :)
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

dseligo

  • Hero Member
  • *****
  • Posts: 1372
Re: Little Red Riding Hood (the new story)
« Reply #13 on: September 30, 2024, 10:29:51 am »
Thank you very much Dseligo for testing.  :)

Np.

Other than that, it's a very fun and polished game. It made me loose some time. :)
Great job. 8-)

Lulu

  • Sr. Member
  • ****
  • Posts: 259
Re: Little Red Riding Hood (the new story)
« Reply #14 on: September 30, 2024, 11:54:50 am »
Thanks you. It encourages me to continue these adventures!

I've just uploaded the windows versions of the game with the original dlls on the same release.
The problem should no longer occur.

Regards
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

 

TinyPortal © 2005-2018