Jump to content

BlitzMax Setwater


ummerland
 Share

Recommended Posts

Hi

 

I have downloaded the Demo Version of the Leadwerks Engine an wanted to test it with blitzmax.

 

So i also wanted to test out the water:

 

setwater(1)

 

but the compiler says:

 

Compile Error: Identifier 'setwater' not found

Build Error: failed to compile

 

But most other fuctions are working, such as lightning, physics,...

 

Can you tell me please how it works with blitzmax?

Link to comment
Share on other sites

BlitzMax is a bit different than any other language, because it doesn't use the standard engine.dll. So you have to start your program like this:

Framework Leadwerks.Engine
Import "d:/le/Framework/Framework.bmx"

Or whereever you installed Leadwerks Engine, I put it in D:LE because C: is for system only :)

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Thank you for your Answers..

 

I have tried it now to add the Import Command:

 

Now the COmpiler says:

 

Compile Error: Identifier 'TFramework' not found

Build Error: failed to compile C:/Leadwerks Engine SDK/BMX/Framework/commands.bmx

 

The Error occurs in Line:

 

Function SetWater(mode:Int)

TFramework.Current.renderer.SetWater(mode)

EndFunction

 

...in the commands.bmx

 

I have not found any documntations, books or more advanced tutorials for leadwerks with blitzmax.

Do you some Documents?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...