view.setFocus();
LifeCycle cycle(stickMan, &view);
- cycle.setDeathAnimation(":/animations/dead");
+ cycle.setDeathAnimation(":/animations/dead.bin");
- cycle.addActivity(":/animations/jumping", Qt::Key_J);
- cycle.addActivity(":/animations/dancing", Qt::Key_D);
- cycle.addActivity(":/animations/chilling", Qt::Key_C);
+ cycle.addActivity(":/animations/jumping.bin", Qt::Key_J);
+ cycle.addActivity(":/animations/dancing.bin", Qt::Key_D);
+ cycle.addActivity(":/animations/chilling.bin", Qt::Key_C);
cycle.start();
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
- <file>animations/chilling</file>
- <file>animations/dancing</file>
- <file>animations/dead</file>
- <file>animations/jumping</file>
+ <file>animations/chilling.bin</file>
+ <file>animations/dancing.bin</file>
+ <file>animations/dead.bin</file>
+ <file>animations/jumping.bin</file>
</qresource>
-</RCC>
\ No newline at end of file
+</RCC>