Home

Awesome

Piggy Rescue

πŸ½β›΅πŸ½πŸ–οΈπŸ½πŸŒŠπŸ½

πŸ·β›‘οΈPiggy RescueπŸ–πŸ–πŸ– is a personal Godot and XR learning project, developed over two months and published with the intention of helping others in their learning.

It was made with Godot 4.1 stable (final version tested in 4.1.2) and uses version 4.1 of Godot XR Tools plugin.

https://vimeo.com/874560332

Can I just play the game?

The game is available for free in SideQuest πŸŽ‰πŸ–πŸ–β›‘οΈπŸ·πŸ– https://sidequestvr.com/app/19654/piggy-rescue or directly in Itch.io https://asturnazari.itch.io/piggy-rescue

You can also donate if you like :)

XR Tools Plugin

I packed the addons for this code to be easy to use as learning content. Note that some files from the XR Tools addon have been modified:

Many of this changes are related to obtain transparent menus and render them on top of everything, this changes were proposed as a feature and now there is a new and better approach to this provided by Malcolm Nixon in XR Tools v.4.2

Made with

Gimp, Inkscape, Penpot, Godot, Blender

How the code work

There is only an staging system and a single scene. In the main scene you will find a Logic node, wich contains the main part of the code. It's a simple states machine that uses Globals.state to rule the states of the game, and another function that rules wich UI to show according to the global state.

Also there are some interesting pieces of code in a folder scripts/XR_mod. There is a pickable and floatable object, and the amazing 🌊πŸŽ₯ underwater camera sound fx πŸŽ₯🌊.

Features

Some features you can find inside the code:

⚑ 🍜 Code alert!!
Please notice the code is not well optimiced, it's quite simple,
just a prototype well tuned, but is messy and not well ordered, 
and maybe there are some unused files here and there.... 
It can be improved, and improvements are welcome.

Licenses

Please, read the CREDITS.md file

MORE PETS???

Wanna add more pets to rescue? πŸ‘πŸ‡πŸ„πŸ¦„

You just need to modify the pig spawner object πŸ˜‰

If you need help with this you can open an issue

πŸ½β›΅πŸ½πŸ–οΈπŸ½πŸŒŠπŸ½