deadeye's Forum Posts

  • Oh wait... you're manually resizing the window to fill the screen? Huh. I guess I don't see the point. Why not just use the Maximize action for the Window object? Or maybe I'm still missing the point of what you're trying to do

    Anyway, yes I suppose I see what you're saying about the Y axis being squished. The only real way around that I suppose is to create your own custom zooming algorithm that changes the Y zoom ratio, but it sounds like you're on the right track with that anyway.

  • Calculating an arc like that requires some fairly decent math knowledge. Here is a little interactive Flash presentation on game physics that might point you in the right direction (the stuff about arcs is towards the end):

    http://www.rodedev.com/tutorials/gamephysics/

  • No, there is currently no way to do this unfortunately.

    But there is some good news. The next build of Construct 0.x has a new feature that will change the window size properly:

    [quote:1vmtaff4][ADD] Window: Three new actions (Set client width, Set client height, Set client size). These allow to set the window's dimensions based on the desired client's dimensions (e.g. 'set client size to (640, 480)' makes sure your desired game frame is 640x480 even if caption is selected, whereas 'set size to (640, 480)' is setting the outer boundaries of the window including caption bar and frame to 640x480, leaving less space for the game frame) (tulamide)

    I'm not sure when the next Construct build is being released, but it should be some time soon.

  • Your code here does work properly:

    + System: On collision between Green (Pick) and Blue (Pick)
        -> Output: Add 1 to 'hitCnt'
        -> Output: Set text to Output.Value('hitCnt') & " : (" & Green.UID & "," & Blue.UID & ")"[/code:3gvj8dlq]
    
    The reason that it's not triggering a collision consistently is that the Ball Behavior is performing it's own collision check and bouncing the balls away from each other before the sprites themselves can overlap.  On Collision checks for overlap between two sprites, so if they're never actually overlapping then On Collision won't trigger.
    
    Turn off Solid attribute for the balls and you will see that it's working and the UIDs are being picked properly.
    
    The reason that it works [i]sometimes[/i] is that it's possible that timedelta is allowing the balls to move slightly closer to each other than they normally would before being bounced away, and on the next frame they are still overlapping and trigger On Collision.
    
    You can get around this collision problem in a few different ways:
    
    1. Don't use Ball Behavior.  Physics Behavior can register "collisions" without having sprites overlap, and as a bonus you will get more accurate angle changes when objects collide.
    
    2. Do use Ball Behavior, but try one of the following:
    [ul]
    [li] Turn off Solid for the ball sprites and code in your own bouncing events to change the angles of the balls when they hit each other.[/li]
    [li] Add a separate, non-solid detector object to the ball (using Containers) that is slightly bigger than the ball.  Use that for your On Collision event so that you can pick up the UID of the object the ball is colliding with.  Like so: [/li][/ul]
    <img src="http://i52.tinypic.com/20561lh.png">
    
    Hope this helps.
  • Thisll keep this thread up to date, and help to prevent the zombie thread apocolypse that threatens to destroy the tutorials section

    Ah, so THIS is the reason for all the thread necromancy lately. I understand now

    I wonder if it's possible with phpBB to auto-lock any thread that hasn't had a reply for over year...

  • What's with all the thread necromancy lately? This has got to be the oldest thread to rise from the grave yet. Seriously, when a thread is this old, chances are the files just don't exist any more.

    Case in point, I no longer have the .cap file for this. It's just gone, lost forever. The .cap file probably wouldn't even run at all in the newest version of Construct.

    I do have the .exe though, if you're still interested in it. Keep in mind that this was literally the very first thing I ever made in Construct, and it's really simple and really kind of stupid, and with minimal effort you can easily make something much better than this:

    http://dl.dropbox.com/u/529356/Construc ... liards.exe

  • As a US citizen I've often wondered how folks in the UK feel about the royal family, and in particular all the hullabaloo that surrounds something like the royal wedding.

    From what I know of the British political system (and that's admittedly not much), the royal family is pretty much not involved at all except in a ritualistic sense, yes? So from what I can see they're pretty much just a bunch of celebrities-by-birth.

    Here in the US we have very mixed views on celebrity. On one side we have the tabloid-reading mouth breathers who get off on any and all celebrity gossip (including your royal family), and on the other we have the folks who just don't give a crap about any of that nonsense (if you can guess where I stand you win a cookie ).

    I can only imagine it's a bit of a similar situation over there in regards to your average, everyday celebrities. But the royal family is a bit of a unique specimen. Are they just another group of celebrities? Or do they instill a sense of patriotism? Are they beloved by all, or does a portion of the citizenry see them as archaic and unnecessary? Are they a model for other citizens to follow or just a nostalgic throwback to a bygone age?

    Also including these because I thought they were funny (both are shots from the royal wedding):

    <img src="http://i52.tinypic.com/14ctu08.jpg">

    My sentiments exactly, little girl...

    <img src="http://i56.tinypic.com/2cxg786.jpg">

    Evolution at work: The larger and more ornate her antlers, the more likely she is to attract a mate.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Both links are dead :S

    Yeah, you keep saying that about examples that were posted two years ago...

  • This example doesn't work correctly in 99.97 anymore... The rubber parts simply fly out of the screen very fast .

    There have been changes to the physics properties settings in Construct since this example was made. All you have to do to propagate the new changes in the properties bar is click on one of the physics objects in the scene and then run the .cap.

  • deadeye: I love the face of this square guy Must be some pain to design those levels, right?

    Hope you finish it

    Thanks, and yeah it is kind of a pain. I need a level editor that rotates

  • hay everybody! remember this

    Subscribe to Construct videos now

    Yeah, I JUST NOW recorded that! It's only about NINE THOUSAND YEARS OLD

  • Yep. The guy that made that game already posted it here.

    This sub-forum is for "your" creations... as in stuff that you made yourself

  • There's also onEscapee, or I guess they're calling it The Escapee now: http://www.invictus-games.com/games/iph ... creenshots

    I don't know why it's listed as an iPhone game. It used to be listed as a PC game, and a free one at that. I guess they just categorized it.

    Anyway I remember it being a decent enough game.

  • Eric Chahi didn't have anything to do with Flashback. They were made by the same studio, but he wasn't part of the production team.

  • How exactly did you "turn it off?" Did you sneak upstairs in the movie theater and shut down the projector?