interesante propuesta :3
Real Time Combat for GB Studio
A downloadable asset pack
Hey GB Studio Community!
This is a real time Legend of Zelda styled Combat System you can use in your GB Studio projects. If you haven't downloaded GB Studio yet, download it here.
Here is how to use it:
Download and unzip the project, then open it with GB Studio. Details are in the documentation.
License You can use the project without giving any credits. If you would like to credit me anyway, I would appreciate that!
Can't wait to see what you make!
Log in with itch.io to leave a comment.
Hello i really like the idea good job,
am i the only one who cant undersnad how to copy the sword to my game?
and how to confing the actor confing?
i wil be glad if you will help me with this
There is currently no way to copy actors from a game to another one, this will probably be added to gb studio in the future. You have to start with this project and build your game around it.
Thanks! If you can build an engine to make platformers in the future that would be AWESOME!
I thought about that but it isnt really possible with give gb studio limitations, but i think it will be added to gb studio in the future
Thank you! This is great! :) Just what I was looking for my project.
Question: Is it possible to assign a value so that enemies are not killed during the first hit? I tried assigning a variable in the if hit section but for some reason its not working out for me.
Could this also be used for the (enemy) actors to hit back?
Thanks in advance and thank you for the script.
You would need to make a health variable for every enemy, then instead of hiding the enemy when hitting it you just subtract 1 from the enemies health variable. if the value equals 0 then hide it
Enemies can't attack back at the moment. Some kind of attacking will probably added in the future.
Thanks for the quick reply! :) So that would be on the actor (enemy) not the sword script correct?
I tried to subtract "hit points" from the "if hit" sword script and do that. Hide if health = 0 on the enemy actor. For some reason once the health it zero, health reset back to 249 (or around there).
Much appreciated and thank you for all your work :)
Ok got it! Thank you! :) The HP var needs to be on the scene level. Worked like a charm.
I am really happy that you like it :D
I had the same problem with my Turn Based Battle System too, after checking for health = 0 I just checked if it is above 230 or some high number because the gameboy cant use negative numbers. Be sure to not set your enemies health to something higher than 230 though. Also make sure that, if the enemy has 1 hp left, the damage is not higher than 25 ( 1 - 25 = 231, if more than 25 the enemy will not be killed but gain a huge amount of health)
Edit: After reading this post I thought I have written it a bit unclear hope you understand me lol
Totally! Thank you. I did exactly that. If HP is > 230, I subtracted the HPvar - HPvar which gives me 0. If zero then it hides the enemy or if the players HP is zero, then it ends the game. Thanks again. Having a blast with this.
Is it possible to have to have the sword swing from a 90 degree angle? Much like in the Zelda games instead of swinging straight forward.
You can change the code so it animates the sword differently, did not test it though
Just a heads up, Ive been experimenting with that. See discord post here: https://discordapp.com/channels/554713715442712616/585023243732123676/6033118590...
I am trying so hard to implement this into my game, but for some reason I am having such a hard time getting the sword to show up...
it keeps zooming above my head and not even remotely close to the player...
this is perfect for my project :3 thankyou
This is really neat. Had the feeling it was possible, but didn't want to bother with all the complication. Really wish GB Studio had a way to write scripts rather than having to handle the GUI, which can get clunky when it's this complicated.
Still, excellent work!
Awesome stuff dude, cheers and keep up the great work.