-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 2.5D Demo Projects #315
Conversation
@aaronfranke So if you need a texture, you can ask me, specify the texture resolution ideal for you. And if instead you want a tileset, I'm ready to help. Just reply by tagging my name... |
Did a superficial look, interesting way of doing it. For now, my only complain is that is very hard to tell height difference between platforms, if there was a way for them to cast a shadow below them, maybe with some shader wizardry. |
@YeldhamDev |
@YeldhamDev Yes, of course. We could work on shadows, perhaps making a large floor below all of the platforms where the shadows would show up. I'm not sure what would be the best way to have "partial" shadows though, platforms partially overlapping each other would have floating shadows right now... @Steph155 mentioned normal maps, I am not an expert on 2D so I'm not sure how that could be made to work procedurally based on the surrounding objects (or, it could just be hard-coded...) @Steph155 Pretty much any resolution is fine, but I would suggest it being lower resolution than it currently is (logo is 64x64) because I currently have the camera set to zoom 2 to make it easier to see everything. You can preview how the objects would look simply by replacing the textures, and give proper behavior simply by changing the 3D collision boxes and/or constants such as SCALE. |
@aaronfranke Wow, check this ! Well, I also wanted to ask, where do I put the sprite sheets for the project's character ? Here ? |
Feel free to post here, or link me a branch on a fork. In either case I'll add you as a contributor. The method used in this demo is quite flexible since it works with arbitrary colliders, not just "AABB"s defined in code in that video. With this demo, it's possible to make an irregularly shaped or diagonal platform, as well as slopes, since it uses full 3D math, though I haven't featured this in the demo (yet). |
|
@Steph155 I really like it! It looks like an awesome robot, and it's even purple to match with Node25D. I don't know what you are planning to change about it but it looks like you're going the right direction. When it comes to animation, that's entirely up to you. Attack animations are not really necessary for this demo project, but they would be welcome if you wanted to make it. Also, while we can probably get away with using the same perspective image for 45 degree, isometric, and oblique Z, we would want a slightly modified one for front side, and a different one for top down. Actual 2.5D games don't need multiple perspectives, but this demo project should showcase them. |
@aaronfranke |
13a746c
to
a11fae3
Compare
@aaronfranke |
ce6130b
to
08c8b82
Compare
5cfa818
to
5448504
Compare
4064613
to
460450a
Compare
Co-authored-by: Stephen Agbete (Steph155) <bgsteph15@mail.com>
f70e9ce
to
ce8342f
Compare
After a very long time of waiting and work, I'm marking this as ready for review. If nobody reviews it I'll probably still merge it, but I would love to get feedback on everything so far. The current state of the project not only allows you to create 2.5D games, but also has a 2.5D editor viewport with a translation gizmo to make the process easy and seamless. Before anyone reports issues with the Mono C# version: Yes I know it throws errors when the project is first opened and that Gizmo25D doesn't work properly for some reason, but I have no idea what is causing these issues. It's most likely just Godot bugs. Aside from that, it works great. |
How would one "review" it? Where can I find the download link? |
Thanks @qarmin , is there some link somewhere I'm just to blind to see, or did you went and searched manually through aaronfranke github page? |
Finally found it in the "misc" folder. Why make it so complicated and not just add a link in the OP? Right after installing it, the first time I open the project I immediately get this popup warning:
|
Execute Godot as admin to fix that.
…On Mar 1, 2020 18:34, "golddotasksquestions" ***@***.***> wrote:
Finally found it in the "misc" folder.
Right after installing it, the first time I open the project I immediately
get this popup warning:
"Unable to load addon script from path: 'res://addons/node25d/node25d_
plugin.gd' There seems to be an error in the code, please check the
syntax."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#315?email_source=notifications&email_token=AF4LP2P55ZDGCTJ2YQVZELDRFKMDRA5CNFSM4G4BYB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNFMEI#issuecomment-593122833>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4LP2JFEOEC7YJZOUGTSFTRFKMDRANCNFSM4G4BYB5A>
.
|
@golddotasksquestions Close and re-open the project. That bug happens whenever Godot hasn't imported everything yet, I don't think there's anything I can do about it. |
The cube demo looks really impressive! |
@golddotasksquestions Does changing the physics engine help? I haven't really seen such issues on my system, any debugging you can do would be greatly appreciated. |
Sure, I can do some testing. What do you mean by "changing the physics engine"? |
2D, 3D "Default": jerking jitter 2-3 times a minute into the walking direction. |
2D only supports the default Godot Physics, so 2D "Default" and "2D "Godot Physics" are effectively identical. We should tweak the property hints to reflect this. |
A few users have asked how to create 2.5D games in Godot, so I've created two demo projects that demonstrate how such a thing would be implemented. Actually, they are both the same project, the difference is that one is written entirely in GDScript and one is written mostly in C#.
GDScript version link: https://github.com/godotengine/godot-demo-projects/tree/master/misc/2.5d
C# version link: https://github.com/godotengine/godot-demo-projects/tree/master/mono/2.5d