04-22-2015, 11:21 PM | #1 |
FFR Player
Join Date: Apr 2012
Posts: 422
|
[SM5]search songs functionality
Haven't seen it before i tried to implement it in my default edited theme, with very nice results, its ideal for me to select/browse songs really quickly
vid when i was testing it: It supports mouse and keyboard interaction (via hotkeys for fullscreen mode), and works without problems in online/offline mode. If you find it useful you can grab the from my theme (https://github.com/Leo137/default-leo) or directly from this rar here just mind that the code is still messy and the texts are in spanish.
__________________
My latest works: BCMP-ish (6key) Solo 137 Pack (6key) Jumpstream of Fighters vol.1 Jumpstream of Fighters vol.2 6k key discord Last edited by Leo137; 04-22-2015 at 11:22 PM.. |
04-22-2015, 11:48 PM | #2 |
Can't handle my ÆØÅ
|
Re: [SM5]search songs functionality
oh my god no more pornhub, got what i need here
|
04-23-2015, 12:51 AM | #3 |
FFR Player
Join Date: Nov 2010
Age: 29
Posts: 777
|
Re: [SM5]search songs functionality
amazing. !!
__________________
Bye. |
04-23-2015, 03:32 AM | #4 |
FFR Player
Join Date: Dec 2014
Age: 38
Posts: 125
|
Re: [SM5]search songs functionality
I've had advanced sorting and stuff in Consensual for over a year now.
But I don't support online mode because I don't play it. https://youtu.be/JV5aSyPPni4?t=1m28s Consensus is that nobody gives a shit because graphics are what matters in a theme.
__________________
Stepmania Development in action: Last edited by Kyzentun; 04-23-2015 at 03:33 AM.. |
04-23-2015, 06:13 AM | #5 |
Under the scarlet moon
Join Date: Jan 2014
Age: 31
Posts: 921
|
Re: [SM5]search songs functionality
How hard would it be to implement a custom tagging system + search by tag?
Something like, in the song selection screen you can add an arbitrary tag "tag A" to any selected song (e.g. indicating some particular pattern the song has, the highest rate I have an AA, personal favourites and so on). Then you can list only the songs that you tagged with "tag A". The tags themselves would be pretty useful for songs/packs I don't play very often, so I can recall something about them without having to start the song. And for the search, it would be great when I want to play a certain category of songs even when I don't have particular songs in mind. It would also be great to bring up hidden gems in bad packs that I don't want to bother browsing around. |
04-23-2015, 08:11 AM | #6 |
FFR Player
Join Date: Dec 2014
Age: 38
Posts: 125
|
Re: [SM5]search songs functionality
I have custom tagging and sorting by tag. In fact, that is exactly what is done at the point in the video I linked to. I sort by tag and then go play some song that i tagged with "kawaii".
Also, I did my stuff in a way that allows using it without a keyboard, so it works for pad players too.
__________________
Stepmania Development in action: |
04-23-2015, 09:11 AM | #7 |
Under the scarlet moon
Join Date: Jan 2014
Age: 31
Posts: 921
|
Re: [SM5]search songs functionality
My bad, didn't really check anything of the video besides the search thing.
Anyway, just checked the entire thing and it's pretty cool; pretty much everything I'd care about having added into the game is in there. As long as the actual playing screen looks similar to what I'm used to, I'm all in for using it. Just not entirely sure what exactly are you showing at 8:30 but I'll get the theme and check it for myself. Last edited by AutotelicBrown; 04-23-2015 at 09:12 AM.. |
04-23-2015, 09:24 AM | #8 |
FFR Player
Join Date: Dec 2014
Age: 38
Posts: 125
|
Re: [SM5]search songs functionality
8:30 is editable pane display, so you can set whatever info you want in the pane instead of being stuck with some common set meant for everyone. If you comment on the theme, post in the thread on the main sm forums so this isn't derailed more.
Anyway, for the topic: Nice work on figuring out how to use the input callback correctly. I wasn't sure whether the documentation for it actually made sense to anyone besides me. Why did you only make it support left shift and control though? You could do something like this to support both: Before the function: Code:
local shift_key= { ["DeviceButton_left shift"]= true, ["DeviceButton_right shift"]= true} local control_key= { ["DeviceButton_left ctrl"]= true, ["DeviceButton_right ctrl"]= true} Code:
if shift_key[event.DeviceInput.button] then if event.type == "InputEventType_Release" then ShiftPressed = false else ShiftPressed = true end elseif control_key[event.DeviceInput.button] then if event.type == "InputEventType_Release" then CtrlPressed = false else CtrlPressed = true end end
__________________
Stepmania Development in action: Last edited by Kyzentun; 04-23-2015 at 09:41 AM.. Reason: added code example |
04-23-2015, 11:40 AM | #9 |
Я тебя люблю Маша
|
Re: [SM5]search songs functionality
This is awesome! how do you edit it into stepmania 5 though?
Does it work with any theme? I tried putting a whole folder with the files in the general sm 5 folder then i put graphics in graphics folder and bg animations in that folder. Nothing seems to be getting it in-game. Help? This is a great feature though, great job! Last edited by NeonSM; 04-23-2015 at 11:40 AM.. |
04-23-2015, 12:52 PM | #10 | |
FFR Player
Join Date: Apr 2012
Posts: 422
|
Re: [SM5]search songs functionality
Quote:
Also, graphics can be a part of the experience (not just eyecandy) when it helps the user to understand what the fuk is happening. I have seen consensual before, and while i thought the tags system was very amazing, i didnt find it that useful (at least for me), for the following reasons:
So it didnt quite fit my needs (because they arent even the same things), my searchbar allows to find songs by their full name/subtitle. About the raw input, yeah, i took some examples from the documentation, and started to toy with it till i got it done, isn't exactly the most clear thing ever but w/e Question about it, can i get raw text entry, in online mode (the chat inputs are the problem), without needing to call ScreenTextEntry?, the search bar would be a lot more cooler if you didnt get that black screen pausing the game. Stai: rule34, searchbars Sidek: ty <3 NeonSM: im pretty sure you missed adding the actor to your screen, find your ScreenSelectMusic overlay.lua at the BGAnimations folder, and add the needed line "t[#t+1] = LoadActor("searchbar")" just before the "return t;" Also thanks
__________________
My latest works: BCMP-ish (6key) Solo 137 Pack (6key) Jumpstream of Fighters vol.1 Jumpstream of Fighters vol.2 6k key discord Last edited by Leo137; 04-23-2015 at 12:54 PM.. |
|
04-23-2015, 01:26 PM | #11 |
Я тебя люблю Маша
|
Re: [SM5]search songs functionality
Yay it worked! thanks leo! Btw how do you make it find the song? I type it in and press enter but it doesnt automatically find the song ?_?
|
04-23-2015, 01:27 PM | #12 |
FFR Player
|
Re: [SM5]search songs functionality
Is there a way to enable mouse control and fullscreen at the same time, or does SM5 not support that
I'd like to get into some theming stuff with mouse control but i'm a fullscreen pleb |
04-23-2015, 01:42 PM | #13 |
FFR Player
Join Date: Apr 2012
Posts: 422
|
Re: [SM5]search songs functionality
NeonSM: click on the magnifying glass to start searching, and i know, is a drawback of the implementation.
Wafles: Is supported, but as you can't see the cursor, is hard to look where your mouse is you can try to create a fake cursor actor that positions itself at the mouse position, and problem solved ??? ? ?? ?_?
__________________
My latest works: BCMP-ish (6key) Solo 137 Pack (6key) Jumpstream of Fighters vol.1 Jumpstream of Fighters vol.2 6k key discord Last edited by Leo137; 04-23-2015 at 01:49 PM.. |
04-23-2015, 02:04 PM | #14 |
FFR Player
Join Date: Dec 2014
Age: 38
Posts: 125
|
Re: [SM5]search songs functionality
You can't get raw text entry without calling ScreenTextEntry because ScreenTextEntry is supposed to handle the the various complexities of text editing so that theme code doesn't have to worry about it. (it does a somewhat poor job of it right now, alternate keyboard layouts and unicode input don't work, or so I've heard.
You should be able to customize the screen so it's less obtrusive. If not, I'll have to go digging into it. You could set up an input callback to translate keypresses to pieces of text with a simple table and special cases for backspace and enter. But that would mean that if ScreenTextEntry is improved in the future, the improvements don't show up in your theme, so it's not a good long term solution.
__________________
Stepmania Development in action: |
04-23-2015, 05:02 PM | #15 |
FFR Player
|
Re: [SM5]search songs functionality
I'm not too familiar with the documentation, would I be able to detect cursor movement easily enough? If so that seems feasible.
|
04-23-2015, 09:27 PM | #16 |
FFR Player
Join Date: Apr 2012
Posts: 422
|
Re: [SM5]search songs functionality
Aint hard once you understand the basics at themeing and lua, sometimes i needed to dig on examples of other themes though, when the documentation wasn't clear enough to fill the logic gaps for me.
You could use my own searchbar to guide yourself (i detect cursor movement but im not using it for that)
__________________
My latest works: BCMP-ish (6key) Solo 137 Pack (6key) Jumpstream of Fighters vol.1 Jumpstream of Fighters vol.2 6k key discord Last edited by Leo137; 04-23-2015 at 09:27 PM.. |
08-5-2015, 02:41 PM | #17 |
FFR Player
Join Date: Oct 2014
Age: 47
Posts: 8
|
Re: [SM5]search songs functionality
I've collected so much stuff and always having trouble finding it -- this looks awesome!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|