Hi, I'm sorry I only speaks french and english but if google translate is right, you seems to ask about the cooldown? If so, there is Timer call cooldown, you can find it on the player scene. Hope it's help
Hi, I didn't really develop the demo with browser in mind, so maybe I did something wrong even if the game is pretty light and run well on desktop. But it run fine in the last chromium and Firefox version on my side so it can be related to your environment maybe.
thank you so much! I am very thankful to you for your work. I am new to Godot and I did not know much, but thanks to your project I will know how certain mechanics are made, thank you very much again!
My pleasure, I improve my Godot skills a lot since that demo but I think there still some goods examples in it. Hope you will enjoy your Godot journey!
Hi, thanks for the replie :) but yes, I'm currently working on a new project and I don't have too much time to re-work on this project.
But if you want to add a charge attack, it should be pretty easy (if everything I done work like it suppose to). Create a new state, make it inehrit from Attack. With a timer and a new class variable on player.gd, you should be able create a charged attack. Edit attack-light, play with input event is_action_pressed and is_action_released to decide when you need to charge for the medium attack or the charge one. Like when action is pressed is activated, start the timer, if the player release before the end of the timer, transit to light attack, if not, transit to you new charge attack.
For the ledge grad, I created one a another project but wasn't happy about it, But if I remember right, I created an scene with all the ledge tile and added a area 2D on it. When the player collide with, I checked is current state (like in air or falling) and make it switch the the ledge crab state. Here a pretty easefull script (I took it for tetraforce, but he doesn't use it anymore so here a link from one of my project https://github.com/Levrault/godot-maximilien-adventure/blob/d44f80256bb92bde325ff4d91e67c8cbc0d1f092/factories/Factory.gd) that could help you add you new "ledge" scene without placing them by add but by keeping it in your tilemap.
it's seems that physic broke on certain linux version. Can you tell what is your hardware and if it happen everytime you'r jumping ? I didn't have time to check the issue but I will try to fix it if I can reproduce it :P
I re-export the project on windows and the issue seems to be fix... maybe an export problem. I will do the same for the linux and mac version but I can't test them for the moment. Tell me if it's better now. Thanks.
Can you tell me which version of Linux did you use ? I test it on Linux Mint and pop is and everything looks fine. With more details I will be able to find a fix.
Everything seems to work as intended on linux mint 18.2. I will try to create a virtual machine to test on 19.1. Can you tell me if you use the nvidia drivers, intel or amd ?
I think I fix the issue, it seems to been an export issue. I not able to test it on linux right now, but I think the jump physics will now work. Don't hesite to give me your feedback.
← Return to game
Comments
Log in with itch.io to leave a comment.
cool demo. sprite art is great!
Thanks for sharing!
buenas habra alguna forma de distanciar la estamina del jugador?
Hi, I'm sorry I only speaks french and english but if google translate is right, you seems to ask about the cooldown? If so, there is Timer call cooldown, you can find it on the player scene. Hope it's help
What I wanted to say was that if there is any way that the cooldown does not move with the player you stay in a position
Yes it can be achieved by put it in the same scene of the UI of the health bar and change how the signal are connected.
thank you
Hi! Very nice small game. Why it works so slow in browser? Is it GODOT issue?
Hi, I didn't really develop the demo with browser in mind, so maybe I did something wrong even if the game is pretty light and run well on desktop. But it run fine in the last chromium and Firefox version on my side so it can be related to your environment maybe.
Ah! Thank you for clarification. I'll try to figure out and try in another browser
thank you so much! I am very thankful to you for your work. I am new to Godot and I did not know much, but thanks to your project I will know how certain mechanics are made, thank you very much again!
My pleasure, I improve my Godot skills a lot since that demo but I think there still some goods examples in it. Hope you will enjoy your Godot journey!
This is a really cool starting template I expect it to be very helpful thank you!
Notice there hasn't been any activity on the github for a while you still working on it at all or have you entirely moved over to other projects?
If you're still working on it and open to requests it would be awesome to see:
- Charge attack by holding the attack button.
&
- Ledge grab.
Hi, thanks for the replie :) but yes, I'm currently working on a new project and I don't have too much time to re-work on this project.
But if you want to add a charge attack, it should be pretty easy (if everything I done work like it suppose to). Create a new state, make it inehrit from Attack. With a timer and a new class variable on player.gd, you should be able create a charged attack. Edit attack-light, play with input event is_action_pressed and is_action_released to decide when you need to charge for the medium attack or the charge one. Like when action is pressed is activated, start the timer, if the player release before the end of the timer, transit to light attack, if not, transit to you new charge attack.
For the ledge grad, I created one a another project but wasn't happy about it, But if I remember right, I created an scene with all the ledge tile and added a area 2D on it. When the player collide with, I checked is current state (like in air or falling) and make it switch the the ledge crab state. Here a pretty easefull script (I took it for tetraforce, but he doesn't use it anymore so here a link from one of my project https://github.com/Levrault/godot-maximilien-adventure/blob/d44f80256bb92bde325ff4d91e67c8cbc0d1f092/factories/Factory.gd) that could help you add you new "ledge" scene without placing them by add but by keeping it in your tilemap.
I hope it help you.
The main character is flying forever when you jump!
Also, very beautiful and amazing game! Congrats!
it's seems that physic broke on certain linux version. Can you tell what is your hardware and if it happen everytime you'r jumping ? I didn't have time to check the issue but I will try to fix it if I can reproduce it :P
I'm using Windows 10 (1803).
I can't tell if it happens everytime because once you jump the character flies out and you can't jump again... It seems like a simple boolean issue...
Thanks, I was able to reproduce. I will fix it as soon has possible.
I re-export the project on windows and the issue seems to be fix... maybe an export problem. I will do the same for the linux and mac version but I can't test them for the moment. Tell me if it's better now. Thanks.
It's fixed now... Very beautiful and amazing game! Congratulations!!!
I found another bug... It seems that an unnamed scene is trying to be loaded when you click on Retry after dying in the second stage
Thanks you again for your feedbacks. I will made a fix in the next few days.
Can we reach all Project Sources (codes)?
Yop juste right there https://github.com/Levrault/godot-2d-action-adventure-platformer-demo
Thanks!
I added the source code on the page, I think it will be more convenien
the jump and gravity on the linux version is broken.
Can you tell me which version of Linux did you use ? I test it on Linux Mint and pop is and everything looks fine. With more details I will be able to find a fix.
linux mint 19.1 Cinnamon.
Everything seems to work as intended on linux mint 18.2. I will try to create a virtual machine to test on 19.1. Can you tell me if you use the nvidia drivers, intel or amd ?
I think I fix the issue, it seems to been an export issue. I not able to test it on linux right now, but I think the jump physics will now work. Don't hesite to give me your feedback.