Triforce's Forum Posts

  • Tried again for a few hours, not sure if im just dumb right now

  • I tried multiple things now and I just can't get it to work

    How do I make a fish hunt the player?

    Lets say I have a platformer.

    How do I make the movement on the fish so it tracks the player, sets position below the player, then makes a "realistic" fish jump movement in a curve then it falls down to the water below (and goes invisible again) then repeats after a few seconds.

    I tried the most movement options, but I just can't get this to work, is it supposed to be car movement (because of the curve?)

    Tried to search the forum for "Fish Behavior, fish jumps, curved jumps, fish" but coulden't find anything

    No idea, any help would be greatly appreciated

  • I use this plugin in Intel XDK and it works.

    cordova-plugin-ad-admob

  • If you're having trouble then the best way is to post on the Bugs section and possibly attach a .capx so that someone can recreate the crash and assist you.

    Is there a way to share the capx without letting everything out? else I can't do this, its countless hours of work currently in my construct file

  • I thought the Set volume action allows increasing the volume? I tried values from 10-50 (+ and -) and never heard a difference and thought its broken. I need to try again with much higher values then.

    I just dragged the .ogg in to sony vegas and raised the volume and pressed save, took 10 seconds and now I increased the volume by a lot!

    (can also decrease)

  • Suddenly got this

    No idea why haven't got it before, is there a easy way to resolve this or just "Ctrl z til fixed" ?

    Well I fixed it, it had somehow forgot the checkpoint and didn't knew where to respawn my hero.

    Still looking for answer incase this happens again

  • If object > Is on-Screen(inverted) > do the thing

    As for memory usage:

    Off-screen objects are not still rendered. Construct 2 does not issue draw calls for objects that do not appear in the window, and the GPU is also smart enough to know not to render any content that appears outside the window - even when a single image is only partially on-screen.

    The layout size also does not have any direct effect; larger layouts do not use more memory or require more processing, unless you use more objects.

    Thank you so much for this answer.

  • I have this massive layout (6500 x 4500)

    Filled with objects that move and so on, is there a way to pause these objects if its not in the visible window size?

    I guess take take memory even if their not visible?

    Or is it possible to maybe decrease the layout size (Currently its rectangular, but the space I use is shaped like a pistol? |- <--- Like that.

    Is it possible to remove layout that you don't use?

  • Sound always plays at full volume (0db). You can only decrease it: -5, -150,...

    oh I see, Guess I gotta make it higher in a external software then?

    Cheers mate

  • I tried to flip around, using 0.2/0,2 dB / 1dB / 2dB / 5dB but sounds / music is always the same.

    Does this function do anything or is there a other way for me to controll volume?

    Still no change even if I increase a lot.

  • are you using different layers with parallax less than 100?

    if so, you need to especify which layer you are touching when comparing touch. You do that by adding ("layername") to the touch coordinate. E.g. --> Touch.X("Layer1")

    For your other question:

    Every tick --> Simulate pressing right

    When you stand still --> set player max speed = whatever speed you want

    When you move right + trigger once while true --> set player max speed = Player.8Direction.Speed * 1.2

    When you move left + trigger once while true --> set player max speed = Player.8Direction.Speed * 0.8

    You cant change the multipliers to get higher speed variations

    Skipping the movement plates for now but got the touchpad to work!

  • I am currently bumping my post, thank you

  • Solved:

    If anyone else have this problem aswell in future and searching and finding this.

    I used

    "System -> On start of layout (This is on the first layout, menu) -> Audio -> Preload "your music"

  • So right now, I have a menu with music and a Level select with music. (2 different tunes!)

    They both have different event sheets.

    This is how it looks on the menu

    This works 100%, everytime I open the menu, I get the sound, both to play and it stops when I go to the next layout it's totally quiet, if I refresh the layout nothing happens. BUT. If I go in Construct 2 and start the layout from there, I get the sound (So it skips the menu layout).

    This is how it looks in the level select layout.

    How come this don't work when I switch layouts from Menu to Level select ?

    Do I need to use the same event sheet for this task?

    -----------------------------------------

    Gonna add some extra info here as I just found out.

    I get it to work if I use the SAME song (Like "menu" "menu")

    this is pretty wierd

    -----------------------------------------

    Another edit:

    Seems like it knows there is a song there, but it dosent load it or something?

    -----------------------------------------

    Another one (I feel like Dj Khaled)

    If I would play "Level" in start menu it works in "Level Select" aswell

    So aslong as I use the same music in different layouts, it works, But I cannot use 2 different?

    -----------------------------------------

    Another one.

    I now imported a third .ogg (different)

    If I use the new music in menu, the sound changes in level select.

    but if I use the original it does not.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you sure the text is above the other in the Z order?

    Share your .capx and we can look and see what's wrong.