@Kilitar nice! I checked its code and it does rewrite a method instead of aliasing it (which is strongly not recommended). It seems a lot of MV developers are doing stuff like this and it's been breaking plugins around.
@lonewolph hopefully yes! You set walls with region tags, so as long as they are aligned, it should work
Here's the final update for my lighting system! Now it has two versions, and the only difference between them is the addition of real-time shadows:
- Version 3.1 is the most lightweight lighting system for RPG Maker MV
- Version 4.0 Ultra has real-time shadows, but it is performance intensive
@KermexRPG well, it will have an impact, but it really depends on your game and the number of moving lights (the system optimizes lights that are not moving) and their size. But it should run pretty well on any modern graphics card
Hey Khas. Having a bit of a problem with the new version. In game when I add the PlayerLanter command I end up receiving this error
rpg_managers.js:1950 TypeError: Cannot read property '26.625' of undefined
at Game_Map.getHeight (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:486)
at Game_Player.Game_CharacterBase.lightHeight (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:616)
at Sprite_Light.refreshHeight (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:1183)
at Sprite_Light.refreshShadows (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:1192)
at Sprite_Light.update (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:1178)
at Khas_Lighting.update (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:1380)
at Khas_Graphics.updateScene (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasUltraLighting.js:1347)
at Spriteset_Map.updateKhasGraphics (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasGraphics.js:149)
at Spriteset_Map.update (/C:/Users/Moisesjr/Documents/Games/1.5/Project4%20-%20Copy/js/plugins/KhasGraphics.js:139)
This isn't present in the demo but it's present on my project. Do you know what might be causing it?
Edit: Actually thorugh more testing I found out it's caused by the pixel movement plugin I use. Causing any object to move with the light tag causes the error. This error, however, does not appear in the advanced version even with pixel movement. It only happens in the Ultra version.
Edit: Also another question. Do you know how I can center the player's visibility in the fog? It's not centered around the player which I suspect might be because I'm using bigger sprites.
Why can't you just have a download with only the necessary plugins and the lighting plugin.. a little frustrating having to download 110mb of extra things I really don't need.
Thank you for the contribution, I hope it works okay.
@10kk seriously, I can't believe you're complaining about downloading a21.3mb demo designed to showcase all the plugin features and help you to use it. I even removed all the unused files before packing it.
Geez. A "little frustrating" to spend a lot of effort and receive this kind of feedback.
@Ally I left this functionality for users to implement. You can build a lot of different systems around the lighting engine with common events
Khas. The only download you offer is a 112MB package with different versions of your other plugins too. I'm just saying you should have a direct download to only the js file and lights folder, because that is the plugin for this topic.
@10kk if you follow the download link on the topic, you'll be redirected to my blog. Then, click on the download link on my blog and you'll be redirected to a Mega shared folder. There you can navigate to the plugin you want to download, which has a demo (21.3mb) and the js file for those who just want to update.
@Ally you may create an event running on parallel process and do the logic there. A bit of knowledge of setting up event systems is required in order to do that
Hi! I really really love this plugin and I really want to make a game using this... but I have a problem...
This error pops up every time. It used to run in my previous pc. But it got attacked with lots of virus and I had to get it fixed and now this doesn't work anymore.
*Edit* I just tested it from the browser. It works. I also exported the game and it opens and works. So, the only problem (for me... I'm not sure if anyone else is having this problem) is that it doesn't work from the playtest. Anyways, I guess it's not a big problem I can use it!
Dad's watching a WWII documentary while I work on some cool assets for my games. I just love RPG Maker!
Also Happy Halloween! Dad's friend won't be coming unfortunately, but Dad will still be taking me to Boxi Park to have some fun tonight! I'll be posting a video on my YouTube channel of the show, and I'll be sure to post a link here.
"Nightmares exist outside of logic and there's little fun to be had in explanations. They're antithetical to the poetry of fear. In a horror story the victim keeps asking why, but there can be no explanation and there shouldn't be one..." - Stephen King
I feel people seek explanation and demand it sometimes in games, but in the horror genre, well, maybe you shouldn't have one. Silent Hill 1 comes to mind...
Finally! I've been puzzling over why it wasn't working for two days now. Turns out all of my calculations were correct, I just forgot to give some events hitboxes. Now my randomly generated maps check for collision errors, and move stuff around in real time if they finds any.