chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.55k stars 469 forks source link

Set Actor Animation Frame #1602

Open Kool-Aid-Kid opened 2 weeks ago

Kool-Aid-Kid commented 2 weeks ago

Set Actor Animation Frame doesn't work.

Windows 10

GB Studio 4.1.3

nielsderijk commented 2 weeks ago

I don’t think anyone understands what you are referring to. Please use the provided template to report a bug.

PoseMotion commented 2 weeks ago

I don’t think anyone understands what you are referring to. Please use the provided template to report a bug.

Not sure what template you're speaking of? But it is straight forward. The function does not work.

chunkysteveo commented 2 weeks ago

The template when you raise an issue... you must have deleted it all. It asks for all sorts of data, screenshot, setup etc.

I've just tried that event and it works. So we need more specific details from you to be able to help you. What are you doing, how are you doing it, why, etc.

PoseMotion commented 1 week ago

Sorry about that. Just seemed redundant. Not really a fan of github and prefer forums but anyway... Here's the zipped project file. Keep pressing the right arrow key and the player moves (pixels at a time) but the frame never changes to the frame I set? Set_Ani_Frame.zip

nielsderijk commented 1 week ago

@PoseMotion @Kool-Aid-Kid For these types of questions you are better off using Discord or Reddit. This is not a bug.

I opened your file and saw you attached scripts to the Right Button, which prevents the animation from playing. Remove the Right Button script and your character will animate just fine.

PoseMotion commented 1 week ago

I'm confused? That is the purpose for adding the scripts. I added the first script so it would move the way I intended (short burst movements) and the second so that the frame would change when moving. That's as far as I got because it would change frame as the script was suppose to do.

Sorry, I don't use discord or reddit. I'll just go back to programming. I don't understand todays software.

nielsderijk commented 1 week ago

@PoseMotion I do encourage you to take a look at GBS documentation and the GB Studio Discord, there's lots of people there willing to help with GBS basics & scripting. The invite link in my previous comment is valid for another 6 days.

If you want to move your character in short bursts you can do so, but don't set the Animation Frame, set an Animation State. Good luck!

PoseMotion commented 1 week ago

Thanks for the Discord invite but I'm not a fan of it at all. I prefer phpBB. Much better layout. Anyway, I'm back to my usual programming. I've been doing that for 20+ years now and I just find it easier than learning modern day apps. Maybe I'll come back to this app again sometime.