BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Xgraph issues
Hi everybodyyyyy.
I've been messing around a bit more with mode 8, and trying my hand at xgraphs.
I've tried the code below, which follows the example given in the help files exactly - however, when looking at the process from most angles, the
graphic seems to be set to 0.
Theres a small range of angles from which the guard does display SOME of the graphics from the perspective table, but not all of them, and its only a
very narrow range.
Is this a bug, or am I not using it correctly? If it's a bug I'm happy to write my own xgraph function but if I'm just being thick Id rather know
Code: |
Process guard(setflag);
Private
perspective_table[]=80,81,82,83,84,85,86;
Begin
ctype=c_m8;
go_to_flag(setflag);
xgraph=OFFSET perspective_table;
Loop;
Frame;
End
End
|
Thankies!!
- BC
~*~ Princess of Pies and Pastries ~*~
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
So I guess nobody knows anything about this huh? I did look at the tutorial 7 example and it looked like it was coded in exactly the same way, so I'm
going to assume this is a bug with Mode 8. Could someone confirm? Id feel pretty silly writing a working xgraph function if I dont need to haha :P
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
Hello BreadCaster,
Looking at the source code of mode8, it looks like Xgraph support is implemented, so if it's not working it's probably a bug, if you can mount a small
example for mode8 using that, I could check what's actually going on.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Hi Cictec
This probably wasnt the best solution for the problem, but because itd be more work to mount an example than fix it myself - I wrote a custom xgraph
function that returns a different variable (used to set the fathers graph) based on the fathers/calling processes angle instead :p
Will post it up as soon as Im back on the windows machine.
- BC
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
Hi BreadCaster,
Ok, no problem, take all the time you need.
|
|