SamRock's Recent Forum Activity

  • Hey Fimbul

    So glad someone responded.. Thanks a lot.

    I created an "invisible" wall to mark the point at which a new block should be created. Its kind of okay now. I was able to nearly able align the new objects to the currently colliding block.

    To solve the drifting issue I used the "Custom Movement" behavior and at every TICK telling the block to Accelerate toward certain X,Y(ie, Bottom left corner). For now its working fine except the initially created poles.

    But yes.. later on I would want my character to change directions too. In that case my "Accelerate toward X,Y logic wont work out. Is there a something that can handle the change in direction?

    Attached is the Capx file for your study.[attachment=0:zf5dxmoq][/attachment:zf5dxmoq]

  • Hey thanks again man! I agree with you on that.. I hope some of "them" respond

    My code is somewhat based on the Autorunner template itself. I didnt look at the procedural level template. Will have a look at that

  • Thanks eli0s and shinkan

    Would be great if you can help me in the following thread. I am trying to achieve a infinite diagonal scrolling effect

    EDIT: Not allowing me to paste URL

    The topic title is "Infinite Diagonal Scrolling (For endless runner)" under "HOW DO" I section of the forum

  • Hi shinkan Thanks for the response. I should have checked that. But does this mean, by default the Origin is always the center and if we have to get the Left(X) and Top(Y) position we need to calculate it?

  • I dont think exporting to XBOX is going to be difficult because now Microsoft has come up with a Universal App concept. So any app you develop for Windows 8 or Windows Phone... will also work on XBOXOne.

  • [attachment=1:qtqs4m76][/attachment:qtqs4m76]

    [attachment=0:qtqs4m76][/attachment:qtqs4m76]

    Observe the above two images. Both sprites are Left Aligned(using Align->Edges->Left) to the same X on the layout. However when you click on individual Sprites it shows two different X values!! Sprite 1 is at X=112, Sprite 2 is a X=120.

    I noticed the same happening for Y also.

    Is there something I am missing or did I just find a BUG? The game I am trying to create is based on X, Y position, however due to this difference I have not been able to check the co-ordinates properly.

    Please help!

  • Hi All,

    Very new to Construct 2 and I already love it.

    I am trying to make an infinite running game where I randomly line up different poles(or road) which my hero has to walk on. The poles are not in straight platforms but diagonal. Start from Top right scrolling towards bottom left. Here is a sample image I created to show what I am trying to achieve.

    [attachment=1:2dkht8jv][/attachment:2dkht8jv]

    At every Tick, I am incrementing the Pole objects' X,Y but (-1,1). Also tried at Layout Start added bullet motion to -225 deg.

    As the poles move downwards, I am creating new poles at the top. This is where the problem started.

    1) I am not able to properly identify where to place the newly created Pole from. How do I get the Position of the Last created Pole, so that I can "attach" the new pole to it?

    1.1) I managed to identify the last created Pole using an Instance boolean variable called ISLAST. Using this I trapped the X and Y and use it to position the newly created object. But I am hoping there is a better way of doing it.

    2) I then noticed my Pole platform started drifting to much towards the left, like this:

    [attachment=0:2dkht8jv][/attachment:2dkht8jv]

    I primarily need help with the drifting Platform/Pole. Any help will be greatly appreciated!

    Thanks,

    Sam

  • peajey, would you be able to share the logic to connect various roads on your game? I am trying to make something similar but using simple diagonal scrolling.

    Need some help here: (Image posted)

    Also how are your seamlessly scrolling the level? Would be great if you could share some of your tips here

  • EDIT: CAPX file included.

    Hi All,

    Very new to Construct 2 and I already love it.

    I am trying to make an infinite running game where I randomly line up different poles(or road) which my hero has to walk on. The poles are not in straight platforms but diagonal. Start from Top right scrolling towards bottom left. Here is a sample image I created to show what I am trying to achieve.

    [attachment=0:zgnpf9wz][/attachment:zgnpf9wz]

    [attachment=2:zgnpf9wz][/attachment:zgnpf9wz]

    At every Tick, I am incrementing the Pole objects' X,Y but (-1,1). Also tried at Layout Start added bullet motion to -225 deg.

    As the poles move downwards, I am creating new poles at the top. This is where the problem started.

    1) I am not able to properly identify where to place the newly created Pole from. How do I get the Position of the Last created Pole, so that I can "attach" the new pole to it?

    2) I then noticed my Pole platform started drifting to much towards the left, like this:

    [attachment=1:zgnpf9wz][/attachment:zgnpf9wz]

    3) I managed to identify the last created Pole using an Instance boolean variable called ISLAST. Using this I trapped the X and Y and use it to position the newly created object. But I am hoping there is a better way of doing it.

    I primarily need help with the drifting Platform/Pole. Any help will be greatly appreciated!

    Thanks,

    Sam

  • Katala, inspite of that you have created a really great game already

    Really appreciate your dedication

  • (Your very useful reply!!)

    Katala Thank you sooo much for the detailed explanation, your sample file gave me a good idea on how you are rendering the tiles. Till few mins ago, I was infact trying to rewrite the TileMap Plugin with a new name

    But unfortunately I am not able to understand whats happening within it. Also Construct 2 seems to be looking for the name "TileMap" and wont load the TileMap.png file by default into the tile selector.

    Few years ago, I wrote my own Isometric World editor on VB and C#. I stopped when it came to creating AI and pathfinding

    BTW did you try creating a isometric TileMap using the C2 tilemap plugin? I am not able to crack the Draw function.

    Again thanks for the response and great example file... on to trying out C2 to the fullest

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This looks great!! Would love if you could point me to some Construct 2 Isometric tutorial or material. Really interested to learn how to create an isometric level in C2.

    Thanks!

SamRock's avatar

SamRock

Member since 7 Apr, 2014

None one is following SamRock yet!

Connect with SamRock

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers

Progress

11/44
How to earn trophies