eski's Forum Posts

  • Kastas

    I like your example.

    Have been trying to change it to physics behavior because it is much more real when it comes to, well Billiard physics (back bounce of rail and what not).. :)

    There is no option to get pure speed from the physics behavior, just X and Y Velocity.

    I tried to use the custom movement behavior along with the physics to get the speed but it doesn't read the physics.

    What I would to do is to have the ball react naturally when it hits the rail, texture vise.. It will probably take more events then the bullet behavior thingy. Was a bit surprised how easy that was btw. :)

  • Ok, this is exactly the effect I'm looking for. It really looks nice btw :) Still not quite sure how to set it up.

  • I'm wondering how I would make a texture on a rolling ball so it seems to be 3d.

    For example in the game of Pool. When you shoot the cue ball at the eight ball.

    <img src="http://southernhillscoc.org/blog2011/wp-content/uploads/2011/06/poolballs.jpg" border="0" />

    I my case it would be a 2d top view of the table but if this effect would work, the game would look more natural instead just moving some circles around the table.

    Any thoughts?

  • Nevermind, found out by using left() and right() to remove them. But one other thing.

    I'm using the pause plugin and it doesn't seem to work on the counter. It still continues to count.

    The plugin basically changes the timescale, is there other way to pause the it?

  • How would I display the timer as mm:ss ? Using it to count down from 10 minutes.

  • I'd suggest using the box plugin instead of a sprite for the boxes. That not only allows you to scale the boxes without increasing the thickness of the edge, but it fixes the blurring associated with floating point sizes.

    For rectangular areas, I'd suggest setting the height of the objects to that of the width, just so all of the boxes are square.

    mmm.. i cant make any changes on the box plugin...

    I'm using sprites because i have animation when you click on the box and when you deselect it..

    I'm real close to geting this, just trying to figure out how to use the OR and else commands.

    Its confusing, when using OR and ELSE should i add it as a sub event ?

  • There's actually a really simple formula for this. The formula for finding the proper size is:

    AreaWidth / XObjectCount

    Since the size of the area you're filling is 400, simply divide 400 by the amount of objects placed along the X axis to get the necessary width for your objects. The width can be used for the height as well, unless you want to allow rectangular areas, in which case you would set the height to:

    AreaHeight / YObjectCount

    I hope this helps.

    The problem that i'm having is i want to scale the box down. This method works well but sometimes the boxes get streched out and then they look funky.

    The boxes are default 16x16 but if the level is lets say 30x30 then i should be 400 / 30 = 13,3 per height and width.

    I want to allow rectangular, like 35x15

  • Hey there.

    I'm trying to shrink object so they fit in certain area of the layout.

    Basicly if you would look at the .cap you see what i'm talking about.

    If you make 25x25 array its should be ok. But if you would make 35x35 array it should shrink the boxes so they fit in the area that is fixed for them.

    The methods that i have been using, well they are just making construct crashing so i dont have a clue how to do this.

    Here is the file:

    http://www.internet.is/eski/shrink.cap

  • uhm.. little late but i figured this out..

    Just add onther object.

    One for saving and one for loading.. thad solved it

  • Waking up a old thread..

    I'm having problems with this plugin.

    I have two buttons, one for loading and other for saving.

    It seems when i have loaded file and inputed a filepath into the filedialog plugin its stuck there.

    So when i want to save to another file it saves a blank array to the original filepath..

    Just me ?

  • Alright, this CAP file should answer any remaining questions you have about this(once again, be sure to extract it):

    Picross Square Number Finder Thingy

    The trick to it is using nested loops to loop through the array; that is, you start a loop inside of another loop through use of a sub-event. This allows you to check column by column or row by row depending on whether you loop through starting with the X or Y axis first.

    Once again, I hope this helps.

    I dont believe it, i was really close to the right solution, the for loops were little off..

    But i didnt really get it though i was doing it myself..

    i will have to write this thing up on a big teachers table to get how it works.. the for loops are really messing up my head..

    but on the other hand, you got some skillz.. i mean.. did you have to ponder on this ?

    i have been spending some seriously hours on this thing

    and also.. A BIG THANK YOU for this.. nicely set up .cap with explanation... SUPER

    finally i can continue..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yah, that definitely helped.. i'm understanding this better, of coz use a for loop..

    Its just the whole picture now.. Trying to connect the number system to the boxes(or the array).

    Can i take one line in the array and copy the values to a textbox ?

    Like if i could take the top row and put it in a box then i have a string that i can work with.

    Same with the columns. Anyway i cant find or think of the way to do it.

    Another thing.

    When you have 2 for loops and they both loop 10 times, does the first one finish before the second one starts ? If so, i cant use the loopindex of first loop in the second loop.. ?

    i was trying to do this, dont remember why though (trying alot of methods go get this to work) and the loopindex return -1.

  • Sorry to bump this up again but i am going NUTS, i just dont get how to do this...

    If anybody has a clue, doesnt even have to help me with the codeing just point me in the rigth direction.

    Should i use arrays for the boxes to tick in ? Can i connect them somehow with the number system ?

    The problem with the number system is that it doesnt calculate right if the last number is 1.

    Basicly what i have on the number system is this.

    +checked = 1

    - counter + 1

    +checked = 0

    - textbox = textbox.text & counter

    - counter = 0

  • [quote:3l8pfo0w]Did you enable 3D Layering in the layer properties?

    eh he he ..

    nah.. didnt know of that.. well.. its fixed now thanks

  • Sorry to wake up this thread but i have been trying to do the same thing and having the same problem. The top layer is hidden and the bottom is fubar.

    I really didnt understand all this mesh stuff, i'm using .99.72 now.

    Just wondering if this prob has been fixed in this version or if i'm doing something wrong..

    (btw i found some new v. of the plugin 3dbox and now the program crashes when i open a game that i maked before updating it)