The Theme is ALONE
It might be a bug of the ArmatureHelper class.
@kaelthas?
Keep with the updates if you find time
@gbluntzer: Looks nice so far…
I will start in about 1-2h…even though I still haven’t that much a clue what to do! I would like to create an adventure,but that might be the first step to not finish ;D
Well ther are several of these you are alone in one room with various stuff, that you need to use to escape games in flash latlely, maybee that would be a idea. (Main problem is probably to get a acceptable background)
I think the back story will be:
You are on a maintenance crew of one on inactive space station LD48.22
You have been left alone to set up the station for self destruct sequence.
And of course something goes wrong
Starting to panic
Anyone know how on Nifty to get the Text to Format to the left? I am trying to simulate a Computer Terminal but it put the text in the middle
http://i.imgur.com/mVvyW.png
[xml]<screen id=“mainframe”
controller=“com.scriptblocks.alone.controller.MainframeScreenController”>
<layer id=“layer” backgroundColor="#0000" childLayout=“overlay” >
<panel id=“panel” height=“1%” width=“100%” align=“left”
valign=“top” backgroundColor="#000a" childLayout=“horizontal”
visibleToMouse=“false”>
<control id=“label1” name=“label” text=“DEFAULTc” width=“100%” align=“right” valign=“top”
height=“50%” />
</panel>
</layer>
</screen> [/xml]]
in your control tag for the label, put align=“left” and maybe remove width=“100%”
I use this snippet in my game before (its inside a scrollpanel tho):
[java]
<screen id=“creditsMenu” controller = “com.placeholder.psj.ui.MainMenu”>
<layer id=“layer2” childLayout=“center”>
<control id=“scrollbarPanelId” name=“scrollPanel” align = “center” width=“100%” height=“100%”>
<panel id=“myScrollStuff” childLayout = “vertical” align=“left” width=“80%” backgroundColor="#FFFFFF00">
<control id=“creditsText” name=“label” align=“left” text=" Walking down the lane"/>
</panel>
</control>
</layer>
</screen>
[/java]
It doesn’t work for “horizontal” layout. Change the panel’s layout to vertical, down the label’s width, and change the label’s align to left.
Ok I submitted it for the contest
http://www.ludumdare.com/compo/ludum-dare-22/?action=preview&uid=5426
If any one wants to try it out please let me know how it goes.
I tested it on Ubuntu Only but it should work on windows and mac.
48 hours is insane

Postmortem
Good:
The blender importer is freaking awesome. I was able to model and get the models into the game with ease once I figured out the gotcha
Enjoyed using LMMS for music even though I did not create much its still fun.
I used the Blender UV exporter for all of my textures so i save some time doing that. Also it gave it a nice lonely feeling.
Bad:
I still dont know how to use Nifty. lots of things I wanted to do I could not figure out. Maybe someone could make a video tutorial on some nifty basics.
I didnt get a chance to do any animation.
I had in mine a whole second level for the game but ran out of time.
Thanks for all the encouragement!
-Greg
well done man, I image it would have been very hectic.
Your postmortem sounds almost exactly like mine for the beta contest
the music really fits, sounds very empty and spacey. Overall it has a very Halo 1 feel about it (repetitive corridors :P)
123456
Kitten
What would have done if you had an extra 6 hours ? what about an extra day ?
I like that there are no instructions, but you can still figure out what needs doing… this is a part of game design I’m still trying to figure out. Really nice work, 48 hours is such a short amount of time, I think you’ve really managed to capture the atmosphere of 'alone
best of luck with the judging!
James
… it says you still have 16 hours ?? keep going!!
oh and i tested it on Win, worked fine for me.
yeh worked very nice, good job! thanks for the postmortem
@thetoucher and @wezrule thanks for testing it out.
They have a joke going on about Kitten on ludum dare. Someone suggested it as a theme and it got so down voted that it became a joke.
Everyone is supposed to put a Kitten as a easter egg in the game. The 123456 is from spaceballs
I am going to rest up now. Done with ludum dare but will add the second level for fun soon.
-Greg
Completely random
Anyone know why only one model will have animation I call this code twice but only one will animate
[java] private void addHuman(AssetManager assetManager, Node rootNode,
Node cameraNode, BulletAppState bulletAppState, Vector3f location,
float mass, int degrees) {
// Inventory
Spatial spatial = assetManager.loadModel("base_male.blend");
spatial.setLocalScale(5f);
spatial.setLocalTranslation(location);
spatial.rotate(0.0f, degrees*FastMath.DEG_TO_RAD, 0.0f);
spatial.setMaterial(base_male_mat);
//
RigidBodyControl rigidBodyControl = new RigidBodyControl(mass);
spatial.addControl(rigidBodyControl);
rootNode.attachChild(spatial);
Spatial model = this.findNode(rootNode, "Human");
AnimControl control = model.getControl(AnimControl.class);
AnimChannel channel = control.createChannel();
Collection<String> names = control.getAnimationNames();
for(String name : names){
System.out.println("Animation Name" +name );
}
channel.setAnim("ArmatureAction.001");
bulletAppState.getPhysicsSpace().add(rigidBodyControl);
}[/java]
http://www.youtube.com/watch?v=-gw8la4IlRE
[java]this.findNode(rootNode, "Human");[/java]
is perhaps finding the same model both times ?
@thetoucher :edit
that was it thanks
I added
[java]model.setName(newModelName);[/java]
after I grab the model and now both animate.
Did you ever get blender to give you more then one animation? I cant see to get a second animation to show up in my blend file
I got to the dope sheet and add New and I can see it on the Drop down list. But not sure how to make it save to the blend file
I want a “jump” aninmation and a “walk” animation
Thanks,
Greg
@thetoucher nevermind I figured it out. Will post soon.
I haven’t attempted multiple animations from the blender importer yet.