ryrydawg's Forum Posts

  • > 	Set array size to (0,1,1)
    
    Repeat tokencount(text, ",") times
    	Array push back tokenat(text, loopindex, ",")
    

    Works great! Thank you. Attached an image for anyone that is struggling with it.

  • Hey everyone. Is it possible to fill an array with multiple items from text input?

    EG: Textinput = a,b,c,d,e ( Seperated by commas )

    Array values index 0=a , 1=b, 2=c etc.

    Thanks !

  • this is not working at all !!!

    Hey there. Construct isn't the best for creating your map. I used a 3rd party application to create my map then imported it into construct. Saved me a lot of time

  • Hey! Did you manage to figure out how to use the Speech recog?

    I got the dude's capx from youtube but don't really understand it.

    Were you able to make sense of it?

  • yes it is possible. you would have to be able to save locally to add that feature. save on complete / quite layout - On start / load compare save status and adjust by time. before game resume.

    I tried using the "Browser.ExecJS("Date()")" but I am unable to get extract an actual value from it.

  • Hey everyone, just a general question here..

    Lets say that every hour you want to add 1 to a variable but you want it to update even when the app is closed...

    My logic would be ...

    On app opened -> get date and time

    On app closed -> store current date and time

    On app opened -> Do math and work out how many hours have passed -> add to variable

    Is this possible in construct ?

    Thanks !

  • Actually in your case it's much easier using two tilemaps..

    Assuming characters can walk over the grass areas, but have to somehow collide with the house..

    Yup good point. Logically though I should be able to place tiles upon tiles by using the same tilemap but different layers?

    Didn't seem to work!

    Multiple maps it is then!

  • You can't have two tiles occupying the same spot in one tilemap..

    Thought as much

    Would be a cool plugin though!

    Thanks for the reply!

    Keep well

  • Hey everyone,

    I am having issues with placing tiles..

    I Understand that placing a tile on top of another deletes the tile underneath.

    So my question is.. Is it possible to place tiles with transparent corners on the same map without having to creating another map to place on top ?

    Here is the Capx if my question is too vague .

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    Thanks!

  • hobibit RamPackWobble LittleStain

    Thanks guys! Managed it!

    It was for the random terrain generation similar to kingdom.

    Here is the Capx if you ever need something like it

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey everyone.

    I've been trying to figure out how to get the x position of an object from a specific location.

    So for example, you have a sprite that has been spawned at x=300 y=300

    How would you get the x value of where the sprite ends to the right.

    What I have been doing is creating a variable that holds the sprite's width then adding its x position to the width which then equals the x position on the far right of the sprite.

    Is there an easier alternative to this?

    Thanks.

  • LittleStain

    Nice! I like the 66% change addon!

  • Hey man,

    You could create your object_obstacle the same time that the next block is created. Remember that the template you are using, all objects are set to bullet so just do that for the obstacle too.

    Once the object has been created, Give it a random x and y position on the created block.

    Hope it helps, here is the capx: https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    Cheers

  • Hi again,

    I modified it a bit:

    [quote:375o95ww]http://www.proxy.wtf/construct2/capxs/Sidescrolling.capx

    (Camera movement provided by:

    Subscribe to Construct videos now

    )

    R0J0hound, would you even recommend using tilemaps in such a Project? In the end the ground isnt animated, but it should be a detailed graphic? Is there a difference in Performance, when it Comes to "big tilemaps" (detailed groundtextures) instead of just putting in sprites? The borders are limited, not endless, but I havent got enough experience to decide, if it is even noticable in that case. Even through, working with sprites could be a bit more Handy.

    The empty spaces in the left-generation-part are fixable with a bit of math - havent done that yet.

    Have a great Weekend,

    Tan

    (once again: sorry for the spellchecking and autocorrecting from my browser, it doesnt wants me to write in other languages except the OS one)

    Hey man, I saw what you did there and have been trying to come up with a way that will continually create terrain without the repeat loop since I assume you would want it to keep generating regardless of how long the player is running left or right?

    This is probably the most simplistic way I could come up with, if you wanna have a look.

    You could make the blocks invisible and change the size of the floor so that it is building outside the window,

    Anyway here it is

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • There is a system action to set the layout size, but it's probably easier to just set the layout to unbounded and not worry about the layout's size.