blitz3d boss intro cutscene

Blitz3D Forums/Blitz3D Programming/blitz3d boss intro cutscene

Caton(Posted 2015) [#1]
how would create a 3D boss intro cutscene what kind data would I use?


Rick Nasher(Posted 2015) [#2]
You could use something like Blender to create a 3d animated scene and export to disk as a movie. Then play in between levels. Perhaps using the command(s):

OpenMovie(file$)
Parameters
file$ - filename of movie

Description
Movie support relies on DirectShow, so you will need to ensure the correct drivers are installed.

This command will open GIFs as well as AVI and MPEG movie files. However, AVI and MPEG movie will start playing immediately once this command has been used, whereas GIFs do not. See DrawMovie for details on how to deal with GIF animation playback.

No error is raised if the specified file is not a movie file, or if the file does not exist, but the returned movie handle will be zero.

See also: DrawMovie, CloseMovie, MoviePlaying, MovieWidth, MovieHeight.




Caton(Posted 2015) [#3]
No not a movie I want a in game cut scene after intro cut scene is done than the boss starts attacking.


Rick Nasher(Posted 2015) [#4]
You could do the same then, only pauze the game updating (in the main loop). However if you mean you don't mean a movie, but an animation instead then you could create and record a sequence of movements and play them back.

You could for instance store the positions in good old predefined data statements, like:

;Pos x, y, z
Data 0, 0, 0
Data -1, 0, 0
Data -2, 0, 0
Data -5, 0,-1
etc.

Then Read back one line and use PositionEntity entity,x,y,z to move around.


Matty(Posted 2015) [#5]
Design what you need on paper first.....then work out the logic required to tie it together.

So.

List all the things you will need.
Textures. Models. Filenames. Positions etc.

Draw a set of tables linking these together. Examine the logic behind it then try a simple example with some cubes and spheres. Extend it to full meshes. Then extend it to animated models for a challenge.

Sound and music comes next. Work that out too. List what you need. Volumes at times. Filenames. Multiple tracks. Etc.

All good.