grossd's Forum Posts

  • Your code is really great. I am learning a lot, including the use of hierarchy, the ability to pick spatially close or far, the use of timer, etc.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you.

    I will look at your example -- this is, btw, what i sort of tried to do, but ran into a bug i couldnt figure out.

  • Thank you.

    Getting to the previous one is somewhat non-trivial, since its a "floating" instance that has to be detected through some pick expression.

    Also, initially, there no other one, so this condition has to be checked as well.

    It looks like I need to keep a (tight) record of a mapping:

    - each vehicle can have zero to n text pop-up associated -- created in some sequence.

    - each pop-up is dynamically destroyed after x seconds

    I, btw, tried to keep a record how many pop ups were created as an instance variable in vehicle -- but ended up with a bug to keep this instance synchronized with the actual number of pop ups ---

    i still don't know what the bug is -- its not obvious --

  • Hello,

    I am implementing a pop up label for a sprite -- e.g. to visually indicate that it received an event.

    A text label is displayed for 3 seconds, 20 pixels below it.

    Trouble right now is how to position another label beside the sprite without obscuring first labels already showing -- i.e. each additional label shown needs to be displaced another 20 pixels below.

    One idea was to detect if there is a collision between labels and if so, move the last one further below. However, text labels don't have collision detection -- can it be added?

  • Yes, Exactly!

    Many thanks for coding it up as well --

    Dan

  • Hello,

    I would like to keep the location of one sprite at an angular rotation relative to another sprite at all time -- based on the angle parameter of the sprite (the direction the first sprite is facing).

    So, for example, consider an vehicle traveling right (angle=0), there would be a vehicle 45 degrees to its right and behind it at constant distance d (say 75).

    Now, if vehicle1 turns clockwise (its angle becomes say 45), i want the following vehicle on the right, to fall back, to keep to 45 angle and distance d.

    This means that the Angle parameter of Vehicle 1 must be translated to an angular rotation of the X,Y coordinates of the following Vehicle 2.

    Is there a set of forumals that work in degrees (expected by cos and sin in C3) that could be used?

    thanks,

    Dan

  • Hello,

    I recall that one key added value of C3 that it enables extending C3 itself via plugins -- quite like Visual Studio allows creating VS extensions via plugin and an internal IDE object model.

    Is there documentation how this could be accomplished in C3?

    thank you,

    Dan

    Tagged:

  • Great. Thank you!

    Dan

  • Hello,

    I am wondering what would be a good way to create a line (link) between two sprites.

    Think for example about a flow chart with two boxes -- each box a sprite, and a line with an arrow between them.

    Suppose the line can be drawn by a sprite moving from one box to the other.

    The line would need to be of length between the two boxes.

    And the line needs to move if one or both boxes are moved (dragged and dropped).

    Sprites are always of fixed size -- is there an good approach to accomplish this?

    Perhaps, via resizing a line, or perhaps with many canvas instances, one for each drawn line, and these need to be managed somehow for resizing and rotation ...

    any thoughts are much appreciated,

    Dan

  • ok. got it

    the xbox gamepads are the preferred ones, per documentation

  • Great thank you.

    Are there particular gamepads that i need to buy -- like makes or models that are known to work, say, in windows and ubuntu -- all in the browser -- or, any will essentially, do.

    thanks,

    Dan

  • Hello,

    I'd like to try out a joystick to control a game character -- basically, moving around.

    I am assuming that a USB joystick would appear like a keyboard with keys pressed? Is this correct?

    Can one use two joy sticks and configure them somehow to use different sets of key for controlling two game characters in parallel.

    thank you,

    Dan

    Tagged:

  • Great. thank you.

    Will check it out

    Dan

  • I couldn't replicate the problem -- i.e. a small example worked ...

    So, i looked deeper with the debugger and found that the problem is indeed elsehwere -- thank's for asking for more info.

  • I will try to replicate it in a project and post it -- perhaps, i will learn something by it as well.