GideonG's Forum Posts

  • Hi all!

    I'm just wondering if there is a way to limit the parameters of an action?

    What I looking for is kinda like the "move at angle" action, where you can choose angle and distance, but I need an expression to basically say that if the object is moving towards a position under 200 pixels away, it will go the whole way, but if it's further than 200 pixels away, it will only move 200 pixels towards it.

    Sorry if this is a touch vague, it's just something I haven't encountered before! XD

    Thanks in advance everyone!

    Regards,

    Gideon

  • Wow. It's there alright. You'd think after two years I wouldn't be this stupid with it. -_-.

    Thanks so much for the help man, you've save me a lot of heartache!

  • Hey all,

    I ran into an 'issue' today, and I'm not sure if it's a glitch or a removed feature:

    Has the 'touch' input object been removed from the free version of C2?

    Mine has disappeared and I'm not sure if it's a glitch or what?

    Thanks in advance for help!

    Regards,

    GideonG

  • Hey Usman, I think I got it working the way you asked,

    https://www.dropbox.com/s/aj79dite1gny0 ... .capx?dl=0

    Try that and see how it goes! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Thanks for you help! So If I set the fullscreen scaling to crop, does that mean that any sprites I have with zero parallax have their position set relative to the size of the view?

    What I'm trying to construct is a border around the view that surrounds the view, regardless of it's size/shape on any device.

    Thanks so much LittleStain !

  • Hi everyone!

    I'd love it if someone could provide some help with how to make a layout view that automatically adapts to the player's device's screen size. (Say for example on a phone the view is 100x500, or 740x480 on a desktop, etc, etc).

    Further to that, I need to know how to make sprites position relative to this adaptive view. I have some objects that form a HUD, and they're on a layer with a paralax of 0, however I'm not sure if their positions would work with every screen size, if you get what I mean.

    Any help is greatly appreciated!

    Regards,

    Gideon

  • Oh! I did wonder about that! That's great!

    Regarding the idea of fake movement, I did seriously consider that, but because I want to measure a couple of different things that are fairly dependent on actual movement, setting up pseudo measures would end up making the game needlessly complex, as I would need to create a sort of "pseudo physics" engine. The point about spawning objects around the player is a really good idea though, thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey all,

    I'm currently trying to make a game similar to a 'launch' game (as in, launch and object, get money, upgrade object and launch it further), but I have little to know idea about how to make the layout the correct size.

    Do I just make a MASSIVE layout and hope it doesn't make things lag massively, or is there a way I can make an 'infinite' layout through expanding size or something? I am using physics to control the object if that has any bearing on any help anyone can give.

    Sorry if this is a bit vague, I'm at a loss to how to even approach this! Thanks in advance!

    Regards,

    Gideon

  • I THINK that projects need to be exported to the Scirra Arcade format, or at least it will be far easier and far faster to get it working if you do so.

    Also unless your project is using physics or local storage, very few behaviours and such have been changed, so you may seriously want to consider updating.

  • mcclou03, justifun is right about the 'compare two variables' way of doing things. Regarding the roaming, try having your dinosaurs walk forwards, then at random intervals change their angle. That way they'll randomly amble around the map.

  • There's an example game called 'Top Down Shooter' that would be a fairly good place to start.

  • Glad you figured things out! With regards to finding the jump through, maybe try looking for some tutorials on physics based platformers, I'm 90% sure there is one out there.

    Here are a couple I just found, they might have what you need!

    https://www.scirra.com/tutorials/273/ho ... platformer

    https://www.scirra.com/tutorials/333/gr ... tform-game

  • ShinobiSlash in regards to your third question, I would suggest adding another condition to the 'Jump' event where your player object must be colliding (touching) with a ground object (or other platform) as well as pressing the 'jump' button. This should solve your infinite jump issue (I had a similar one).

    Hope this helps a bit!

  • So what's the issue, or are you just looking for how to do it?

  • Lexball03 No worries at all! Glad I could be of help!