contentdeleted

Regular
Regular
Joined
Jul 19, 2022
Messages
93
Reaction score
72
First Language
English
Primarily Uses
RMMV
RPGMania v1.0
Stepmania/DDR style rhythm mini-game with .SM chart support and pseudo-3d background visuals.
Source Code
Demo Project (Updated: v1.0.1)



Features
  • Support for most .SM chart features with correct note timings​
  • Background visuals with character sprite that moves to the music (using data from chart)​
  • Menu to load and select all charts in folder and display song art and submenu for difficulty selection​
  • Note timing and ranking + combo scoring​
  • Optional note "hit" sounds​
Setup
  1. Setup pixi projection plugin
    1. Copy plugin file into your js/libs folder (Copy from demo project or download src and follow build instructions here: https://github.com/pixijs/pixi-projection)
    2. Add the following line to your index.html in the body with the other script tags:
      Code:
              <script type="text/javascript" src="js/libs/pixi-projection.js"></script>
  2. Copy the example assets from the demo project img/rpgmania folder into a folder of the same name in your project (list of required assets in plugin help).

Hopefully this is useful or interesting to a few people out there.
Currently there are only a few config plugin options but if people ask I can add more customization.
 
Last edited:

hallowprod

Warper
Member
Joined
May 16, 2022
Messages
1
Reaction score
1
First Language
English
Primarily Uses
RMMZ
is it possible to get this working in mz? would be really useful, just cant get this version working with mz
 

TheLastYuriSamurai

TheLastYuriSamurai
Regular
Joined
Dec 26, 2013
Messages
185
Reaction score
285
First Language
English
Primarily Uses
RMMV
I have wanted to see something like this in MV for forever, very cool!! Editing to say your demo crashed immediately, says it can't render property of null
 
Last edited:

contentdeleted

Regular
Regular
Joined
Jul 19, 2022
Messages
93
Reaction score
72
First Language
English
Primarily Uses
RMMV
is it possible to get this working in mz? would be really useful, just cant get this version working with mz
It should work in MZ without too much effort, there's nothing in here that's MV specific, it's basically its own game loop built on PIXI. I don't own MZ to test it out though, but I can help you work out any issues if you want to give it a try.
 

contentdeleted

Regular
Regular
Joined
Jul 19, 2022
Messages
93
Reaction score
72
First Language
English
Primarily Uses
RMMV
I have wanted to see something like this in MV for forever, very cool!! Editing to say your demo crashed immediately, says it can't render property of null
Oh I think this bug was happening on the song list because I was defaulting to the zero index of the menu list (the song list is just a mv selectable window). I have a fix for it but I only added it in my game, my mistake, I'll update the plugin here too
 

TheLastYuriSamurai

TheLastYuriSamurai
Regular
Joined
Dec 26, 2013
Messages
185
Reaction score
285
First Language
English
Primarily Uses
RMMV
Oh I think this bug was happening on the song list because I was defaulting to the zero index of the menu list (the song list is just a mv selectable window). I have a fix for it but I only added it in my game, my mistake, I'll update the plugin here too
No worries! Just wanted to bring attention to it in case someone else noticed!
 

Bornxx

Warper
Member
Joined
Jan 23, 2022
Messages
1
Reaction score
0
First Language
english
Primarily Uses
N/A
Thank you for this!! been looking for something like this.
 

TheLastYuriSamurai

TheLastYuriSamurai
Regular
Joined
Dec 26, 2013
Messages
185
Reaction score
285
First Language
English
Primarily Uses
RMMV
Thanks for the heads up! I've updated the plugin code and example project with this fix and some other improvements.
I hate to report more concerns but I still get a null upon playtesting the updated demo: I'd poke around the core but weirdly enough its saying I am not authorized to have access
1686525693516.png
 

xabileug

Regular
Regular
Joined
Jul 1, 2014
Messages
633
Reaction score
239
You are right, me too i cant play the demo because replaceAll() is not a function
1686551703231.png


i checked the index file in the demo, the line pixi-projection is there
1686551904589.png
 
Last edited:

contentdeleted

Regular
Regular
Joined
Jul 19, 2022
Messages
93
Reaction score
72
First Language
English
Primarily Uses
RMMV
You are right, me too i cant play the demo because replaceAll() is not a function
Ah, I had not previously tested with old versions of NWJS. It looks like the js version that shipped with the original version of MV didn't support `replaceAll` yet. To be honest I totally forgot that the NWJS assets are stored in program files and not the project folder.

However, after testing this out, it seems that there are some additional issues with rendering, likely from the pixi projection extension, when using old versions of nwjs.

I strongly recommend updating as documented here, but I will also update the plugin to provide a setting to disable the projection 3d effects entirely and instead use a normal 2d background.

I hate to report more concerns but I still get a null upon playtesting the updated demo: I'd poke around the core but weirdly enough its saying I am not authorized to have access

This error is weirder... Im not 100% sure whats happening here but it seems to be an incompatibility between a shader in this version of pixi and the version of webgl you're running it on possibly?
One thing I can try doing is updating the pixi version in the demo project. I seem to have left it at 4.5.4 rather than the latest: 4.8.9
Though I have no issues with it on my computer at 4.5.4 either.
 

TheLastYuriSamurai

TheLastYuriSamurai
Regular
Joined
Dec 26, 2013
Messages
185
Reaction score
285
First Language
English
Primarily Uses
RMMV
Ah, I had not previously tested with old versions of NWJS. It looks like the js version that shipped with the original version of MV didn't support `replaceAll` yet. To be honest I totally forgot that the NWJS assets are stored in program files and not the project folder.

However, after testing this out, it seems that there are some additional issues with rendering, likely from the pixi projection extension, when using old versions of nwjs.

I strongly recommend updating as documented here, but I will also update the plugin to provide a setting to disable the projection 3d effects entirely and instead use a normal 2d background.



This error is weirder... Im not 100% sure whats happening here but it seems to be an incompatibility between a shader in this version of pixi and the version of webgl you're running it on possibly?
One thing I can try doing is updating the pixi version in the demo project. I seem to have left it at 4.5.4 rather than the latest: 4.8.9
Though I have no issues with it on my computer at 4.5.4 either.
Sounds good! I'll give them both a shot!
 

Latest Threads

Latest Profile Posts

Eliza-sprite-v2.png

New sprite for Eliza. On the positive side she looks really pretty now. On the negative side she's a giant so I would need to redo the tileset if I want to use this sprite and probably need a plugin to not make her sprite look akward on the save file... so if anyone got some tips how to deal with large sprites in mv please do let me know.
Using Avery's icon list I made a balloon icon of a sleeping person in a bed. That way when you can use a Inn it will appear over the innkeeper's head. If I use the 'zzz' balloon it looks like it is saying the Innkeeper is asleep.
Presenting the minigame nobody asked for, yet everybody needs in their life - I mean, I'm assuming. It's pretty funny. To me, at least.
Watermelon hunting!
Watermelon.png
You find watermelon hidden around a town and smash them to pieces! You get watermelon slices - and sometimes rare ones appear that have been stuffed with items! :kaopride:It's got a great music track too
Art Tutorials be like.
BeforeAfter.png

Forum statistics

Threads
134,778
Messages
1,250,501
Members
177,551
Latest member
cat1234
Top