RookieDev's Recent Forum Activity

  • sqiddster cow_trix

    Thank you both,I never knew that loops are made to help with this issue.But i still do not understand how to make it run through certain cells.Like if 1-320

    I guess im looking for the expressions used? or even better would be to see what you guys mean.

    Thanks for replying,I know that it sounds lame but i am learning from all of this.Thanks

  • Whatsup everyone,

    I was wondering if there is a fast way to fill cells in an array grid.

    I have a room that is 6400x6400 and im using 32x32 pixel tiles i have my ground level at 3200x3200 in the layout.

    My question is how do i fill half of my layout with my ground tiles in such a way where i do not have to individually place what goes in each cell.

    I ask this because i know there has to be a trick to doing this or i will have to place 200 blocks.

    I understand how to place blocks through arrays i just want to know if there is a fast way to fill half of a layout

  • AnyOne?

  • So from what i have learned so far there are only three ways to check if an object is beside another object.

    The three ways i have been told are not what im looking for,The closest is arrays but i dont really get them thats why i dont want to implement them in this game.

    I would love to know if there are more ways to check if an object is next to another object.

  • Thank you jayderyu i am grateful to have people like yourself to share ideas and spread knowledge with.It only cost 120 dollars for this program.But this community is priceless.You can not pay to find better people to learn and converse with.

    Thank you guys once again

  • I think that construct 2 could cost more! It is already a steal for what you are capable of doing.

    You wont find another program as powerful as this.

    I had my free edition for a few hours and quickly bought the Personal Edition.

    Words from the wise-Buy Construct 2 ASAP before it goes higher in price

  • blackhornet

    i think you are right about the BBox Example,It might be alittle out of my leauge for now.

    as for Arrays,Im trying to learn them but i fail when it comes to actually making the tile i want appear on the layout.

    I need to figure out the easiest way possible to lay blocks through arrays.I dont need random i just want a flatland.

    Once i learn how to make a flatland generate i could move to the more complicated random.

  • Hi,

    I would like to share my c2 game for android - SPIDER DEFENSE. It's a kind of tower defense game, but there are no waves, enemy is not movig along one path, etc. Enjoy.

    It's for free.

    https://play.google.com/store/apps/details?id=com.coreproject.spiderdefense&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5jb3JlcHJvamVjdC5zcGlkZXJkZWZlbnNlIl0.

    <img src="https://lh6ht/rMJ6BIK7KtdoLfV75enl839pBCJ0JjxZFl2neS-Zrf92xaViZl0UD2bdvHubPfx3OQ=w705" border="0" />

    Downloaded it just alittle bit ago,I will be giving it a try and leaving a review for you revin Its awesome to see construct 2 games on the market.

    Great job and i hope all your hard work pays off for you

  • blackhornet as easy as that looks im not understanding whats going on.

    I dont want to sound lame but i am unaware of the expression your using.

    this is what i found in the manual.

    Size & Position

    BBoxLeft

    BBoxRight

    BBoxTop

    BBoxBottom

    Return the layout co-ordinates of the object's axis-aligned bounding box. This is the smallest unrotated box that completely encloses the object, taking in to account any rotation or stretching.

    I understand that its calling for the bounding box,But how does this work?

    I dont understand whats going on in your capX

  • You only create the invisible object on the tile that has respective frame that you want to check. You do this in one go. The number of objects won't be doubled, but yes, it will still increase.

    Actually, ...how many tiles objects do you have anyway? And which device are you actually trying to put this game on?

    im generating one hundred tiles and im making this game for tablets and high end phones

    I plan on reusing the function for different layouts.I just need a for sure way to check if tiles are right next to each other which seems it is possible to do without arrays.

  • blackhornet i would love to know more about checking for the bounding box values.I never heard of doing such a thing.

    i like this idea of creating an invisible sprite,I could be more precise with where i want to check for the overlapping collision.But also it has a fall back,Wouldnt i really be generating twice as many sprites than really needed? If i cant find another route i will have to use the double sprite techniqe.Thanks for replying so fast.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the thing about arrays is that its just to complicated for me to grasp at this time.I have gotten no sleep because of arrays.I was hoping to find alternate ways of checking if a tile is next to another tile.I will try your way and i have heard of a different from a friend on the forums.Thanks you keroberos

    vee41 So would i just make my collison mask bigger? and if i did make it bigger it would make my solid collision with my player funky aswell wouldnt it?

RookieDev's avatar

RookieDev

Member since 9 Apr, 2013

None one is following RookieDev yet!

Connect with RookieDev

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies