contentdeleted

Regular
Regular
Joined
Jul 19, 2022
Messages
97
Reaction score
73
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
186
Reaction score
290
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
97
Reaction score
73
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
97
Reaction score
73
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
186
Reaction score
290
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
186
Reaction score
290
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
635
Reaction score
241
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
97
Reaction score
73
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
186
Reaction score
290
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

The site is being slow and funky again. IS SOMEONE CRAFTING POEMS?!
So yeah, @TRIDIUM @TESTOSTERONE, I wuz like, "What do they mean by borderline and boundaries?"

And then, y'all know this girl?

actress1.png

alice_bikini.png

The clothes? They're just a, um, quick edit. :kaoswt:
I've uploaded the opening cutscene from my game to my channel. It basically introduces us to the first three characters, and what their relationships are:
Cosmic Inferno: Opening dialogue
I don't want to start a panic...but everyone, check the color of your milk!
IMG_20231002_082329.jpg
My One Map Challenge is nearing completion. I am in the multiple run testing phase atm. This is the map. Beware the minotaurs in the maze area. The female ones are more aggressive. Can you prove to the land of Winchell that a dragon and a human can love each other?

Forum statistics

Threads
135,021
Messages
1,253,015
Members
177,949
Latest member
fefemaker
Top