declan_gage's Forum Posts

  • Also keep in mind that if you do install a font (like Hideous did with Banana Flip) then Construct can't find the font unless the user logs out and logs back into Windows before running the game. I don't know what can be done about that, though.

    "FFFFFUUUUUUUUUUUUUUUUUUUUUU"

    That's what

  • Ah yes you're right, the 3D box object is somehow hiding everything lol.

  • Here's a cap

    http://willhostforfood.com/access.php?fileid=58303

    everything after the object "tornade" doesn't appear...

    (how can I attach caps to my posts BTW?)

  • I have added approx. a dozen objects on the layout now but some of them just don't appear in the editor, the first four or so objects appear ok , but after that I can't see them anymore.

    all I can see is the bounding box when I select them, is that normal?

  • There should be a very obvious way to check the version number on the editor because I'm not even sure what version I'm running anymore.

  • I'll look into it, thanks.

  • How can I do this :

    I have a bunch of identical sprite randomly placed on screen and I want to perform an action on all the sprites that are touching one specifically picked sprite in the group.

    I can do a "for each" to see which sprites are touching the selected one, but how can I perform an action on them?

    if I do something like this:

    +ball is "selected" (I switch a variable from 0 to 1)
    ->+for each "ball" object
    ->->+"ball" is overlapping "ball"
    ->->->+Do something to ball
    [/code:2i12b1dj]
    
    As you can see this results in an horrible mess and i'm not sure anymore which instance of ball object is being tested and which one is being acted upon.
    So am I missing something? Is there an easy way to scan through all the objects related to a particular object of the same category and operate on these related objects?
  • Well right after posting I found the explanation!

    If you leave "rotate object" checked in the ball behaviour setting you can only change the "angle" and not the "angle of motion" (from the ball behaviour tab).

    If you uncheck "rotate object" you can change the "angle of motion"

  • http://willhostforfood.com/access.php?fileid=57648

    Here's an examlpe, I'm trying to change the direction of the balls every second but doesn't work.

    While we are here : it would be nice if you could set up a property so that the balls bounce off the screen edges autiomatically , at the moment I think you have to hide solid objects on the edges in order to have that...

  • I'll do it...

  • I'm trying to change the angle of motion for an object with ball behavour but it doesn't seem to work, the object still moves with the angle it already has.

    any idea?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm new to Construct, so sorry if my question is stupid but I can't seem to access the values of rotation speed and acceleration from the rotate behaviour.

    Is it possible? If not, is it scheduled? because it would be very useful, otherwise I'd have to manually rotate the object every tick and keep track of the values myself (if I want to make variations in the rotation)

  • I just noticed that I could get access to absmouseXY. That solves my problem

    But I second the renaming, possibly to screenmouseX.

    I hope it can be done without breaking older caps.

  • Sorry if this is a known problem/feature/beaten topic, but I couldn't find anything about it in the wiki or the forums.

    There seem to be some discrepancy between the mouse coordinates returned by system->get mouse X and the mouse cordinates used by then mouse/keyboard object.

    The system event seems to be using the game window coordinates (0=left of game window) while the mouse/keyboard object seems to be using the whole screen coordinates (0=left of screen).

    I think this is a good way of generating confusion, and why isn't there a setMouse X/y action in the system object in the first place, if there is a get mouse x/y?

    If you can read the mouse position you should be also able to write it from the same object IMO.

  • Hi, I'm new to Construct but proficient with many programming languages.

    Here's my point of view: I agree with changing all loops to 1-indexed when possible.

    As for random() I don't see a reason to change it, either leave it like that or force the use of two parameters