grossd's Forum Posts

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Hello,

    One one event sheet i set a boolean instance variable to false, just to see that in another event sheet, the value stayed true.

    I looked at all assignments in the project and there is no where else, that value could have been set to true, beside in the initialization code.

    Interestingly, when i deactivate the whole group in which the instance variable is tested, then, the test doesn't apply and things work - but deactivating a group is too brute force.

    Could this be a bug in C3.

    thank you,

    Dan

    Tagged:

  • Hi,

    Its the other way around:

    I am thinking that if I can live with a fixed number of objects, that is not large, then each object can be a single instance of a dedicated type.

    Dan

  • Thanks.

    Yes, that is what i've done.

    I am now wondering if i should work with different object types to begin with, and use families for common actions.

    Although, i guess, its not possible to create object types only object instances.

    So, this would only work if i have a fixed number of objects...

    Dan

  • Thanks,

    As far as I understand, this would not work. I need two types, each picking from the same set (type) of instances and accessing the same instance variable. Unfortunately, one can not share the same instance variable between a type and a family, hence i need to duplicate and replicate the instance variable and its value.

    Either between a type and a family or between two families ...

    As mentioned, I think, best would be to have an alias mechanism, if this is easy to include in the current pick paradigm -- its a solution "between" the others we discussed.

    Dan