How to connect the programming to the artist work

2    29 Nov 2016 04:23 by u/piratse

So I am somewhat new to programming. But could someone simply explain how you go from code to the the GUI with all the characters in a game? Broad strokes are perfectly fine.

So I code a sweet new version of WoW in C and Python. My buddy makes some bad ass characters on his voodoo animation programs.... How do we combine those two things together? How does you tell it Human/user/piratse gets off Voodoo artists bird? And general things like that. Thanks!

13 comments

2

The artist saves whatever artwork (2D pictures, 3D meshes, rigged animated characters, whatever) in some file format that their software can save to. You then write code (or use a library which already contains code) which knows how to read those files and load the images, vertices etc. Once you have the data for the artwork loaded into your program, you can do whatever you want with it. Draw it on the screen, animate it by redrawing the screen and moving it a bit every time you redraw, whatever you want.

The hard bit is deciding what you want it to do. Once you know that, it's usually pretty obvious how to get the effect you're after.

0

Thanks!

1

You are going way too fast. It takes time to learn all of this. It may be quicker to teach you how to build a nuclear reactor.

1

Just looking for the broad overview. It's how I like to learn. @eagleshighIsMuslim /@antiracist explained it very well. Not that complicated. I'm sure actual APPLICATION is much harder, but all I needed was a broad overview to conceptualize the whole process in my mind.

0

LOL off topic, but those names are too funny

1
-2

You need to create a canvas. Then you use the API to load the image onto the canvas. Then when you want to move the image, you clear the canvas and reload the image at a different coordinate. You can make it such that the image reloads on the canvas higher or lower, more left or more right, depending on the keyboard input. In order to receive keyboard input, you need to use something called a keyboard event listener.

Suppose you load one image on the far left, and another image on the far right. You can write code to gradually move them closer to each other, until they meet in the middle. At each frame when the canvas is reloaded, you can check if the coordinates of the first image overlap the coordinates of the second image. If this is the case, then the objects touched, for example, Mario jumping on a goomba. You can then choose to delete one of the images, or load a death animation where one of the images was.

You do not need to code loading the image onto the canvas. This is provided to you by your programming language. You do not need to code the keyboard event listener. This is provided to you by your programming language. You only need to learn how to use the programming language to create a canvas, load an image, and detect keyboard input.

There are many simple how-to guides for making video games available on the Internet.

This is @antiracist and I'm much much smarter than idiot shiteater @Crensch. Idiot Crensch thinks that because I'm vastly smarter than him at theology, as he has a completely unexamined and uninformed worldview, that he must be better than me at everything else. In actuality, I'm much much better than him at everything else, including math, science, logic, programming, and making money. @Crensch is a terrible person.

@bilbo_swaggins eats shit.

@stretched_girl is a stupid cunt idiot cunt idiot.

@eagleshigh owns two businesses but I make a lot more money than he does because I have a brain.

@SarMegahhikkitha @bojangles and @watitdew are cool enough.

Shut up @TheodoreKent. Fuck you @0x4F.

Fuck you @PuttItOut. Fuck you @cancel-cat-facts. @adhdferret @one-way_bus @kevdude

@frozenfire74 @planko

0

Please, add me to your copypasta. ❤️

0

no

0

Please 🐹

0

Thank you very much for the input, that was easy to understand. Appreciate it.

0

BITTE SHON!

1

Just do what Rocket League did and use Unreal Engine. I've made maps with it for existing Unreal engine based games. That's where I'd start.

https://www.unrealengine.com/what-is-unreal-engine-4