Jump to content

Using LE3 documentation examples


Chris Vossen
 Share

Recommended Posts

If you're ever wondering what a function does, every function should have a complete example program in both C++ and Lua.

 

This means you can copy and paste an entire Lua example into App.Lua (Make sure you save a copy of the original somewhere, or you can always delete it and click update on the installer) and click run!

 

Wondering what GoToPoint does? Throw the Lua example in as App.Lua and viola.

 

post-5181-0-50150900-1362185771_thumb.png

  • Upvote 2
Link to comment
Share on other sites

I don't want to manually download (wget) the files, though an option. I generally have no interest in reading documentation on line, rather I prefer on my local machine, preferably as a PDF. Depending on the material it will be printed.

Link to comment
Share on other sites

At this point we're going to keep it online. I'd rather put all our effort into one set of docs, instead of splitting it between different versions. We do have a feed that pulls all the content from the database, and in the future we might turn that into a PDF, but it's not worth the effort right now.

 

I also like the online docs because we can answer questions immediately in the comments below each page.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I find Goblin AI specially complicated, lot of programming.

It would need hight level functions like :

Chase player

Turn to player

 

I find that example programming in C# very simple compared to read all Goblin :

http://www.burgzerga...ial-enemy-ai-22

 

I htink it's because Goblin AI deals with animations and states at same time.

Thre should be perhaps separate Lua files like that instead of one big file :

- GoblinStatesManager (it would manage all states here by a simple call)

- GoblinAnimations (you call a function like "run" and the program know if it must wait or blend or play the animation)

- GoblinAI (chase , attack, idle that would call GoblinAnimations and GoblinStatesManager) 4

 

I'll follow reference programming where there is example and assemble them and do in my way instead.

 

 

If we can have some Flowgraphs components doing that, some generic AI ennemy like that , yes Flowgraphs will have a great interest.

Something like that in terms of Flowgraphs components :

 

Components like :

simpleAI : Detect, chase

Movement : idle, walk patrol , run, attack1 , attack 2, fall down

 

I will try to make something like that.

Stop toying and make games

Link to comment
Share on other sites

I've got to ask...where do you go that you do not have an internet connection?

 

I'll respond for myself.

 

* my parents do not have internet (older folks). I do visit.

* in a month my current contract ends meaning that the only place for internet, unless I find a coffee shop, is my apartment. I plan to effectively go the "independent" route consequently for now there will not be any work connection through the day.

* I don't have a cell phone (that is, I choose to not have a cell phone)

 

I have come to like the freedom of not always being connected. Our realities are not fully overlapping.

Link to comment
Share on other sites

I agree a lot.

Even during travel you won't have internet connexion (not always).

 

Speaking of language reference :

A simple Class : Pivot

The pivot class is an invisible entity with no special characteristics.

 

 

Why does it has such name that usually is used for rotations stuff ??

Really this can misunderstood you when reading the code, i would never thaught Pivot was en empty class and thaught more about rotation stuff. Why not calling it simpleClass or emptyCLass instead ?

Stop toying and make games

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...