+1 vote

I have been using Godot engine for a week and so far I love it. I created some games to get used to the UI and scripting language, but now I want to create a serious game: a 2D point and click. I searched on the internet and I found a video that uses exactly what I was looking for, but unfortunately there is just a demo video, not a tutorial.
Here is the image:
https://drive.google.com/file/d/0BxW0b-YjQRdXQl9qUlJmZ3lNR2M/view

The player can move only in that polygon and it some sort of fake 3D with 2D sprites. How to do that?

asked Sep 7, 2017 in Engine by edimemune (62 points)

2 Answers

+1 vote
Best answer

You can have a look at the 2D navigation demo in the official examples to see how it's done: https://godotengine.org/download

As for the 3D fake, it's just visual, in the end that's still a 2D polygon with a point that moves across it (here defined by the feet of the character)

answered Sep 7, 2017 by Zylann (27,004 points)
selected Sep 7, 2017 by edimemune

Thank you. With the fake 3D,I mean when the player or an npc goes deeper into the room, his sprite to be smaller.

To achieve this depth effect, you need to anchor the sprite of your character to its feet, so you can scale it relative to where it stands. Then, apply a scale depending on the Y coordinate with a bit of math ;)

+1 vote

Hi,

even if you probably already know: that video is on youtube https://www.youtube.com/watch?v=zpMDmTtGFss and in the description there's the link to its source code on github https://github.com/StraToN/godot_pointandclickadv which you can download cloning the repository as zip file.

Like you I'm new to the Godot engine (just picked it up 1 week ago), and wanting to make a 2D point and click too so I'm studying that example (I gave a look at the Escoria framework, but after a bit of experimentation with it and having read its manual I quickly chose not to use it).
About that example: I advise you to take a look at the scenes and the scripts bound to its nodes.
Overall its inner working is pretty easy to grasp and a good starting point, especially if you have already some past experience with 2D point and click making.

HTH

answered Sep 23, 2017 by vik (16 points)
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.