Jump to content

Canardia

Developers
  • Posts

    4,127
  • Joined

  • Last visited

Posts posted by Canardia

  1. MouseZ() is used to detect rolling of the mouse wheel. Use only relative values though, because the absolute value is "stuck" whereever you started and left it. So you kinda need to do like this:

     

    (before main loop):

    mouse_z=MouseZ();

     

    (in main loop):

    mouse_old_z=mouse_z;

    mouse_z=MouseZ();

    mouse_z_diff=mouse_z-mouse_old_z;

     

    and then use mouse_z_diff only in your game.

    • Upvote 1
  2. Keyboards have usually a Page Up and Page Down key, but not Scroll Up and Scroll Down keys:

    KEY_PAGEUP

    KEY_PAGEDOWN

     

    To pause/resume a game, you should make a variable which is used to skip the major part of the main loop. Usually in pause mode the game still renders something, like a blurred image (at least in Crysis).

  3. Settings up the Android compiling tools is pretty simple. I've made instructions how to set them up for another engine, and I think it should work quite similar for LE3. It's really just about following the instructions and not take any shortcuts. Install few SDKs or Zip files into certain locations, set a few system env vars like like JAVA_HOME, ANT_HOME to point to the their directories, and that's it. With a single command like ant you can just compile your C++ code into a Android .apk file, no need for Eclipse ****.

  4. No, it's all in one, and it makes sense also, because there are no other good game engines anyway, so why not use the best. Of course you could buy LE3 only for 3DWS modelling, and it would be still ten times cheaper than some 3D modellers which don't have decent CSG abilities.

×
×
  • Create New...