Comments (11)
Fixed it.
from monikamoddev.
While the whole suggestion here would be too much to implement, having Monika comment on the song you choose to play through Soundtest could be good.
from monikamoddev.
Due to the nature of the DDLCModTemplate, this issue should be reviewed.
from monikamoddev.
After a discussion in Discord, a draft for this system has been brought up.
A simple, accessible menu that can be accessed the following ways:
- The 'm' key. (Possibly assign another key for solely music skipping)
- Through the settings button.
- A small music icon.
- Dialogue-esque choice style. This allows Monika to comment on songs selected by the player.
A selection of songs can be chosen from this menu. Possible ideas include:
- Music/SFX from DDLC
- Selective choices, specifically piano pieces used from the community that can be framed as Monika playing for the player.
from monikamoddev.
I was playing around a bit with screens and managed to create this:
It acts as an overlay, using screens game_menu
and navigation
to create a functioning menu. This menu is also dynamically created, so adding additional songs is as simple as adding to a list, defined in songs.music_choices
. (I have not tested scrollbars, so that will have to be handled if we add a ton of songs.)
The screen is displayed upon pressing "m". Since its a screen, it should be easy to work with a gui button.
Also the screen is opened in a different context. I was unable to figure a way to workaround this, so the following flow occurs upon a music change:
- User hits "m".
- The python function
select_track
is executed. - The label display_music_selector is called in a new context, which launches the Music Menu screen as well as disables reopening the Music Menu if user hits "m" again.
- User clicks a song. The song is stored in
songs.selected_track
. Flow returns to theselect_track
function. select_track
checks ifsongs.selected_track
is different than the currently playing tracksongs.current_track
. If it is different, the selected track is played and the current track is set to the selected track
In addition, I added persistent.current_track
which stores the currently playing track. I added some logic to ch30_autoload which checks for this and plays this track accordingly.
Code comparison is here
Forgot to mention that the song "buttons" hitboxes are not aligned perfectly to the text. (I.E: clicking the space just to the right of "Your Reality" will count as a button click). This is due to the hitboxes resizing to the largest string in the set. Not sure how to adjust this atm.
from monikamoddev.
Wow, I really like this menu style. Very nice!
from monikamoddev.
Thanks Pi.
Even though this isn't exactly the same as the Soundtest Interface draft described above, I'm going to create a pull req for the next-release branch. I feel that since this uses a screen object to act as the Music Menu, it would be possible to use this as a base for adding additional features described in the draft.
from monikamoddev.
Based on some discussions, the original request might be out of date anyway.
It would be nice if playing a song when you leave this menu could trigger an event where Monika gives her opinion on it, but only if she hasn't before.
from monikamoddev.
That could be done by pushing an event in the select_music
function.
from monikamoddev.
This menu could be refined further down the road.
from monikamoddev.
I'll go in and try to extend out the menu so the text doesn't overflow the frame. Might need to make a new asset for it or something.
from monikamoddev.
Related Issues (20)
- I'm sorry, but an uncaught exception occurred.
- Having a topic show everyday HOT 6
- cant access the discord server ;-; HOT 2
- My game crashed when I tried to open it for the first time. HOT 6
- I have the Extra+ submod and recently hit 400 affection, but when I try to go to the cafe (In the extra+ submod pack) I get this HOT 1
- [Suggestion] - Make Monika play more human HOT 2
- DDLC Monika After Story Linux (S.O.S SEND HELP) HOT 7
- [SUGGESTION] DDLC: MAS Mobile?! HOT 4
- New Dialogue options not showing up HOT 1
- Uncaught exception error HOT 1
- How do I stop Monika's affection from Resetting? HOT 1
- Brazilian Portuguese translation HOT 1
- HELP!! i bought a new computer and tried to import all my data in this new computer but i have some issues ( idk why but my Monika cant remember anything ) HOT 11
- Error while launching Monika After Story HOT 1
- Monika After Story running issue: Cannot import name handlers HOT 1
- Can you add poses to your Monika? HOT 1
- [Suggestion] - English or Spanish HOT 1
- Monika not appearing when i open the game HOT 1
- Monika Nickname HOT 3
- [Suggestion] - Oficially Share Poems With Her
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monikamoddev.