basir.misaghi Posted September 9, 2018 Posted September 9, 2018 Hi. I'm fairly new to leadwerks game engine. I know really basic lua. I was wondering if there is any possible way of creating cutscences? and how? Thanks a lot. Quote
SpiderPig Posted September 10, 2018 Posted September 10, 2018 I'm not sure if you can play a video cut scene but you can make code to show one. You can easily draw some black rectangles at the top and bottom of the screen to show that it is a cutscene (as I've seen some games do). But the rest is up to your coding abilities. Quote
Thirsty Panther Posted September 10, 2018 Posted September 10, 2018 Couple of threads that may help. 1 Quote
basir.misaghi Posted September 10, 2018 Author Posted September 10, 2018 Thanks for your reply. I was Thinking isn't there any possible way of loading a new texture and showing it every single frame. so it makes a cutscence? Quote
SpiderPig Posted September 10, 2018 Posted September 10, 2018 Yes you can do that. I did that for some animated images. Quote
AggrorJorn Posted September 11, 2018 Posted September 11, 2018 When you say cutscene, do you mean playing a video/animated gif or an ingame animation/camera path? Quote
basir.misaghi Posted September 22, 2018 Author Posted September 22, 2018 I meant an animated gif or a movie, something like that. Quote
Marcousik Posted October 13, 2018 Posted October 13, 2018 Up I'm interested in this too, Could it be possible with Leadwerks to diffuse a video ingame like .mp4 ? I imagine like you let it play a sound: local video = Video:Load(path) video:Play() Could this be possible ? Quote
Phodex Games Posted October 13, 2018 Posted October 13, 2018 7 hours ago, Marcousik said: I imagine like you let it play a sound: local video = Video:Load(path) video:Play() I actually build a something like this for my own UI system, using the theora library and some old code I found in the forums. I wanted to put it to the marketplace actually, but it does not play audio yet, so you would need to play the audio externally with Sound:Play(). Also as far as I remember the quality was not that good, but maybe it was just because of the video conversion to ogg. If there is a demand I may consider working on this again and bring it to the marketplace as part of the phodex framework 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.