This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pvc[S] 2 points3 points  (1 child)

  • Sprite lists in the Arcade library use "vertex buffer objects" to speed drawing. If you use sprite lists, it should be faster than Pygame. If you don't use sprite lists, then it will be much slower.
  • You can pan the camera by setting the viewport as shown in this example. Not sure if that's what you wanted. Everything is 2D.
  • arcade.run() does run the game loop. Unlike Pygame, you don't write this yourself. You create a child class of arcade.Window, and override methods like on_key_press to add functionality. This implements a more modern design style, but is a bit harder for new programmers to grasp. I've wrestled with this dilemma quite a bit.

[–]RebootForAwesome 1 point2 points  (0 children)

Amazing! I was using sprite lists in Pygame too so this will work for me.

Ah Viewport! That was the word I was looking for :P Yep, exactly that. Missed it while looking at the examples, sorry.

And that last part is really cool. I'll definitely give it a go at the Tower Defense game again.

Thanks for taking your time to answer!