Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
im following the construct 2 runner template and i want to generate some obstacle when the platforms are created.....
but my obstacle is not showing up.
here's the capx file
http: / / bit.ly / 1LPpvs6
remove the space
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
Added an extra bit of randomness to the capx by ryrydawg
His approach is different from the one I suggested in the other thread, but easier to understand..
Put all obstacles on the blocks, gave the blocks a 66% chance of having an obstacle if they are wider than 200px..
https://dl.dropboxusercontent.com/u/485 ... andom.capx
Nice! I like the 66% change addon!
Develop games in your browser. Powerful, performant & highly capable.
thanks a lot ryrydawg and LittleStain!