Construo Screenshot A fun construction toy

Construo is a simple, but fun construction toy. You can construct simple 2D wireframe models and let them react on gravity forces, see them break, smash or explode.

License: free
Requirements: Xlib or Glut

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnononoyesyes
Suggest an update

Comments

I like "toys" like this, and with more types of parts, it could be really neat. As it is, I spent too much time this evening just playing around with this thing, putting these together and seeing how the physics worked out.

Things I'd like to see: more than just 'lines' for building with, better loading/saving, editing and deleting of things you've already placed, and maybe a way to "rewind." Anyway, this is a cute and rather promising project. I give it 4 stars simply because it gives me something to do when I'm bored. :)
This is a VERY fun toy! I'd love to be able to delete and move nodes, too. I was able to build two halves of an arch, watch them almost topple, and then pause and insert a 'keystone' shape in the middle, and it worked, just like the Romans did it! ;)
Re: Wow! posted by anonymous on Jan 14 2003 12:08 AM
you can delete a node by right-cliicking in insert mode & you can move it around in select mode (select the one (or severals) you want to move then drag it (them))

Great piece of software !!!


Amazing! One of the most intriguing games I've ever played. And who says there's no point in it?

Try building structures which are _bound_ to collapse under normal load, then use oscillating pieces - like letting a "rope" fall - and try to bring the whole thing down. What I like most of all is the exaggeration of the deformations and the stress color-coding. 15 minutes of playing provides a fun understanding of Mechanics.

A nice feature (which might be a bug though): hit c to clear the screen, then place a knot somewhere, then hit c again. The place where you placed the knot will be fixed in place and thus placing another knot will result in a node that's hanging from that point.

The idea of savegames in XML format gets a thumbs-up and the slow-mo feature (d) let's you act the right moment (try restricting a swinging node while it's painted red) and test the strength of the structure.

Also, try connecting knots more than once, thus raising the rigidity.

Definitely five stars!
http://n.ethz.ch/student/tisaak
Wow, the new 0.1.0 version is dog slow compared to the earlier versions.
This toy has big potential, it's very fun, however, version 0.1.0 is buggy (I already submitted bug raport on irc). When bugs will be fixed and OpenGL support will be done - this could be best puzzle/simulation around.
See also - xspringies, and, of course pontifex II.
It would be cool to create a screensaver from it (for xscreensaver and kde), so that we choose some files and he start to show them .
..there are just too many bugs. It needs much testing by developer(s). After the 5th major construction that i lost i got definitely pissed. If you make it stable i will surely rise up my rating!
Re: i like the idea but... posted by grumbel on Nov 26 2002 5:08 PM
You can recover almost all failures with undo/redo. There is a single bug in 0.1.0 which will corrupt constructions (already fixed in CVS[1]), but even that will 'only' trash the springs, the particle positions should stay intact. If you can find anything still wrong in CVS, I could fix it before the next release.

[1] http://savannah.nongnu.org/cvs/?group=construo

And the code is excellent too. I've had this running for days, and every now and then when I get an idea I try it out immediately :-).

And yes, more features, pretty please :-). Capability to connect springs into the middle of another spring. Objects that cannot be penetrated with wire. Capability to adjust individual parameters of springs. Zoom. Save/load (I suspect this is in already, I didn't look that much). A macro language (yes, lisp is fine, there seems to be some code for it). Concept of object (grouping of lines / other objects). Capability to store and load objects. Colors, texture mapping for new object types. Sounds (I want to hear the constructions crashing..). Backdrop graphics. Active elements.

Put those to your TODO and you'll be set for years :-).

I noticed that the performance was nice with G400, but with Matrox Millenium it was abysmal. Also on an Indigo2 (SGI) Xsgi just took 90% cpu, the game was -really- slow (I never managed to draw a line). Couldn't figure it out..

And the "Constro House of Horrors" you can download from the homepage is...well... try it and you will not regret. I really laughed for minutes. :D

Add new features, please, please, please! :)))

(lale, not logged in)

set velocity (v) don't works in glut mode
GlutDisplay: Unhandled keypress: 'v'[118] x/y: 387, 303
Re: bug (solution) posted by w00t on Jan 12 2003 5:11 PM
ahm found solution...
add this to the switch(key) in glut_display.cxx:
case 'v':
event.button.id = BUTTON_SETVELOCITY;
break;
Hi, not many of the House of Horror constructions run as they did in 0.1.0... are u looking at that one, or should I try to make the constructions functional again myself (will probably take some time though)? Anyway, I'm very impressed with the new version. I really hadn't expected this many new features... Well done! :)

-- Regards - Mark Joakim Bekker Michelsen

Re: Houses of Horror broken posted by grumbel on Jan 13 2003 9:24 AM
House of Horror and the other constructions should be easily fixable once I figured out what exactly I changed between 0.1.0 and 0.2.0, basically I only have to find out the correct parameters for max_stretch, stiffness and Co. which wheren't present in 0.1.0, but instead hardcoded in some formular. Should all be fixed in 0.2.1 along with the missing keybindings in the glut target.
The following site contains a java program that performs topological optimation based on constrains entered by the user. It's good fun:

http://www.topopt.dtu.dk/program.html

I can't save my work. It SegFaults on accessing the user directory. I had to create a link in my home dir for examples, which works, but user still dies.

Any quick fixes? I REALLY want to be able to save some of the stuff I'm making.

