RattyRat's Recent Forum Activity

  • Thanks. I thought that was probably the case but still best to ask before throwing in the towel.

    I`ve been thinking of moving away from Construct anyway (I don`t like the pricing model for Construct 3) - Think I`ll go check out Unity...

  • Hello R0J0hound - I am attempting the old chestnut "Weld two objects together so they act like one object".

    While I think it can be achieved using joints this seems unnecessarily inefficient.

    I noticed in the Chipmunk documentation - "You can attach as many shapes to a single body as you need to in order to define a complex shape." - this seems much more like what I want.

    Is there any way of doing this with your plug-in?

    I suspect the answer is No given the constraints of how Construct 2 works, in which case what joint do you think might be the least inefficient way to achieve this?

    Cheers,

    RR

  • Thanks stevecameron. Yup, the blimps really help when you lose concentration for a moment.

    I was concerned some of the sounds might be a bit grating so that is nice to hear (pun unintended ).

  • Classic missile base commander game, check it out here:

    https://www.scirra.com/arcade/action-games/incoming-20122

    Touch control or Mouse supported.

    Also, check out my previous game "Down", minimal gravity platformer:

    https://www.scirra.com/arcade/puzzle-games/down-1276

    Enjoy!

    Giles

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While I am here just wanted to add my thanks to troublesum for this lovely bit of code, it took me a while to get my head around (I eventually took to carefully re-writing it, event by event, in my game, just so I could get a clear understanding of it).

  • troublesum mdvgames

    The reason is that the peer creates it`s own player object then calls the "Sync_SpawnPlayer" function which tells the host to spawn a new player and then signal the peers to spawn all player objects. So the host tells the peer to create a player for itself but it already has one.

    This will happen again and again as more peers connect. The simple fix is in the "SpawnPlayer" function, it just needs a test to see if a player object with the requested peerid already exists, which can be achieved using an event for the PlayerObject.PeerID = peerid (as above) and then adding an Else (IE didn`t find one).

  • Thanks mattb, I did scan through the 25 (!) pages but nevertheless managed to miss that.

  • Hi R0J0hound,

    Firstly I just want to thank you for this excellent behavior, it pretty much fixes all the things that I was finding frustrating with the Box2D behavior.

    One thing I cannot seem to find though, and I`m sure I must be missing something obvious, is the ability to 'weld' objects together. Essentially I want to create complex shaped objects by welding two or more objects together, there is no movement between the two objects being welded.

    A good example (using Chipmunk) would be the Motorbike`s and tank`s bodies in this video:

    Any help would be much appreciated.

    RR

  • Thanks Ashley, I expected such but thought I should at least report it as anyone else getting the same problem can see the work around.

  • Problem Description

    I was attempting to have a Text Box pop up over a sprite when that sprite is left clicked, easy enough to do but the left mouse release is not picked up so it acts as though the left mouse is still down.

    Attach a Capx

    Done

    Description of Capx

    There is a message that reports the status of the left mouse button every tick.

    Also a sprite that, when clicked, spawns a text box on top of the sprite.

    Pressing return destroys the text box.

    Steps to Reproduce Bug

    • Run the capx
    • Left click on the grey box sprite
    • Note that the left mouse button message continues to show the button as down even once released

    Observed Result

    The left mouse button message continues to show the button as down once released.

    Expected Result

    The left mouse button message should show the correct status of the mouse button.

    Affected Browsers

    • Chrome: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    R192

    Suggested work-around

    Easily worked around by using the Mouse Button released event to pop up the text box instead of the click event.

  • So only if it does not get any objects that match the first condition(s) will it go to the else.

    Okay, thanks for clearing that up.

    Simple solution therefore is to put in two events one to test for 1,3 and the other for 0,2.

    I may put in a feature request for a 'pick else' or 'pick other' event to cover this.

  • Problem Description

    In the attached example I am selecting text objects based on an "OR" to set the text one way. There is an "ELSE" below the "OR" which should catch all remaining text objects and set those to something different.

    If you adjust the code to a set of individual events (IE no OR or ELSE) then it works fine.

    Any help, suggestions etc appreciated.

    Attach a Capx

    Done, see attachment.

    Description of Capx

    Simply has 6 text objects, each has a single instance variable, called NumIn which is set to a random number (0 to 3) when a mouse key is pressed. Firstly this random number is placed in the text box, then a different message depending on whether the number is in 1,3 or in 0,2.

    Steps to Reproduce Bug

    • Run capx
    • click any mouse key
    • Observe that not all text boxes get the result message.

    Observed Result

    Not all text objects are being selected in the OR/ELSE block, some remain unset. The ELSE condition seems to get ignored.

    I am not sure why this is happening, possibly the else is not acting on both parts of the or?

    Expected Result

    All text objects should get the result message.

    Affected Browsers

    • Chrome: (YES)
    • IE
    • Sorry, these are all I have installed just now

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    Beta r185

RattyRat's avatar

RattyRat

Member since 25 Feb, 2013

Twitter
RattyRat has 14 followers

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

14/44
How to earn trophies