inverted-hat / christmasCarols

MIT License
2 stars 0 forks source link

I'd like to migrate this to GBStudio 3 #1

Closed chrisleewoo closed 1 year ago

chrisleewoo commented 1 year ago

Hi, love the proof of concept! I opened the project in the newest version of GBStudio and it looks like some things will need to be changed to get it working:

Your project was created with version 2.0.0 and needs to be migrated to version 3.1.0. This may prevent your project being opened in older versions of GB Studio.

It still runs, and selects the level, but it looks like it's not reacting to collisions (good notes don't change animation) and the score counter pumps out random numbers lol.

I can dig into changes, but I was wondering if you have looked into GBStudio 3.1 for any other projects?

inverted-hat commented 1 year ago

Hi, I‘m flattered that you like my little project. Yes I have migrated one of my other projects from GB Studio 2 to version 3. in the migration process I’ve noticed that the collision detection in GB Studio 3 behaves quite different to the one in version 2 in certain situations. Especially when it comes to actors which aren‘t on the screen initially. I guess it has something to do with performance optimisation. I‘m not sure whether my approach for this game can be migrated to version 3.

But if you are interested in making a rhythm game with GB Studio you should have a look into the routine feature of hUGETracker, which was introduced in GB Studio 3. It basically allows you to send a signal via the effect column from a certain position in a song. With the set music routine event you can attach a script which will be executed when the song sends the event. So this could be used to make an actor appear when a certain point of a song is reached or check whether the player is pressing a button. So this should be a lot more accurate than my attempt. The routine feature would be my approach if I would try to make a rhythm game nowadays.

I hope this helps or at least gives you an idea how to proceed. If you haven’t already I would also recommend to check out the GB Studio Discord server. There are a lot of helpful people on it and that’s were I‘ve discovered some cool features. The official docs can be a bit basic sometimes.

chrisleewoo commented 1 year ago

Thanks for the detailed reply! Yes, the routine feature is more in line of what I was expecting could be done for timing, but I wasn't aware of how to navigate the new scripting options. I'll try and build something from scratch. Thanks!

inverted-hat commented 1 year ago

You're welcome. Please let me know if you come up with something. I love rhythm games and am interested what is possible on the Game Boy with GB Studio.