[Suggestion] Simple 3D objects

0 favourites
From the Asset Store
Welcome! I-Spy (Hidden objects) is an educational puzzle that is more than just seek-and-find activities.
  • yeah it is amazing. I'm trying to figure out how the facing works. There doesn't seem to be any control. But I could be just missign it.

    But after playing with it. It is a little short from being fully comercial ready. but I'm sure we could make some games with it :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • R0J0hound

    Respect <img src="smileys/smiley32.gif" border="0" align="middle" /> My mind is blown <img src="smileys/smiley41.gif" border="0" align="middle" />

    Even though I don't understand the formula/algorithm, with the second demo I can easily make a 2.5D Platformer just by editing the ground from the Layer 1.

    Also the view can be changed by editing the global variable VIEW_TILT (viewing angle) and EYE (zoom) <img src="smileys/smiley20.gif" border="0" align="middle" />

    irina

    Textures are the Animation frames from the sprite face.

  • Yeah, iw found it after thorough digging :)

    But math is... well, beyond me...   <img src="smileys/smiley19.gif" border="0" align="middle" />

    It's just too much, i got headache... <img src="smileys/smiley17.gif" border="0" align="middle" />

  • R0J0hound

    Im running your second example web preview on iPhone5 and it shows only 5-6 FPS...

    Is this really such FPS killer???

    ...this is totaly unusable at this point!

    <img src="smileys/smiley11.gif" border="0" align="middle" />

  • [quote:3vz1xzae]NOT user friendly

    No arguments there. It could stand for better organization, and clean up of the events. It's more or less a proof of concept that isn't complete. Not to mention I'm ironing out ideas on a balance between usefulness and ease of use as I go.

    [quote:3vz1xzae]this is totaly unusable at this point!

    For the iphone. It's running quite fast on the desktop for me. There are a few things I could do to speed things up such as making the face objects invisible, but the main reason for the slowdown is safari doesn't have webgl so canvas2d is used.

    Here's the latest wip. Textures now mach the textures of the objects on layer 1, although to do it I copied the textures in two places which isn't very efficient if you want to change them later.

    /examples21/paster_3d_3.capx

    https://www.dropbox.com/s/z85mueru5uwmn ... .capx?dl=1

  • Another update. WOW. and your now matching textures based on objects. Oh my oh my. This is shaping up.

  • R0J0hound

    Nice update <img src="smileys/smiley20.gif" border="0" align="middle" />

    Too bad that is unusable on iPhone due to lack of WebGL in browser (1-3 fps on iPhone 4), but runs quite well on PC. I am really curious how would it run on Android (browser and CocoonJS) ... my LG Optimus 2X is currently at service (sudden death).

  • I would expect a Spriter Sackboy at some point now.

  • Thanks for reply.

    Yes, on desktop FPS are solid 60.

    I'll test your sample with coocon launcher for iOS to avoid safari and will post back results.

  • R0J0hound

    Bad news... in CooconJS Launcher shows exactly 6 FPS

    <img src="smileys/smiley19.gif" border="0" align="middle" />

    Have you seen this?

    scirra.com/forum/3d-objects-without-webgl_topic69562.html

    Maybe it can be helpfull?

  • R0J0hound

    Bad news... in CooconJS Launcher shows exactly 6 FPS <img src="smileys/smiley19.gif" border="0">

    Have you seen this?

    http://www.scirra.com/forum/3d-objects-without-webgl_topic69562.html

    Maybe it can be helpfull?

    That is great, but as Ashley said there: "3D without WebGL is generally too slow to be useful" and he is right... I tested the phoria.js demos on iPhone 4 and I get 1~10 FPS in browser <img src="smileys/smiley6.gif" border="0" align="middle">

    <font color="blue">Of course if phoria.js is implemented in C2 as the Effects are (require WebGL), it could be totally usable</font> <img src="smileys/smiley20.gif" border="0" align="middle">

    Still, the solution that I presented was to create simple 3D objects using images (no "real" 3D involved) in order to maintain canvas2d compatibility at decent speed.

    Also, R0J0hound's solution to use his plugin is great (use only one object instead of many), but is slower on mobile if used to render more objects <img src="smileys/smiley2.gif" border="0" align="middle">

    I've just purchased Spriter for character animations, but I can also use it to exemplify my 3D implementation <img src="smileys/smiley20.gif" border="0" align="middle">

  • newt

    That would look cool, I'll have tinker around with Spriter one of these days.

    irina

    Yes I've seen it. It's approach is similar to what I'm doing in some ways It's even a bit faster since it's all js, however it would be very time consuming to integrate it into a plugin.

    New update: Now boxes match the rotation of the ground sprites on layer 1, also events were cleaned up a bit and an improved perspective transform is now used. Also the rotate function can now rotate around an arbitrary point.

    /examples21/paster_3d_5.capx

    https://www.dropbox.com/s/u0evx030ayn7x ... .capx?dl=1

  • well, it is once more impressive to see what the C2 Community is capable of :0

    Very nice job!

  • newt

    That would look cool, I'll have tinker around with Spriter one of these days.

    irina

    Yes I've seen it. It's approach is similar to what I'm doing in some ways It's even a bit faster since it's all js, however it would be very time consuming to integrate it into a plugin.

    New update: Now boxes match the rotation of the ground sprites on layer 1, also events were cleaned up a bit and an improved perspective transform is now used. Also the rotate function can now rotate around an arbitrary point.

    https://dl.dropboxusercontent.com/u/542 ... _3d_5.capx

    Hi, would you consider making a plugin or behaviour out of your 3d object engine, please?

  • Hi, would you consider making a plugin or behaviour out of your 3d object engine, please?

    Probably not. That would mean re-writing it in javascript which doesn't appeal to me.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)