Page 1 of 1

Animated cartoon movie with PB?

Posted: Thu Jun 05, 2025 9:09 pm
by PHP
I'm planning to make short animated films, for example, The Simpsons or South Park.

There are, of course, various video tools for this, like After Effects, etc., but I enjoy programming and would rather try it in PB and simply record the final result using a screen recorder.

The characters are currently 2D, available as vectors, and can be exported as PNGs with a transparent background. They also have their individual body parts, various facial expressions, etc.

They don't need all sorts of facial expressions and gestures; it's enough if their eyes open/close from time to time and their mouth moves somewhat when spoken (.wav). Facial expressions should change depending on their mood. If the person moves, their legs should "walk."

So what's the right choice here? 2D, of course, but sprites or images?

Perhaps OOP? Have the character assembled on the fly as desired?

CreateImage("Mike","happy","blue_shirt")

The timing would then, of course, also need to be resolved: movements, i.e., when a person walks onto the stage, when they gesture, facial expressions changing, speech output, etc.

Perhaps this would be better done using a kind of JSON storyboard, rather than actually creating each movement with a line of code ;)

Do you have any ideas for this? I'm curious!

Thanks
NBG

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 4:07 am
by Demivec
There are some fine examples of this kind of animation that was done using tools created in PureBasic by one of the members of this forum. With the length of time you've been on the forum you've surely seen some of his posts.

[blendman] was the user. He passed away about a year ago but left a blog that gives some ideas of his tools functionality with you tube videos demonstrating their use and open source software as well. His forum posts give further information about these same things. I think his work describes something similar to what you want to do and should give you some ideas.

Here's a link to his blog: https://blendman.blogspot.com/

Here's a link more specifically to software he created or worked on: https://blendman.blogspot.com/2015/05/mes-logiciels.html?m=1

Here are links to some of his forum threads:
https://www.purebasic.fr/english/viewtopic.php?p=574454
https://www.purebasic.fr/english/viewtopic.php?p=356530
https://www.purebasic.fr/english/viewtopic.php?p=593323
https://www.purebasic.fr/english/viewtopic.php?p=566854
https://www.purebasic.fr/english/viewtopic.php?p=486839

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 4:36 am
by jacdelad
Wrong subforum...

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 7:50 am
by miso
So what's the right choice here? 2D, of course, but sprites or images?
Or 3D. Single planes can be used as sprites, but might give you special advantages later on. South Park is made with Maya that way.

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 2:00 pm
by Quin
jacdelad wrote: Fri Jun 06, 2025 4:36 am Wrong subforum...
It's a question about how to code something in PB, posted in the coding questions section of the forum... :?: :?:

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 2:04 pm
by Fred
It's been moved since :D

Re: Animated cartoon movie with PB?

Posted: Fri Jun 06, 2025 2:17 pm
by Quin
Fred wrote: Fri Jun 06, 2025 2:04 pm It's been moved since :D
Ah, gotcha! I was bamboozled :mrgreen: