facecrime's Forum Posts

  • Hi everyone,

    What do I use to add linebreaks in text that I import from a json file?

    When I use "some text" & newline the import breaks.

  • Looks friggin cool!

    How big is your team and how long did you work on it?

  • Looking great!

    One piece of opinion: I feel like a crisp perhaps modern font would better contrast the lots of soft shading that you having going on everywhere. IMO

    The forest is cool, is that a combo of shadow and scaled layers for branches? Nice usage!

  • Mikal thanks for your time and feedback!

    Very good point about the damage feedback. Will definitely need to look into that as we progress.

    We actually want to rework the characters entirely and of course add all the missing animations.

  • A lot has happened, we have blocked out a bunch of levels, developed some new systems and refined many of the mechanics, the stealth in particular.

    I'd like to ask anyone with a minute to spare and an interest in stealth games to give our test maps a go.

    The AI isn't super complex but it makes for nice a stealth-lite experience.

    • AI reacts to sound and sight:

    Enemies have a fairly elaborate setup of vision cones, including things like peripheral vision and long range reaction fall-offs

    • Different floor types affect sound and movement:

    Tiled floors are louder than muddy ground, water slows the player down

    • AI considers floor types:

    Tiled floors are preferred because faster, the cat guards are hesitant to cross water

    Levels are mostly testing grounds for certain mechanics or gameplay challenges, somewhat in the Nintendo spirit of challenge-themed levels.

    More levels are to come, not all mechanics have been explored yet.

    Try it out here:

    https://www.scirra.com/arcade/action-ga ... aven-23421

  • Cheers dop2000 !

  • dop2000

    ah right, i will only have single digit numbers, so "2" or ",2," would both do.

    my issue is probably that i want to pass in a variable instead of the actual value in quotes. but the variable type is number.

    does it need converting then somehow or how do get it to interpret it as a text type ?

  • Oh wow, and really a cool one at that!

    Thanks zenox98 !

  • dop2000 Cool, thanks!

    I'm now struggling to cope with the variable types ...

    I'd like to treat my substring as a number but look for it within a string. So like finding the number 1 inside the string "0,1,2".

    Not sure about the syntax it requires.

    Should find(Object.myStringOfNumbers,numberInQuestion) work?

  • Hey everyone,

    not a coder, so I'm prolly abusing terminology again

    I want to have a text var on an object that I can fill with level design data in the editor and iin runtime treat it according to its setup data.

    e.g. have a variable 'spawnPhase' = "0,1,2" and during individual 'phases' of the map check if the object is currently meant to be spawned.

    so how can i get an event to look for the occurence of a string within a string?

  • jatin1726

    Would appreciate if you got around to it!

    I'm finding it pretty tricky to get a reliable gesture recognition working and would be quite curious about other people's ideas.

    And I have no idea how to do destructible pixel terrain, hence the lemmings concept sounds super hot as well.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • would also be interested in the gesture and lemmings examples!

    all files seem down atm, any chance of bringing them back?

  • Hi everyone,

    So my levels start with placing the camera. Based on its position I want to spawn the relevant enemies. How can I query if my camera has arrived at my desired destination?

  • dop2000 thanks for checking, the array seems to match up.

    another oddity I'm getting is that the function seems to only work when i use it in a touch event for clicking/tapping the button. it will then update only the clicked button.

    I feel like I'm missing something obvious here ...

    'on Start of Layout' does trigger EVERY time i load a map, right?

  • Hi everyone,

    I have a level overview screen and want the button to reflect the level completion status of each map.

    So on start of the layout I'm calling a function to cycle through all buttons, comparing each one to an array and changing its state variable accordingly. Another loop applies the state to play the related animation.

    But it doesnt seem to change the animation reliably, can anyone tell what the problem is?