agarciamuntion's Forum Posts

  • I�m still searching how to give format to the line (not only text) but as soon as i locate it i will link it here

    Thanks

  • Excuse me.

    Searching in the forum finally i found the sintaxis:

    Array: For Each element

    -> Text: Set text to Text.Text&NewLine&Array (Array.CurrentX)

    It was simple but until now i was not able to find it.

    Thanks to all for this great forum

  • Hi

    I�m trying to make a list of objects that you must find in the game. I though that text will be enough and i avoid the use of many images.

    So i have a sprite of a pencil and a bucket, each one with a variable name for example.

    I can make a loop and record that names in an array using families.

    But i don�t know how to show the list afterwards.

    I created a text object and i wrote the array(0) + " " + array(1), but all in a line. Can i introduce a break line or width atribute, or write html maybe?

    Then I tried to create a Text object for each line, line0, line1, .... But i dont know how to make a loop that changes the object name. For example:

    for i,1,numobjects

    text&i.text=array(i)

    The objective is a list like:

    pencil

    bucket

    Thank you

  • Thank you

    I forgot about the plugins, sorry. But you are completely right.

    I understand that the solution is to create a placeholder image (i have already search for it) without physics, and at the moment of launch destroy it and create in that position the physics object.

    If the problem is the mouse position i supose that i must create the new object in the last position of the place holder to avoid use mouse.

    I�m going to try it. Thank you very much

  • They are in differente lans.

    My father, friends, girlfriend, :) Maybe all my contacts don�t update the graphic card, ja ja.

    I have tried with them a similar test but using flash (I�m not going to use that i really enjoy construct2) and the performance was a bit better but similar to the physics solution which I�m finally using

    Now i�m optimizing image size after reading this wonderful forum.

    Thanks all of you, but i don�t want to make you spend more time with this as the code is fine and the problem is of the test computers.

    Before post this i have tried another games (commercial) and the conclusion is that i need modern testers <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks again to all of you that makes this forum so useful

  • Hi

    I have made this brick break game using phisycs.

    ethemba.com/TOOLS/gamecenter/arkanoid

    ethemba.com/TOOLS/gamecenter/arkanoid/arkanoid.capx

    To throw the ball you can use space or mouse click.

    But sometimes the ball is not thrown. Usually the first time but sometimes later also.

    I don�t know why the impulse is not working sometimes and sometimes yes.

    Has anyone an idea? I�m doing something wrong?

    Don�t move the platform out of the walls because that part is not done yet. I�m trying to figure how to control it.

    Thank you very much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK

    Thanks. We have tested it in 15 computers, in local and online, and with no good results. Many variations and always the freeze.

    Finally I have made another version using physics which has better response so i will use this one instead. The movement is better, I don?t really know why.

    I have two new problems in that version, but i will ask in a new thread not to confuse questions

    Thanks all for your interest.

  • Hello,

    I'm making a very simple test to check the permformance of a game and it seems to run slow.

    Game: ethemba.com/TOOLS/gamecenter/pruebas/basic

    Capx: ethemba.com/TOOLS/gamecenter/pruebas/basic/basic.capx

    • Is it normal for such a simple game I have performance problems?
    • Could you test the game in your computers and tell me if it runs smoothly?
    • Am I doing something wrong?

    I've tested with Firefox 14 and Chrome 21. I have Windows 7 (64 bits), 3'40 GHz and 8 GB RAM.

    I would appreciate any advice :)

    Thank you

  • Thank you Yann.

    I was thinking in more games, all with a drawing orientation. For example, one can be to apply color to a shape. The idea is make some games for occupational therapy so i need a more control over what is really draw. I�m interested in what they really draw. Do they fail many points? Maybe a patient was not able to make some wrist movement?

    So im trying to analize the outline

    Your idea is nice, but all the lines will be straight and the result will only include straight lines.

    Thank you very much for your comment

  • I?m trying to make a game where you can draw. I give a template of points, and dragging the mouse, the player must draw the object joining them.

    The idea is:

    When you are dragging the cursor create a shape in its position. For example a back round shape.

    The object to draw is stored as an array.

    When you create a shape, you fill the cell as marked

    If there is a 90% for example of the object marked, the picture is right.

    I?m almost new with construct, so i want to ask if someone knows something already done, or a better approach, before starting to fight with a wrong idea.

    Thank you very much

  • Thank you very much.

    It works perfect.

    I hope to be helpful too shortly.

  • Hi

    I?m starting in this Construct universe and i have one question.

    I have an object which is drag and drop. I have constrained it to the edges. All is working fine except that when i drag it to the right, as there is more layout, the object goes out of wiew.

    Then i created an event

    system - every tick - system - Scroll to object

    Now its fine as i drag my object and the layout moves to follow it and show the background so i can navigate dragging the object.

    But the movement is so rude with jumps

    Is there a better way to make this trick? The game is something as that one where you try to take out a bone and if you touch the border the nose of the patient sounds and light. I need more precision dragging the object.

    Thank you very much for your time and interest.