Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by stillen

Been trying to figure out away to play video for cut scenes between levels. Made this simple entity to play a video(mp4). The entity is placeable in the level editor and great for inter level cutscenes, but I also was playing with having a video "player" entity for fun as well.

https://github.com/stillenklipse/impactjs.video-entity

This is a first draft, so let me know what you think.

1 decade ago by chaoticcorpse

Hey! I'm new to the forum, but I've been working on a game for my studio art capstone project that would make great use of this. It's honestly the answer to my problems since I'm not a very strong programmer, but I can animate fairly well, so adding .mp4's as cutscenes is a really ingenious idea. As I just mentioned I'm not a strong programmer and object oriented programming is something I have fragmented knowledge on so bear with me. I'm a little confused as to how to actually have the entity automatically play.
My scheme is: player walks onto levelchange entity, new level is loaded with just the video entity (due to performance issues with my game currently drawing 600 entities at once), and then when the video ends, it loads the next level.
Pretty simple right? I know you know have room for a callback in the videoended function, but as I said I'm not exactly sure how to make all this happen. Since you had such great success with it, I was wondering if you would be so kind as to maybe walk me through how to implement it since I'm so new to this? I'd be happy to compensate you, as I'm only trying to learn so I can make my game better. Let me know if email contact is easier.

I appreciate any help you're willing to give in advance. Thanks for sharing all the same!

1 decade ago by stillen

Got your email, making a better explained demo for the plugin. I have a similar set up in my game as I use this entity as a cutscene player between levels. It works really well, and it works both on mobile as well as the pc, just needs some tweaking/updating that I haven't updated in github
Page 1 of 1
« first « previous next › last »