elsimate's Forum Posts

  • 3 posts
  • well.. i managed to figure something out after several hours. finding how to set a condition was hell. very unintuitive. especially with the big shining "add action" button next to it. anyways,

    this is the code from the autorunner template, the only difference being any line where you see a black block. now, what i have done serves my purpose to an extent, but i feel like you guys know a non-retarded way to make this happen

    oh yea, almost forgot the screenshots :

    ...which got removed... hurr durr..

    .. but i know a haxx... ill give you the link seperated, like when facebook banned the domain my webpage was on

    http:/ /imgur.com/a/eEYwY

    yea.. derp...

  • In the autorunner template, where the green blocks the player jumps on spawn randomly off-screen. How would i pin (or attach automatically) another tiled background i made from a different block onto the default green one (preferrably on top of it) with all other things ceteris paribus (the green tile depending on other variables [ i guess one could make a shared trigger and do 2 things at the same time, but it feels like it could go wrong)? I tried to fiddle with those things, but my tiled background spawned on tiles which were allready on screen, and secondly, i couldnt make my backgrounds destroy themselves since i didnt have the compare option that the green ones had. :S

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, this is my first post so i have several questions regarding Construct that i haven't been able to find an agreeable answer to yet.

    I would like to start with outlining the specifics of my question:

    • i am making an auto-runner game
    • the template just generates random sized blocks that the player jumps on
    • since i learned from the forums that big pictures are bad, and its an "infinite" game,
    • i decided that it would be logical to chop up my buildings of a suburban level into
    • smaller chunks (14x18 [it used to be smaller but i also learned that my pictures {.png} need to be divisible by 2])
    • building height would be between 100 -150 px, so its a big chunk, like, a third of the screen
    • since the player would be running on top of them or below them, they would need to be generated super fast,
    • there would also be parralax behind all that

    My question is: How would one generate a number1x number2 grid building out of 5 possible blocks (whose location you would assign by hand [or semi- randomly with windows being a wildcard, but contained to every second row], and therefore have 6-10 premade buildings the game could generate out of the blocks)?

    Now that i'm writing this, maybe it would be better to have 10 150*200 px pictures of buildings on which you would paste windows and such. But again, yea, no. I don't know. This all needs to be super fast, so i don't really know how to do this. All tutorials i see just use the canvas for their level and thats it. I guess it would be stupid to draw a 9999999999999999999x500 level and set all my traps and stuff by hand. I guess you can program the space between platforms and the powerups. I just want a semi- random game where the background is logically repeating itself, but can have mixed chunks. The platforms could only be attached to the buildings though, thats another thing .

    And tell me, please, Is it better to have 1 picture made out of a million pixels, or 1 pixel picture drawn in the game a million times?

    Thank you

  • 3 posts