Jump to content

smashthewindow

Members
  • Posts

    136
  • Joined

  • Last visited

Posts posted by smashthewindow

  1. Sorry to be asking if this question has been already asked but will there be GUI support?

    I've been waiting for LE3 for a long time for mobile deployment (have been working on small side projects until now), but working on those games made me realize what a pain it is to write your own GUI.

  2. Like I have said always, use a pivot to mark the gravity center, and don't use Newton's own gravity at all, it just doesn't work (especially with airplanes and composed multi-part bodies you will see that it just goes nuts). When you have the pivot gravity positioned, make a loop which adds forces to all objects towards the gravity center. That way you can also change the direction of gravity in any direction you want by just moving the gravity pivot.

     

    I have no problem with the Newton's gravity, I'm not making an flight simulation game.

    I'm asking whether the controller entity is rotatable.

  3. Watching this video just gave me a great idea I want to prototype:

     

    I was thinking if it was possible to change the orientation of the character entity in Leadwerks.

    Another solution is to just change the orientation of everything else other than the player, but I want to consider all my options before doing something stupid.

     

    Any help on this?

  4. Hi,

     

    This isn't directly related to Leadwerks but I guess someone can help me out here.

    I'm looking for a function that returns files under a directory on Windows. (It doesn't have to be cross-platform.)

     

    So for example, an ideal example would be something like:

     

    vector<string> get_files_in_dir( string directory );

     

    I'm fine with Win32 API functions but I'm trying to avoid using boost.

    Can anyone help me out here?

  5. Take the first crash at 0:25, at 0:28 a fairly large piece just crumbles away. What are the cars made out of? Cake? Aluminium might buckle, it might bend, I suspect it would buckle and bend, and then stick out of side such that it would chop off anyone's knees if it then drove past someone closely enough, but I doubt it would just come clean away like it did there. Also I was kept wondering "Where's the engine? You know, the bonnet (hood) just looks like it's an empty hollow box in that smash"

     

    I'm pretty sure the configuration are exaggerated to emphasize the engine's features.

  6. I personally use paint dot net for my artwork. It has all the plugins built in so I can just save directly to dds. (or alpha)

     

    Maybe for texture conversion, but you can't be serious about creating advanced textures with it...

    I've seen it and it's more like a Microsoft Paint with plugins.

  7. If the platform is moving with physics and has a velocity, that velocity should be transferred to the character.

     

    Hmm, that's really weird.

    Did you test it? I've ran several tests after the video but all of them seemed to show an error.

  8. I made a moving platform before. I believe what I did was use a body just for calling MoveEntity() on. Then I made a joint between the this body and the model that is the elevator. MoveEntity() will kill physics but because it's on the body it didn't matter because the player stands on the model, but because there is a joint the model will move (with physics) with the body.

     

    The nice thing about this is you can be very precise in movement because you are avoiding forces and can use functions like PositionEntity() or MoveEntity().

     

    Wouldn't the joint limit player movement on the elevator?

     

    EDIT: I misread your post. Understood. Thanks biggrin.png

     

    EDIT2: But the thing with that is that you wouldn't be able to move while on the elevator right?

     

    Nevermind, you're a genius.

     

    EDIT3: Will the player still be intact even when the elevator moves sideways like I'm doing in the video?

  9. Check out the link I posted above. (Sorry, I think forum upgraded to only allow videos in the "Videos" section.)

    Right now, I'm using the code below to move the floor(Which is nothing but a small box made in Blender):

     

    [/size]
    [size=4]LE::TVec3 vel = LE::CalcBodyVelocity( platform, destination ) / timeInterval;[/size]
    [size=4]LE::SetBodyVelocity( moveTarget, vel );[/size]
    [size=4]LE::TVec3 omega = LE::CalcBodyOmega( platform, LE::Vec3(0) ) * 100.0f;[/size]
    [size=4]LE::SetBodyOmega( platform, omega );[/size][size=4]

     

    As you see in the video, the character just slides off the moving floor (even on ridiculous high frictions.).

     

    Can I get some advice on how someone would create an elevator?

     

    I've been able to get past this for Round & Round by just making the elevator part a cutscene when the ball gets on it, but I won't be able to do the same for a game I'm prototyping.

     

    Thanks for reading.

  10. Also, correct me if I'm wrong but I'm sure the GMF file format is not human readable due to the compression?

     

    Yeah, it was designed like that so it would load fast, but I would have much preferred COLLADA format as most of us just loads all models we need at the beginning of the level anyways.

×
×
  • Create New...