LittleStain's Forum Posts

  • You do not have permission to view this post

  • Add a seperator after the amount of text that can be displayed in one textbox is reached, for instance |

    (choose a seperator that won't appear in your text)

    add a variable WhichPageAmI

    set the textbox to tokenat("YourText",WhichPageAmI,"|")

    on next page just add 1 to WhichPageAmI

    so if the text is

    With Scirra Construct you can create the most awesome games and if you need help you just ask on the forum.

    and you add | somewhere..

    With Scirra Construct you can create the most awesome games |and if you need help you just ask on the forum.

    now you have TokenAt 1 and TokenAt 2

    This way you could very easily chop your text up into pieces without chopping your text up..

  • It's all possible..

    Maybe you should use arrays for your weapons and use functions to calculate everything you want..

    What I would do is start making the basics you'd like and come here when you have issues that can be solved..

    Like the pin example, you say you've tried, so maybe you can upload a capx in which you have the problem so we can work on that?

    It's much easier to solve a problem, than to create a game..

    About the enemies:

    Give them line of sight behaviour or detect the distance between player and enemy..

    If player is not in sight move towards player..

    Minor stupidity would just be adding a bit of random to the shooting angle and such..

    Experience would either be a global or instance variable

    on enemy destroyed - add 1 to variable

    set experienceBar to experienceBar.width + 5

    A menu would be created visually from info in an array..

    Because you have so many possibilities I think learning about arrays is inevitable..

  • Inside the game you need the browserobject to create hyperlinks..

    The browserobject doesn't work within text as far as I know, but by adding detectionsprites at the right places to make the links clickable it could work..

  • You could:

    Create two floor objects and set them apart the distance of the hole

    Or you could make it as complicated as you'd like..

  • About the AI:

    What should your enemy do and not do and when and when not?

    About update purchase etcetera:

    Do you want a menu in which this is done or does the player upgrade his gun when walking over, should the player be able to switch guns at all times or just at certain places/times in the game?

    How and when does the player gain experience and how do you want this displayed, what does experience mean for the gameplay and how do you want this implemented?

    About Weapons equip coding:

    Instance variable weapon

    if player chooses handgun

    set variable weapon to handgun

    • if player variable is handgun

    trigger once

    set group handgun to active

    in the group handgun have all the events that are diiferent from when the player has another weapon.

    About character:

    Either create animations for all you want or have the hands head pinned to the player sprite..

    Another option would be to use an external program like Brashmonkey's Spriter to animate the player from loose parts and insert the whole in Construct2

  • do you only want one opening and should it be the exact same size every time?

    I mean you say random, but it shouldn't be random, should it..

    There are a lot of conditions it should take into account..

    have you seen the infinite jumping example?

    It creates random platforms, only thing you'll have to do is go down instead of up and decide which conditions your platforms have..

  • I might be wrong, but I dont think it's possible..

    There are many workarounds, but that depends on what you are trying to achieve..

  • It's all possible, but learning to create it will take time, patience, a lot of trial and error and more patience and especially time..

  • You can't change the project orientation..

    What I can think of is lock the orientation to landscape and in the special stages rotate the layout 90 degrees through events, that way you can create the layout in normal orientation..

    Best way to do it would probably be making the project-size square and placing the "camera" as wanted..

  • Using the timer behaviour and some conditions you should be on your way..

  • Instead of chopping up the text, why not place seperators and use tokenAt to decide which part of the text to display?

  • Set the paralax to 0,0

    put the hud elements within the dotted line in your editor..

    The dotted line is your original viewport..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought you meant something like this:

    Fit text

    But I'm not sure now..

  • Just to be clear..

    You want the object to move along the path while it is already moving?

    At what time do you want the object to stop it's original direction and start following the path?

    What happens if the player doesn't move his or her finger fast enough?

    Should it be possible to change direction while following a path?

    There are a lot more questions, but these should be the start..

    I can see a lot of issues popping up if you aren't clear about what would happen if a player touches a moving object, without really creating a drawn path..