Glamthaus's Recent Forum Activity

  • Device name: NVIDIA GeForce 8800 GTX

    Pixel shader: 3

    Estimated VRAM: 998 MB

    Motion blur: Yes

  • > [quote:1frbw1op]- Sorted Z order depending on Y position

    >

    I would like to request Z sorting based upon a variable, not just Y position.

    Perhaps you mean "Sort by value"

    So you could perhaps say "Sort Z by ".X", descending" (of course, descending/ascending would basically mean higher value means lower Z-order or higher order).

    Excuse the terminology in my original post. That is exactly what I mean.

  • I know there's parallax effects via layers, but with a lot of objects on screen at different distances, it doesn't work well. It would be much more elegant to move them in 3d space - which would also sort them correctly (z order) and accurately resize them according to distance as well.

    Example: http://ps2.ign.com/dor/objects/714612/d ... 43437.html

    I've been doing quite a bit of work (albiet on and off, and I haven't made any strides with the 3dbox being bugged atm) with 3D Boxes and 'fake' emulated 3D for sprites (or at least emulated Z).

    The following cap shows that this can be done with relative ease. The code that really matters is only 4 lines (under the 'every 10 milliseconds' part).

    http://www.fileshack.us/get_file.php?id ... tual+Z.cap

    Controls are W,A,S,D for X and Y, and arrow Up and Down for Z.

    Z ordering is currently impossible with this method of implementation though (well, probably not impossible, but I can't get it to work for me yet), so it does limit it's uses. I'm hoping at some point in the near future we can get Z ordering based on a variable, which would make this method work extremely well.

    Looking at it as a whole, though, its really such a simple solution, coding wise, that having it implemented directly into the sprite object itself, simply as 'Z' or 'Emulated Z', would be the ideal solution looking toward the future.

  • [quote:13dyycx4]- Sorted Z order depending on Y position

    I would like to request Z sorting based upon a variable, not just Y position.

  • Just so you know, OriginalWidth and OriginalHeight are already available. For example, if you want to scale to 50%, you can simply do the following:

    (Your Event) - Object: Set Width to Object.OriginalWidth * 0.50
                   Object: Set Height to Object.OriginalHeight * 0.50[/code:1xuyzra0]
    
    If you want to scale dynamically, you just change the '0.50' in the code to a variable.
  • Just requesting 'Change Mouse X' and 'Change Mouse Y', which I have mentioned before in passing, but never made an official request for. <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • I thought the only use for atan2 was in calculating angles... it's used in the code behind the angle(x1,y1,x2,y2) expression, is it necessary to have a separate atan2 expression?

    I actually didn't think of that, to be completely honest. Shows what happens to your mind when you start trying to work with 3D, lol.

    For anyone that might need to actually use atan2, the conversion is as below.

    Atan2(y, x) = Angle(0, 0, x, y)

  • I would like to see an Atan2 function, under System > Math, as per http://en.wikipedia.org/wiki/Atan2.

    Admittedly, this isn't, and shouldn't, be a top priority, only something to be added eventually. It's uses are fairly rare, from what I've seen.

    The Wiki article states, "A principal use is in computer graphics rotations, for converting rotation matrix representations into Euler angles", which happens to be exactly what I need it for. <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile">

    EDIT: Maybe I should try to help further the 3D side of Construct by doing some actual coding myself. Stuff like this I could easily add by myself if I had a copy of Visual C++. Might try to get my hands on a copy and see if I can't help out at all.

  • Hmm... I looked for a different style, this is the closest to the old design:

    http://demo.phpbb3styles.net/Czar-Orange

    But they don't have it in green for phpbb3... thoughts?

    Or you could have a browse through there and see if you can find a style you like!

    Well, out of the ones I looked at...

    http://demo.phpbb3styles.net/SimpleLightGreen

    http://demo.phpbb3styles.net/Serenity+Green

    http://demo.phpbb3styles.net/Avalon+Green

    ...Those three I find to be the most pleasant on the eyes, whilst still retaining the green colouring.

    I'm interested to see what else we can come up with though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Very nice.

  • That's really wacky... the texture even changes frames to match the Mario sprite in the center. 3D Boxes aren't even supposed to be able to have animated textures

    When you rotate the Mario sprite off-screen, the texture corrects itself. And aren't your boxes supposed to be green on top?

    Sorry, the boxes are supposed to be green on top, and darker brown on the bottom. I should've explained that a bit better.

    From what I've tested, whatever texture you have as the 'Right' side of the box, covers all sides instead.

    http://www.fileshack.us/get_file.php?id ... oncept.exe

    Theres the original compiled .exe of my proof of concept, if you want to see the difference.

  • Something seems to have broken the 3DBox. Which is interesting, because it doesn't seem to be the 3dbox plugin itself (I'd been using the newest one on 0.93 for a few days).

    My old 3D Proof of Concept .cap (this is the original upload link): http://www.fileshack.us/get_file.php?id ... oncept.cap

    Might just be my video card, but this is what I'm getting.

Glamthaus's avatar

Glamthaus

Member since 7 Nov, 2007

None one is following Glamthaus yet!

Trophy Case

Glamthaus has no trophies yet!

How to earn trophies