Intro to p5play - 2.1 - Sprites Animation
Автор: David Bouchard
Загружено: 2024-03-11
Просмотров: 890
Описание:
In part 1 of this lesson, we use p5play's Sprite and Group objects to set the stage for a simple object dodging game titled "Zombie Apocalypse". We also introduce Sprite Animations.
Completed example:
https://editor.p5js.org/davidbouchard...
Game assets:
https://drive.google.com/file/d/1sGCN...
Timestamps:
0:00 intro
1:15 game demo
2:30 adding the p5play library
3:45 creating the player Sprite
4:35 uploading our assets
6:00 creating an Animation
10:00 writing a function to generate frame sequence arrays
14:25 the debug attribute
15:30 player behaviour (follow mouse, face the right way!)
19:40 adding the zombies as a Group
23:20 debug toggle on allSprites
24:40 rotation locks
25:30 dynamic properties for the Zombies (arrow setters)
28:00 zombie behaviours
32:40 randomly changing the Zombies direction
34:45 zombies overlap
36:15 recap and next steps
This video is part of a series of tutorials for my course, RTA222 - Intro to Computational Arts, taught in the New Media program at Toronto Metropolitan University.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: