puzzele's Forum Posts

  • Roccinio: Thanks VERY much for the info. I admittedly didn't even realize those transition examples are there. Unfortunately for me, they seem a bit tooooooo involved -- or perhaps I'm just lazy. I kind of was just hoping for a lot less events. For example, here is just a small portion of one of the events: ((time - startTime) / duration / 2) * 15 <---- I don't know about you, but I did less math throughout my entire education -- and if I have to involve math just to make a transition, I'll go nuts. Plus, I'm a novice and have enough trouble getting stuff to work properly -- so I don't want to also start worrying about whether the transition effects will work for everybody (i.e. it is my understanding those transitions aren't compatible with all browsers).

    Perhaps what I'll try is just have a sprite of a huge white screen covering the entire game area... then I'll tell the white screen/sprite to 'fade out' when the system starts -- which I'm guessing will look like the game is fading in. Maybe that is easier for a newbie like me...

  • Roccinio: Thanks VERY much for the info. I admittedly didn't even realize those transition examples are there. Unfortunately for me, they seem a bit tooooooo involved -- or perhaps I'm just lazy. I kind of was just hoping for a lot less events. For example, here is just a small portion of one of the events: ((time - startTime) / duration / 2) * 15 <---- I don't know about you, but I did less math throughout my entire education -- and if I have to involve math just to make a transition, I'll go nuts.

    Perhaps what I'll try is just have a huge white screen covering the entire game area... then I'll tell the white screen to 'fade out' when the system starts. Maybe that is easier for a newbie like me...

  • nimos100: You did EXACTLY what I was trying to do.... Thank you soooooooooooooooo much. Seriously!! It is incredibly kind of folks like you who go through the time and trouble of answering my questions. And I REALLY appreciate you taking the time to even draw a tree and a car for me to make it even easier for me to visualize!!

    Seriously... now that I see how the heck you did it, I understand.. but you know what... I really don't think I would have EVER figured it out without you showing me... but now I got it... so sincerely thanks once again. I'm keeping the capx file in my 'learning' folder for future reference also.

  • You know how you can view your photos on the computer, like in a slideshow, and you can generally choose different effects between the different photos (i.e. fade in, fade out, photo slides in, etc).

    Is there a way to have similar effects when a person goes from one level in a game to another? Right now, when the first level is done, I know how to tell it to go to 'level 2' on another worksheet.. but is there a way that I can have an effect between the 2 levels easily?

  • nimos100: Yes... I fiddled with the 'scroll to x' but I still can't quite figure out how to get it to do what I want. I'm sorry.

    Basically, I'm making a car game - where you only see the car on its side and its driving to the right side of the screen. The car does slips/etc also going towards the right... but I want the screen to ONLY scroll to the right when the car goes to the right.. the car also goes at different speeds to the right.. and sometimes even stands still.

    Hence, I'm a little stuck on how to get it to the scroll to the right while avoiding the up/down issues. Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm making a car game.. I ONLY want the screen to scroll to the right -- when the car goes to the right..... but I do NOT want it to scroll up or down... How the heck do I do it?

    The car has the behavior of 'scroll to' -- but I can't figure out how to do the above and disable the up/down scrolling... Any info would be greatly appreciated. Thanks in advance.

  • Oh.... Okay.. I don't understand the technical mumbo jumbo... but sounds like a compatibility issue. O well... at least I'm not missing something. Thank you for letting me know. It saves me the time of trying to figure out what the heck the problem was.

    Ironically though, I can get the box to go down on the identical same lift with no problems... it just sporadically sometimes doesn't go 'up' the lift.

  • I have a similar question: I made a pretty detailed game level. I thought it would be easier to just 'duplicate' the layout on the second level so I don't have to bother copying/pasting lots of the graphics in the second level. That worked fine.. However, now I evidently am stuck/forced to use the 'event editor' from level 1 ALSO on my level 2 game (since I duplicated the layout). It does NOT let me use a different 'event editor' for level 2.

    Is there a way to tell the software to use a different 'event editor' for level 2 since I duplicated the first level? I tried to create a new 'event editor' using the same name that I used for level 2, but that doesn't work. I THOUGHT this would be a great way to continue building the second level without having to re-create the entire level over using mostly the same graphics from level 1 but perhaps I'm wrong.

  • Doh! Thanks Kastas.. I swear.. I starred at that forever!!! Never thought of the layer issue. MUCH appreciated.

  • I am making a car game. I 'pinned' an invisible barrior to the top of the car. This way, if the invisible barrier pinned to the top of the car hits anything, that tells me that the played had a bad crash (flipping the car is allowed - as long as it doesn't hit anything).

    However, how do I set up an event that basically says:

    Collision with the invisible barrior (that is attached to the top of the car) collides with ANYTHING?? Right now, I'm making a ton of events saying if the top of the car hits the road, hits the sign, hits the bridge, etc.... is there an easy way to set up an 'anything collision?'

  • I also looked at the manual... it said:

    If you need more advanced scrolling, e.g. limited to certain regions or following the player after a delay, scroll to an invisible object which you control through events.

    However... since I'm using physics, when my main character flips around and is 'pinned' to an 'invisible object' that has the 'scroll to' feature, the screen appropriately focus on the 'invisible object' and many times doesn't even show the main character on the screen while its flipping around. Hence, I'm not sure how to do the scroll to the right idea I mentioned above...

  • The main game character uses physics. I'd like to make the physics scroll to the right... but I do NOT want to keep the main character in the center of the screen. Is there a way to use the 'scroll to' feature -- basically making the size of the game area larger, WITHOUT keeping the character in the center of the screen?

    For example, I want the character to start on the far left side of the screen... Then when the character eventually moves to the far right side of the screen, it will THEN begin to scroll to the right enlarging the play area.

    Is that possible? Again, I'm using 'physics' for the main character. Thanks in advance.

  • I just killed another hour trying to make this little red box go up -- be being lifted by the silver piece that is going up in my capx. Both have physics. What the heck am I doing wrong? Why doesn't the red box (that lays on top of the silver lift) not go up??

    I'm sooooooooo confused.

  • I am making a game with a car - side view. Hence, I have the front wheel as one sprite, and the back wheel as the second sprite.

    The objective of the game is to get the car to be completely stopped over a particular platform. Hence, I TRIED to set up a condition for the following 2 conditions:

    1. If front tire collides with platform (basically parked on top of the platform)

    AND

    2. If back tire collides with platform (basically parked on to of the platform)

    However.. I do NOT see how to set up a single condition for BOTH of these options.. once I tell it to detect if there is a collision with the front tire, it does NOT let me set up in the same condition to also check about the back tire.

    Any ideas?

  • Its a loooooong story, but I've simplified the entire problem in the attached capx file. I've removed virtually everything I could think of to solve the problem but I'm once again stumped.

    Basically, I cannot figure out how to get the 'scroll to' feature to work. I've gotten it to work in the past, but I must have changed some type of setting in the attached capx file that does NOT let it auto scroll... and I just can't seem to figure out what I did.

    Basically, as you will see, the ONLY thing in this capx is grass (physics, nonmovable). And I added a red square (physics, scroll to).

    When I hit the right arrow, the red square will correctly get pushed to the right side of the screen, BUT WHY ISN'T IT SCROLLING TO THE RIGHT AND KEEPING THE RED SQUARE ON THE SCREEN? Instead, the red square is getting blown off the screen -- basically, the 'scroll to' feature of the red square isn't working. What the heck did I do?

    I've starred at this for an hour and CANNOT figure out what the heck I did. Thank you sooooooo much.