Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fourspriter: Sprite Engine from the Mojon Twins
#7
britlion Wrote:I think your example is a little confusing, apenao.

It has lines like "gosub updatesprites" and I can't see where that code is...


wouldn't that be a SUB as part of the sprite library? So when you want to update the screen, do fspriteUpdate()

That GOSUBs do jump to the sprite library, not to the actual example code, but as the library has to be included when compiling, it's the same as if you do it as a subroutine. But if you think it's confusing or find a way to do something better, please do it so when Boriel finally add this to the library it will be optimized Smile

To Boriel: Please add the library if you want, but the authoring must go to the Mojon Twins (or Nathan in this particular case, because he did the code I believe). All I did was add a couple of labels and subroutines.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)