
12.09.2012, 11:22
|
|
Регистрация: Sep 2012
Сообщений: 10
|
//Time to create a simple animation! alien.png has 3 frames of animation in it.
Пора сделать простую анимацию! В alien.png - 3 кадра.
//We want to play them in the order 1, 2, 3, 1 (but of course this stuff is 0-index).
Мы хотим их проигрывать в порядке 1,2,3,1 (индекс первого кадра конечно же 0)
//To avoid a weird, annoying appearance the framerate is randomized a little bit
разнообразим движение
// to a value between 6 and 10 (6+4) frames per second.
от 6 до 10 кадров в секунду
Мой вопрос: как к этим трём кадрам дорисовать ещё 10?
|