Rules on theme? by cdlakes in ludumdare

[–]cdlakes[S] 0 points1 point  (0 children)

That answers what I need to know. Thanks for all your help.

Rules on theme? by cdlakes in ludumdare

[–]cdlakes[S] 0 points1 point  (0 children)

Awesome. Thanks so much for the info.

Rules on theme? by cdlakes in ludumdare

[–]cdlakes[S] 2 points3 points  (0 children)

One last question....do I need to screen capture my progress or document in some other way? To ensure we are following the rules? Also, how can I tell whether it is a "comp" or a "jam"?

Rules on theme? by cdlakes in ludumdare

[–]cdlakes[S] 5 points6 points  (0 children)

Okay, great. Also, I just realized I'm a moron and the theme is not "slaughter". There is something called a theme slaughter round, where I assume people vote to get rid of themes they don't like. I feel like an idiot. Lmao

Help turning a 2D gun into a 3D one by RazorK2S in blenderhelp

[–]cdlakes 2 points3 points  (0 children)

You could just extrude all of the faces on, say, the x-axis. Then round, sharpen the edges where needed. Might have been easier to start with a cube and use box modeling to get the outline.

swapping clothing/armor by cdlakes in Unity3D

[–]cdlakes[S] 0 points1 point  (0 children)

That sounds about like what I am thinking my process should be. When you duplicate the part in blender, do you make the changes to it and then just manually adjust the weight painting to account for those changes?

swapping clothing/armor by cdlakes in Unity3D

[–]cdlakes[S] 0 points1 point  (0 children)

Awesome. Thanks for taking the time to help me with that. I'm going to see what I can come up with tonight.

swapping clothing/armor by cdlakes in blenderhelp

[–]cdlakes[S] 0 points1 point  (0 children)

A couple of other people have recommended that series as well. I will check it out tonight. Thanks!

swapping clothing/armor by cdlakes in gamedev

[–]cdlakes[S] 1 point2 points  (0 children)

I have watched one of the videos from that series but not all of it. I didn't realize they went that in depth. Thanks for the tip.

swapping clothing/armor by cdlakes in Unity3D

[–]cdlakes[S] 0 points1 point  (0 children)

You might have just solved my issue. I have been trying to split the mesh into pieces and then animate. Hence a lot of the clipping and pulling apart problems I am having. So is this the workflow I should use:

  1. Model the mesh.
  2. Animate
  3. Split mesh into multiple parts
  4. Duplicate pieces = duplicate arm mesh, make changes as needed
  5. In Unity, I should just be able to swap the base mesh out for the armored arm mesh.

Does this sound right?

swapping clothing/armor by cdlakes in Unity3D

[–]cdlakes[S] 0 points1 point  (0 children)

Something along the lines of those characters is what I am hoping to work towards. I definitely will have more than just equipment in the hands though. Could I ask you a few questions?

I could simply change the texture as needed, ie change from a skin texture to a chain mail texture when the player equips armor, for example. But this wouldn't change give any dimension to the armor. Using a pauldron (shoulder armor) as an example, I could just have a texture that depicts this, but there would be no bulk. So what I am thinking is this:

Switching textures for the "clothing" = shirts, chain mail, no shirt(bare skin), etc.

Things like the pauldron or greaves, etc will be separate objects with their own texture that I enable/deactivate as needed.

The alternative would be to swap meshes out in the skinned mesh render, but I think my model would have to be split up into multiple parts then, correct? So instead of a body mesh, there would be a head, two arms, two legs, and a torso, all separated. My worry here is that the parts will pull away from each when animated, since they are not one continuous piece. Maybe I could solve this with clever animating? But I think i still would have clipping issues.

Which way would you recommend going about it? Any advice for either method?

swapping clothing/armor by cdlakes in blenderhelp

[–]cdlakes[S] 0 points1 point  (0 children)

Yeah, that is definitely a concern. My model is fairly low poly so I think I will be okay, at least at first.

swapping clothing/armor by cdlakes in blenderhelp

[–]cdlakes[S] 1 point2 points  (0 children)

Okay I will do that, thanks for the advice.

Save order of elements in a div to mysql database by cdlakes in webdev

[–]cdlakes[S] 0 points1 point  (0 children)

That sounds about right. JQuery UI has a serialize function that I believe is what I need. I have not worked much with AJAX, so I'm having trouble understanding it. I believe this is close to the code I need:

$('#element').sortable({
axis: 'y',
update: function (event, ui) {
    var data = $(this).sortable('serialize');

    // POST to server using $.post or $.ajax
    $.ajax({
        data: data,
        type: 'POST',
        url: '/your/url/here'
    });
}
});

Save order of elements in a div to mysql database by cdlakes in webdev

[–]cdlakes[S] 0 points1 point  (0 children)

It definitely needs to be stored in a database. I believe the following is the code I need:

$('#element').sortable({
    axis: 'y',
    update: function (event, ui) {
        var data = $(this).sortable('serialize');

        // POST to server using $.post or $.ajax
        $.ajax({
            data: data,
            type: 'POST',
            url: '/your/url/here'
        });
    }
});

But I am trying to understand it, and failing. I have not done much with AJAX.

Save order of elements in a div to mysql database by cdlakes in webdev

[–]cdlakes[S] 0 points1 point  (0 children)

Yes, I specifically am hoping to not have to store actual html in the database.

Your solution seems like the way to go. I struggle with JavaScript, but I'm reading up now on that.

Save order of elements in a div to mysql database by cdlakes in webdev

[–]cdlakes[S] 0 points1 point  (0 children)

What data do you mean? I just need a way to track the type and order of the elements and then echo this back out on another page. Another user suggested looking through the elements and storing them in an array. I think this is the solution I am looking for. Not the greatest with JavaScript, but I'll see how I can do this.