The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BiFrost Multicolour engine.
#46
slenkar Wrote:the program shouldnt end though should it?
No matter what bytes are beyond those first 24
I tested it and it doesn't end for me! It only changes the (random) tiles whenever I press any key.

slenkar Wrote:Im trying to poke some values into a static sprite,

pokepos=48500+(BIFROSTSTATIC*64)

was my attempt to work out what address to poke to for the first static sprite
This is incorrect.

In BIFROST*, the same tiles can be rendered either as static or animated.

If you want to show tile 0 as animated, use this:
Code:
BIFROSTsetTile(x, y, 0)
and if you want to show the same tile 0 as static, use this:
Code:
BIFROSTsetTile(x, y, BIFROSTSTATIC + 0)
In both cases, the address for tile 0 will be the same:
Code:
pokepos=48500+(0*64)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)