how do they do it sega???

Blitz3D Forums/Blitz3D Programming/how do they do it sega???

Caton(Posted 2014) [#1]
how do they in sonic games,sonic 2006
make cut scenes in the game?
how in code?


Matty(Posted 2014) [#2]
Well I imagine they spent time learning the basics of coding and learned to walk before they tried to run...


Zethrax(Posted 2014) [#3]
Ookay, time to copy and paste this again. I guess this is going to be a regular thing now that several Blitz languages have gone free.

---

Read all the help file tutorials that came with Blitz3D (click the 'Help' tab in the Blitz3D IDE. The help page should show by default when you start the IDE). Read the various tutorials in the forums. Read through the command instructions in the help files too, to give yourself a rough overview. The help files appear to be out-of-date ( http://www.blitzbasic.com/Community/posts.php?topic=103568 ) so you might be better off looking through the ones in the online manuals linked in the navigation bar at the top of this page( http://www.blitzbasic.com/Manuals/_index_.php ).

Once you've got a rough overview of the language, start looking at the various samples that came with Blitz3D (you can find them linked from the the main help page in the IDE). Also take a look at the various bits of code in the code archives on this site (navigation bar above > Community > Code Archives ( http://www.blitzbasic.com/codearcs/codearcs.php )).

Copy some of the samples or code archive code and play around with it (that's what it's there for). Note that the samples that come with Blitz3D include ( http://www.blitzbasic.com/b3ddocs/command.php?name=Include&ref=2d_cat ) a file that sets the graphics mode manually. You'll probably want to comment out the line the include command is on and code the missing graphics command ( http://www.blitzbasic.com/b3ddocs/command.php?name=Graphics&ref=2d_cat | http://www.blitzbasic.com/b3ddocs/command.php?name=Graphics3D&ref=3d_cat ) into your copy of the code sample.

Usually you're not going to get far asking people to explain high-level stuff to you on the forums. Most people are happy to help you out with specific lower-level problems (questions about commands, problems with your code, etc), but the higher-level stuff takes far too long to explain and the questions involved are often too vague to really formulate a good answer to.

The best approach is usually to start small and work your way up to larger projects over time.


RemiD(Posted 2014) [#4]
It would be good to have a sticky post where to post all these recommendations so that new coders can be redirected there, don't you think ?

Also to search something in the forum you can find interesting results with google :
subject site:blitzbasic.com

in your case :
https://www.google.fr/?gws_rd=ssl#q=cutscene+site:blitzbasic.com


Doggie(Posted 2014) [#5]
He's probably asking how to pass parameters to a function.


H&K(Posted 2014) [#6]
And YOU don't know how to pass parameters to a function?

Edit
Lets be clear here, I think you do know.


Doggie(Posted 2014) [#7]
Only kind of.
If this person understands what a function is, what it is used for
and basically how it is called then he will plainly be able
to decide what he wants his cutscene function to do, what parameters
(Background pic, sprites and animation and text for conversation or sound files instead)It really would get quite specific so there's no need
for me or anyone else to actually write the required code until he at least takes a stab at it. And in that event I assure you there are folks here way
more capable of helping out than I.

DOG


Caton(Posted 2014) [#8]
I mean CGI CutScenes!
how do I render the scene
in blitz like this...

how would I render that kind of scene in blitz
I have the model and I anim them...


xlsior(Posted 2014) [#9]
Option 1: Create a video, and play back the video as a cutscene
Option 2: Script out every single step of what you want to happen in the video, and use the game's own rendering routines to play it back. Ignore user input, but play back all the required steps: move object A from location X to Y, wait three seconds, play sound sample 17, move object B from location X to Z, play sound sample 18, etc.

But in all seriousness: If you need to ask how to do something as basic like this, you're probably in over your head at the moment, and may want to start with something a little simpler.


Caton(Posted 2014) [#10]
how do I do the cutscene rendering in blitz3D?


Caton(Posted 2014) [#11]
and when Mephiles moves that's not part of the game coding it's the animation.


Caton(Posted 2014) [#12]
I ripped the models,animations,sounds,voices,music
just need the rendering help in blitz3D


xlsior(Posted 2014) [#13]
Step 1: Get your own models, animations, sounds, voices and music, as opposed to stealing them somewhere. (It would be a giant waste of time for you to create a game, and then receive a cease-and-desist from the actual copyright holder. Getting sued for breach of copyright can be VERY expensive.

Step 2: Animate them.


RemiD(Posted 2014) [#14]
Also you can create custom animations inside Blitz3d, it can be useful if you want to "animate" (=turn move) the camera to capture the scene from a specific position and with a specific orientation or with a specific movement.


GfK(Posted 2014) [#15]
You're wasting your time.

Firstly - you've stolen all the models. You can't use them unless you pay Sega a huge bag of money. And even then they'd probably tell you to do one.

Second, you're punching above your weight. Looking at your post history all you've done so far is demand other people give you code to do this, code to do that, with little to no sign of actually trying to learn how to do things for yourself.

What you need to do, is make some crap. Make lots of crap. Don't show it to anybody, because it'll be crap, and nobody wants to see crap. But the knowledge you gain from making all manner of crap, will make your future stuff NOT be crap.

By attempting to do more than you're clearly capable of, you'll be sick of programming within months because it's "too hard". Guaranteed.


Caton(Posted 2014) [#16]
blitz sonic
and that was very rude...


videz(Posted 2014) [#17]
Not to discourage or mislead you Caton, but if you will be using ripped models and those assets are available to you, then I guess it is ok as long as it is for educational or non-profit use. "Mods" as we call it.

But if you're asking members here for ways to rip a packed asset, then I guess you are on your own but it is still not tolerated here as far as I know. One thing it is illegal and you should ask permission from the owner and not divert your questions here.

As for the cutscenes, you should first get a firm grasp on how blitz3d works, find some code arcs or tutorials on the forum on how to move the camera and start simple.

That's all I can advise you. Good luck.


Caton(Posted 2014) [#18]
I never ask how to unpack my assets from my pack files...


Zethrax(Posted 2014) [#19]
No, you appear to have been asking how to unpack other people's assets from their pack files in that other thread you started (aka stealing).

Go to the 'Beginners - Start Here' thread linked below that I created to give beginners a starting point. Actually take the time to learn the programming language and what's involved with all the questions you're asking.

Beginners - Start Here - http://www.blitzbasic.com/Community/posts.php?topic=103803

You'll get further with this approach than expecting people to take the large amount of time required to explain to you all the complexities of the complex subjects you're asking about and clearly haven't taken the slightest bit of time to research and understand.


videz(Posted 2014) [#20]

I never ask how to unpack my assets from my pack files...



http://www.blitzbasic.com/Community/posts.php?topic=103760#1252772

..seriously, are you kidding me? ;P

It is really puzzling for you to ask on how to read your packed asset when you are stating that you packed them yourself. Unpack or read, same motive if you made them all this time.

I suggest using an alternative packer or just expose them by folders if you are new to coding and consider it at a later time when you are more experienced in blitz3d.


Caton(Posted 2014) [#21]
CGI RENDERING!
is it that hard to ask?


ThePaiva(Posted 2014) [#22]
You could make a video to use as cutscene in a 3D software like Blender, then play it on Blitz3D with openmovie() and drawmovie(), is that what you wanted to know?


GfK(Posted 2014) [#23]
and that was very rude...
It wasn't rude at all. There is little point in tippy-toeing around the facts.

It's up to you whether you choose to listen to the advice given, or be morbidly offended by it. But you ARE trying to do more than you are yet capable of, and that's a clear fact.


_PJ_(Posted 2014) [#24]
CGI RENDERING!
is it that hard to ask?

It can be, it depends on the specifics.

The answer can be as simple as

While Cutscene<>CUTSCENE_ENDED
 Cutscene=UpdateCutscene()
 RenderWorld
 Flip
Wend


Or it can be so much more complex than you apparently seem to be ready for, that it's not even worth beginning to explain.

You maya s well be asking "How do I make game?"


GfK(Posted 2014) [#25]
CGI RENDERING!
is it that hard to ask?
I'm convinced that you don't even know what you're asking for. CGI means "computer generated imagery". Therefore everything, in any game, ever, is CGI.

I refer you to post 15, above.


Caton(Posted 2014) [#26]



Zethrax(Posted 2014) [#27]
Take a look at the DirectShow info in the Blitz3D help manual, Caton.

http://www.blitzbasic.com/b3ddocs/command_list_2d_cat.php?show=DirectShow

Personally I've never gotten much sense out of Blitz3D's movie playback functionality. You might be able to make it work if you experiment with different types of movie encoding, etc.

To actually create the movie you want to show you'll need to use some software that has the capability to set up and record the scenes. Blender would be a good tool to start with. You can find tutorials and information on how to use Blender on the Blender website, as well as links to third party information.

http://www.blender.org/

I'd suggest you browse through the help manual and get an overview of what's available. You don't need to learn it all at once, just give yourself a rough idea of what's possible with the language.


H&K(Posted 2014) [#28]
You do it exactly like the rest of the game, but you send pre-saved input to the Characters rather than user input.


Blitzplotter(Posted 2014) [#29]
@h & k, yeah, +1 on your approach. There are lots of examples codewise on Vipers JV ODE threads showing how to move 3d entities about, good luck.