Bmax newbie getting Xors 445 to run
3 posts • Page 1 of 1
Bmax newbie getting Xors 445 to run
I'm a BlitzMax newbie but I'm toying with the idea of going to BMax + Xors for the speed, etc.
So after an entire evening of fafffing about, I've got it going but I think there's a couple of problems with xors3d.bmx
On compiling Xors3d.bmx, it failed at;
xRenderWorld(tween# = 1.0f, renderShadows% = False) - didn't seem to like '1.0f' as a value
and
Function xGetPixel%(buff% = -1)
Return xGetPixel_%(buff%) - had a look at the xors.dll and changing this to xGetPixels_%(buff%) seemed to do the trick
End Function
BTW, one thing I really dislike about new programming languages is how after installing the language, it's considered de-rigeur to then trawl through forums in order to discover vital info on what extra is needed to make the bloody thing work. As though you're just supposed to know this stuff. Rather than on the install page. Where you'd expect it. I'm mainly talking about BlitzMax here (and not Xors) and the rigmarole I had to go through just to get to the point where I could compile the xors module. Not userfriendly.
So after an entire evening of fafffing about, I've got it going but I think there's a couple of problems with xors3d.bmx
On compiling Xors3d.bmx, it failed at;
xRenderWorld(tween# = 1.0f, renderShadows% = False) - didn't seem to like '1.0f' as a value
and
Function xGetPixel%(buff% = -1)
Return xGetPixel_%(buff%) - had a look at the xors.dll and changing this to xGetPixels_%(buff%) seemed to do the trick
End Function
BTW, one thing I really dislike about new programming languages is how after installing the language, it's considered de-rigeur to then trawl through forums in order to discover vital info on what extra is needed to make the bloody thing work. As though you're just supposed to know this stuff. Rather than on the install page. Where you'd expect it. I'm mainly talking about BlitzMax here (and not Xors) and the rigmarole I had to go through just to get to the point where I could compile the xors module. Not userfriendly.

'I only have one rule. Everyone codes, no-one quits. You don't finish your game, I'll shoot you myself.' http://www.tankuniversal.com
-

Madjack - Posts: 155
- Joined: Sat May 02, 2009 3:52 pm
Re: Bmax newbie getting Xors 445 to run
For the speed go to C++ + Xors
Thanks for reporting about these typos. '1.0f' is a result of chronic C++ coding
Thanks for reporting about these typos. '1.0f' is a result of chronic C++ coding

-

.Squid - Posts: 275
- Joined: Fri Feb 27, 2009 1:31 pm
Re: Bmax newbie getting Xors 445 to run
For the speed go to C++ + Xors
heh - don't think I'd get another game out the door if I had to learn a new language at this point.
Also, thanks for the Xors3d.bmx and shadow/fog issue fixes - I'll test them out tonight.
To be clear, my rant above wasn't really aimed at Xors - more at the time it took in getting BMax up to speed and how many fishhooks there were.
'I only have one rule. Everyone codes, no-one quits. You don't finish your game, I'll shoot you myself.' http://www.tankuniversal.com
-

Madjack - Posts: 155
- Joined: Sat May 02, 2009 3:52 pm
3 posts • Page 1 of 1
Return to Bugtraq [DEPRECATED] Use the menu above to enter the bug tracker
Who is online
Users browsing this forum: No registered users and 1 guest

