Jump to content

Josh

Staff
  • Posts

    25,013
  • Joined

  • Last visited

Everything posted by Josh

  1. Without a demo, I can only guess what you might be doing.
  2. The Lua command dofile() does not use the abstract system. LE commands work as they normally do. Please post a demo, otherwise we are just speculating.
  3. I don't know how that would be done.
  4. Looks like I need to turn on the swear filters.
  5. Whatever behavior you are enabling, do it in the SetTarget() function. Then it will just be performed when the target is set. When the Spawn() function is called, the targets haven't even been set yet.
  6. Is that code meant for realtime use, or is it for precalculating navigation waypoints? It's very interesting.
  7. I think lower-case vec3() feels nicer, but what is the rule that makes it so? All other commands are capitalized. Should math constructors be lower-case?
  8. Are Pascal and Delphi the same thing?
  9. No, it should all be automatic, and if it isn't it means something is wrong.
  10. Yeah, there are a couple simple ones in the main folder. Just open example01.lua in the script editor and press F5 to run it. http://leadwerks.com/wiki/index.php?title=Script#Script_Editor
  11. Inquiring minds want to know.
  12. Use looping particles and let them fill up before you start rendering.
  13. I'm looking more for stuff that's written as a standalone app, not necessarily something that has to run in the editor. The Lua script editor lets you write and run programs. The scene editor is fun, but I think serious programming needs to be done in the standalone script editor. I picture the demo having an html page that shows you the different games you can play, and for each one, a link to play it and a link to open the script and look at it.
  14. Print("Hello!") will do it.
  15. http://www.lua.org It's probably easiest just to look at my examples.
  16. I want to include a few simple "mini-game" examples in the public demo. Andy's ActionSnake game is a great example. Some other ideas could be a monster truck rally or a fantasy RPG example with a character running around in 3/4 "Zelda" perspective. It doesn't have to be a complete game, but having some kind of playable goal makes it much more engaging. Here are the parameters: -Coded in uncompiled Lua script. -Performance is more important than graphics. You don't get any points for having twice as many polygons on screen. Most people don't even understand the idea that more polygons = slower performance. -Playability is the most important factor. I can include some good-looking scenes, but what people really want is to see an example in script and tinker around with it. -I recommend just using pre-made media packs from Dexsoft. If you are interested in having your example included in the public demo, keep us informed on your progress. I would like to post the demo at the end of December. You can include any information on your game to get a little exposure from this. Thanks. Ideas:
  17. Each model class uses its own Lua state. This allows one script to be edited at a time, but interstate communication is a little more difficult. You can use SetGlobalNumber() to communicate in this situation.
  18. Is KEY_ESCAPE defined anywhere?
  19. Josh

    tree[d]

    The triangle counts in that program seem astronomical.
  20. That's normal. It takes a certain amount of force to get the bodies to adhere to the constraint, and joints always have some ability to stretch, especially when you have lots of them linked together like this.
  21. Josh

    tree[d]

    How many triangles are those trees?
  22. Perhaps either of the converters failed then?
  23. I recommend BlitzMax but people generally don't like using BlitzMax because they have never heard of it.
  24. Well, it's supposed to convert the .dae to .fbx and then .gmf silently, but it's not a feature that gets used very often, so it wouldn't surprise me if it had a problem. The .dae and .fbx converters are available in the "Tools" folder.
  25. New Steam hardware survey results are available: http://store.steampowered.com/hwsurvey As of October 2009, 80.79% machines surveyed can run Leadwerks Engine.
×
×
  • Create New...