Zetar's Forum Posts

  • Lets say I want to make an Isometric "3D" star map that I want to rotate. I want it to appear that all points on this "map" rotate around the y axis as the map turns. This involves Isometric Projection mathematics...

    Has anyone worked out how to translate this math into Construct 2 yet?

    I was thinking of using the "math" to translate sprite x,y,z (isometric) to x,y (Construct Canvas) as the map rotates. I imagine it would be a complex event structure...

    I would probably give a sprite local variable ISOx, ISOy, and ISOz for Isometric point in space, then ProjX, and ProjY for the 2D projection position on the layer.

    Then I guess I would have to calculate at what angle the map was facing isometrically, and use that to calculate ISOx, ISOy, and ISOz. Then use Isometric projection to translate the "false" x,y,z to ProjX and ProjY...

    Am I on the right track? Anyone want to help me figure this problem out?

  • Thanks again Yann. Looks like I was using wrong mass :)

    A very good example for physics. This capx could be useful for many projects.

  • Ok, Yann. I removed the set events, but I am not getting a result. In my game I have Global gravity off and a constant 5 force down on the sprite. Does that effect it? what did I do wrong? Here is a capX to tweak...

    Black Hole Example

  • Man, Yann! You never cease to amaze me...    Thanks everyone - that should work great.

  • This had to have come up already, but I cant find it...

    I want a black hole to change the physics path of a moving object.

    I have an Sprite moving across screen, passing near black hole using physics:

    Every Tick

    -> "SPEED"=Distance(0,0,Sprite.physics.velocityX,Sprite.physics.velosityY)

    -> "DISTANCE"=Distance(BlackHole.x, Blackhole.y, Sprite.x, Sprite.y)

    Sprite.Distance <500

    -> Sprite Apply "FORCE" at angle(sprite.x, sprite.y, Blackhole.x, blackhole.y)

    QUESTION - How do I calculate "Force" so that it is stronger proportionally to the distance of the hole as the sprite gets closer. I have racked my brain, but cant get it.

    Help Please...

  • Ohhh... Great Idea!   I could use something like that...

  • This post is fantastic ... I decided to buy Construct2 after reading this post.

    Congratulations to Kyatric and to community.

    This is my first post ... <img src="smileys/smiley4.gif" border="0" align="middle" />

    Sorry by my English

    WELCOME! Hope you enjoy it as much as I do!

  • Thanks Tom. I was having a hard time keeping abreast of when the updates came out. I will keep an eye on that page, and the blogs.....

  • This question has more to do with Scirra Web page, but is there a button on the top bar to take us to the scirra.com/construct2/releases I cant find it...

  • I was wondering the same thing...   What is the character limit for a text box?

  • Looks good drxbelini.

  • I figured out what is happening in both cases... Families, I just missed the family Icon in the list of objects when selecting mouse over object... SPS {Sleepy Programmer Syndrome}

    Blinking Text Box:

    When Turning on the Flash It needs to be triggered Once, not every tick... That solved the problem.

    However, Logically, if the function is triggered ever tick, and the first part of the flash function is "on" Shouldn't the text box NOT DISAPPEAR? Just wondering...

    Disable Trigger Once to see it disappear.

    DropBox

    ALSO: Is there a way to copy Events from Construct2 to a test string (for posting in forum?)

  • Good Day everyone! Two Issues...   

    Is there a way to use the mouse over function with Families?

    Also having a flash problem. I want a text box to flash after 60 seconds.

    Time > 60

    -> Text Set flash (0.5, 0.5, 60 sec) //

    The textbox flashes once then disappears????

    Any Ideas?

  • I have to go to work right now, but I will try and re-create the issue in a sample capx later today. My capx seems to be working fine now...   Hmmmmm.....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK Ashley, I uploaded my Game with r75. Let me know if it still does not work...