ronval's Recent Forum Activity

  • I just set it to every second object platform on layer 1 at (random(0,600),random (0,-30)

  • Ya I cant make a really tall lay out thats not very good game design cause people will learn the game and it becomes very boring fast. I have thought about making them moving but that is not very doodle jumpy lol. I cant believe that there is no way of actually doing this. Has no body made a doodle jump game with construct 2?

    Can I get a response from the Makers please....from the "architect" a little matrix ref :P

  • Nimtrix I tried that and nothing shows up properly

    I set create platform Position x random (0,600)

    Position Y random (0,-30)

    and that gets created but then it stops once im on those ones meaning it doesnt keep making them

  • So if I set the jumper to the bottom with scrollto added he will just keep jumping until it reaches the set window view any way and nothing gets created off screen

  • Im still confused to be honest with you guys lol how do those examples allow me to create out side the view cause I need them to be created randomly over and over again. Its not really feasible to make one giant level people would learn the patterns and thats no fun :)

  • Thank you for your reply

    Arent the positions out side the window view in the negatives??

    So how would I create objects outside the top of the Window view??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    I have been searching the forums for about a week now and havent been able to find an answer to any of these questions. I payed for the license thinking that might add these functions but it didnt so now I would like some sort of answers. It does seem that constuct 2 is powerful and you should be able to make this happen as its a pretty basic game machanic!!

    I have been trying to make a doodle jump game where platforms are created outside the window size or layout size (which is the same size as the window)and as he jumps he gets closer to them and they are now on the screen so he can keep jumping (using the scroll to behaviour and setting the unbound scrolling to yes). I have seen examples of objects flying inside the window, but I want to go the objects instead. This seems like a basic game mechanic.

    With gamesalad you set the position of the window view and size relative to what you call the layout size. If I could do this then this would not be a problem cause objects are created in positions that take into account the layout and not the window size.

    Is there any way of changing the window position or having the layout size be bigger than the window size but in the negative Y direction.

    Im not too sure why when I increase the size of the layout it grows in size from left to right and top to bottom. Again this wouldnt be an issue if I could just move the window down lol.

    I thought if I set the create object to position Y in the negatives then that would work but I never see them.

    PLEASE I NEED HELP!! Its important that this work as this is the base of 2 games I intend to make.

  • Hey Im not sure if this might be there reason for your camera shaking. Do you have a multiple layers? if so then if one of your backgrounds has any type of parallax values on them they will compensate for your character wrapping around which makes it seem like its shaking. Since the view is centered on scroll to which is your character not the background. I turned off the parallax for the background images and the shaking stopped. but for some reason my character still wraps around from the top of the screen even thought he never left the layout. is there a bug here??? I hope that helps you out. worst come to worst with a bit of math and some of the expression that come with constuct you should be able to make a formula using the players position relative to the position of either the layout or the window. Look at my question about bounce and jump through he explains how to get the position of the edge of the window. Although I'm not sure if that's correct.

  • I mean the window size and the layout which is under layout properties and project properties.

    They are both independent for each other when it comes to the size but not when it comes to their position. You know how the origin (x and y axis start) at 0,0 from the very top left corner. When you change the size of either the window or the layout they change in size from the top down or the left the right. So for example I want the layout size to be bigger but want part of this layout to be on coordinates that would be in the negative y values. Does that help?

  • 1) can you change the position of the layout or of the window relative to each other?

    If so how??

  • Ya im having the same problem. I have a doodle jump character and he is even wrapping from the top to bottom which i don't want only the sides of the screen. I don't know how to turn this off either lol

  • Thanks a lot for your responses they are very appreciated :)

    I have been playing around with what you gave me the whole day!!and they are being created but not in the right position I read the manual and if i understand it correctly

    scrollx

    scrolly

    Get the current position the view is centered on.

    and the

    The Scroll To behavior

    simply centers the view on the object with the behavior

    From your formula

    (random(scrollx-(windowwidth/2-leftMargin),scrollx+(windowwidth/2-rightMargin)), scrolly-(windowheight/2-topMargin))

    Since I have given the the scroll to behavior to my character that means the position of my character is equal to scrollx and scrolly (going from the logic of the manuel)

    But what this does is if i have my character on lets say x=20

    that would give me a random value starting in the negatives which means the platform is being created out side my window size sometimes. (just to be clear by window Im refering to area that is always visible when the game is running -so for example the screen size of a phone. I set this under Window Size in the project settings)

    I find a lot of the settings with construct are not very flexible or at least they dont appear to be (im also new to this so maybe that is why)

    I have read all the relevant parts in the manual that say anything about the windowsize I was wondering if your able to change its position relative to the layer. Every time i make the layer bigger it adds to the width and height from the top down and left to right. which i think is kinda weird.

    Having my character wrap is also not working im not sure how turn off the top and bottem wrapping when he jumps above the point where he is to wrap around (I thought this was supposed to be outside the window [the layout is the same size as the window]) but he is never out that so im not sure how he is jumping above that. I turned that off and set the bound to layout behaviour but now he reaches close to the top and is stopped so that wont work either. Im thinking this might be caused by the "scroll to" not keeping up with him fast enough ?? I dontknow . Making a doodle jump game is turning out to be harder than i thought lol. O well i think its fun :) thanks for your help again and sorry to keep bothering you believe me i have been reading the manuel and lookign in the forums first.

ronval's avatar

ronval

Member since 7 Apr, 2012

None one is following ronval yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies