Jump to content
ummerland

BlitzMax Setwater

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?

Share this post


Link to post

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 :)

Share this post


Link to post

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?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...