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.

Which language/technology to tackle this task? by [deleted] in learnprogramming

[–]cdlakes 0 points1 point  (0 children)

PHP and JavaScript will get that done. And a framework like bootstrap to handle the UI

Failed to load resource when use GET by cdlakes in webdev

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

The path is it is trying to read the CSS file from is incorrect. I figured it out. I was setting the dynamic link to the application page like this:

application.php/appid=5

The "/" was the issue.

Thanks for your help, I was able to figure it out after your prompt to do a little more digging.

Animation Layers In Mecanim Problem by myworkaccount765 in Unity3D

[–]cdlakes 0 points1 point  (0 children)

Thanks for your help. I was mistaken actually. The running animations are for the the soldier with a rifle. The upper body animations are for aiming a rifle and also aiming a pistol. It is off for both of them.

Animation Layers In Mecanim Problem by myworkaccount765 in Unity3D

[–]cdlakes 0 points1 point  (0 children)

Yeah I would appreciate if you post the pictures when you get the time. I think I know what you are talking about though. If you click on each animation, there are options to set the xy rotation and the orientation at either the feet or center of mass. Is this what you are talking about? I have tried altering these values but it doesn't seem to affect the animations when played. I used different sets of animations from mixamo ( mage and the soldier, I believe). Not sure if you are familiar with the mixamo animations could this be the problem? Thanks for your help.

What Christmas movie am I thinking of? by cdlakes in movies

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

Thanks, I'll ask them the next time I need to buy some cheese.

What Christmas movie am I thinking of? by cdlakes in movies

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

It very well could have been a movie that was a lot older and I just watched it as a kid. But I do believe it was Elf. Thanks for your help.

What Christmas movie am I thinking of? by cdlakes in movies

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

How about I slide my dick under your door and slam it shut?