0 votes

Hey,

i wanted to create a little birthday game for my friend where he plays himself as the main character, walks home and gets suprised by a few NPCs who all have a present for him in form of a minigame. or actualy the minigames are bigger games . they are simple versions of a jump and run, or a rpg but still finished projects with a menu and ending and i intend them to be 5-60 min long, so i also want him to be able to save his progress somehow...

im watching alot of tutorials and getting the hang of making different types of games, understanding godot and programming on the way a little too. but i cant find anything about how to import seperate projects in godot into 1 big project and switch to them via talking to NPCs. or switch back via menu.

I intend to set it in a way that when he talks to a npc in the birthday game, he can then play the game and switch back anytime he wants. and if he chooses to finish all games he unlocks a special event.

Maybe i need more time to understand how to make all this in general, but i would also like to know if its possible at all, to have multiple games with possibly different project settings in 1 game. or if i have to make adjustments in advance before creating all of this.

Thank you for the help! I appreciate it a lot!

And im using gdscript, windows its mostly 2D
and im very new to programming, but willing to put a lot of effort into this to make this present ^^.

in Engine by (12 points)

Usually what I do when i get other projects from github or something else:
I have a main/base project
- in the sub project that I want to import : I open the project then put everything in a single folder (not including icon.png, project.godot and everything that is already shared between every projects)
- in the main project, I import that folder then resolve every dependencies

This is surely not the best solution but it works :)
Maybe you can try to create different scenes in your project and consider them as a whole minigame. If you organize everything well, it's very powerfull

Or add a password for each minigame and each time he passes a level, he can play the other project. But then you have to export every project and have multiple .exe and share a save file which is not optimized at all

can't you have those minigames be separate scenes in the same project?

i try to do that now, thx^^

1 Answer

0 votes

Move all contents of the project to be imported to a folder except project.godot
e.g "res://miniGame"
In the main project copy that folder into the same location
e.g "C:\\Maingame\miniGame"

by (4,530 points)

thank you , i try to use this information^^

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.