Re: Love it, but... posted by grumbel on Jan 19 2003 2:12 PM
Construo currently works best and probally only works, if started directly from the directory it was compiled in (aka its source directory), launching it from $PATH will most likly not work correctly if at all. This is because Construo expects to find 'examples/' in the current directory. Fix for this and other cleanup of all this will come with Construo 0.2.1.

The whole load/save gui stuff was coded the day of its release so it was never really tested much so it might have some more bugs and issues in it, more bug reports are welcome.

Quicksave/load with (1-9 and Shift 1-9) should still work, since it doesn't try to access the examples directory.
Stick Death and simple gravity physics will never be the same for me again! Wish I had something this amusing when I was a kid. Physics always gets me giddy with destructive want, and those collider boxes provide a nice interactive touch to the scene (smashing the stick figures holding up the DIE sign was so amusing I burned up half an hour of my life on it alone!)

Fun, interactive, physics. Doesn't need anything else!

Stick Death and simple gravity physics will never be the same for me again! Wish I had something this amusing when I was a kid. Physics always gets me giddy with destructive want, and those collider boxes provide a nice interactive touch to the scene (smashing the stick figures holding up the DIE sign was so amusing I burned up half an hour of my life on it alone!)

Fun, interactive, physics. Doesn't need anything else!

compiled on freebsd 4.7, on a 500 mhz box. speed of simulation is not bad, (although it would be nice if it was smooth rather than jerking around depending on how fast the equations are calculated/converge) but there is a huge problem:

the interface becomes unresponsive. you cant 'stop' it, you cant turn off 'action camera', and in general clicking on things gives no feedback. this is user interfaces 101 , people. time that unix grew up and learned to behave like a big person

I've had tons of fun with the game/toy, but the only thing missing is the ability to create "muscles" that actually move. Go to sodaplay.com (java applet support required in your browser) and see for yourself. I think construo has a *much* better interface than sodaplay, but sodaplay's ability to create objects that move on their own (far more sophisticated than just setting the velocity) is hard to beat. That would be a great addition to construo.
I found the construo.x11 version to be VERY jittery and pretty much unusable until i tried running it niced. Either renice the program (requires root access) or run it niced (like: nice ./construo.x11 >/dev/null &) and the performance actually improves, at least on my system.
In my last comment I wrote that construo is buggy, it's much more stable now, and much more interesting. 5 stars!
I should have tried this ages ago, it's quite fun. Unfortunately, tho:

The compilation finished OK, but when trying to run construo.glut, it said
"./construo.glut: relocation error: /usr/X11R6/lib/libglut.so.3: undefined symbol: XmuLookupStandardColormap"
Which I take to mean that my version of libglut needs to be linked to libXmu... so much for autoconf!

So I had to use the X11 version instead, which worked fine but seemed maybe a little slow. Perhaps that's down to the processing rather than the display tho.

Also, found that sometimes, when trying to connect to existing points, it can sometimes be hard to select them, meaning you end up creating a new one instead. I'd like to see some of the features described in the TODO list, too.

In the meantime, nice one Grumbel!

Re: Pretty cool posted by anonymous on Jul 30 2003 7:42 PM
Yeah, autoconf is crap. When it blows up so late in building, you can just cut+paste that last compiler run, and throw the missing library in the command line. When I build it, I run make until it gives up, and then run

g++ -g -O0 -I/usr/local/X11//include -o construo.glut construo_glut-construo_main.o construo_glut-glut_display.o libconstruo.a -lglut -lGLU -lGL -lXxf86vm -lXext -lz -L/usr/local/X11//lib -lSM -lICE -lX11

IAWFM, now if only there were a 3D card for Linux, my Xfree86+Voodoo3 hung after a half hour of playing construo-2.1 (and OpenGL the only way to smoothly run the hundred+ vertex structures).
awesome -- stress testing the bridges applies real world potential if physics are set right
The framerate seem to have increased but the pointer is very choppy.
Re: pointer lags posted by grumbel on Jul 30 2003 8:46 AM
Which pointer and with which target? Both the X11 and the Glut one use the standard X11 cursors and should be perfectly fluent, even if the game itself gets a bit slow on very huge constructions.

BTW. People using the glut target might try:

construo.glut --disable-antialiasing

Which disables anti-aliasing and boost performance quite a lot.

Re: pointer lags posted by straver on Jul 30 2003 4:01 PM
I've only tried the x11 version. For example the collider-pointer lags when I try use it even if the model are running at 40fps ,same thing applies if I try scroll.

This only occurs when I'm dealing with a really detailed model. And it also seems like it doesn't start until I've started to "play" with model (note that it doesn't go away when things calm down).

Re: pointer lags posted by grumbel on Aug 1 2003 6:10 AM
Still not 100% sure what you mean, but here is what I could reproduce, if I create a huge model (5000 particles, 10000 springs) the drawing itself is still at around 12fps, insertion of new particle is also fine, zoom is also ok, but what is causing problem is drag&drop with both the collider and the selection tool. The collider tool takes a second or so before the drag starts, the drag itself is ok, but the gab until it starts is to long. Similar with the select tool, creating the selection itself is still perfectly responsible, but drag&droping the selection, gets done at a rate much lower than the fps and especially the start of the drag takes quite a few seconds. Anyway, this isn't a problem under my setup, since the simulation run itself gets already down to 1fps with that huge models, making these huge models simply unusable, couldn't reproduce anything like that with models that still 'run' at a useable speed.
This is an excellent app, and I hope someone picks up the development. I'd love to, but I'm no programmer!

This is one of those applications that makes you gawk at the screen, playing around for hours...

like sodaplay

Log in or register to rate this game or post a comment.