naelian's Recent Forum Activity

  • Sorry i don't know very well "mode 7" features but seems to be like using 2/3 layers and give to this layers special parallax properties so when moving there is some effects of perspective ? ... it could be really cool doing this without using layers for that ... but also seems possible to do this without any plugin using layers and parallax settings.

  • Seems you need some help ...

    The layout size can be far much bigger than the window/screen size ... this feature is used in all scrolling games such as doodle jump. So you don't really create object in "negative" values pos but in pos out of window/screen "view" cause the "view" show only a small part of the total layout size.

    After that you have to solve the scrolling problem ... seems in "doodle jump" the view is centered on "doodle" ... so put the layout in "unbounding scroll:yes" and use the "scroll to" behaviour and assign to the "doodle" object ... The best in to create your own scrolling system using a invisible object with "scroll to" behaviour and make this object changing position when you want the view follow the mouse/touch/sprite or be simply centered in the screen depending on context.

    For some details about scrolling look at this sample project where the view follow the "touch" coordinates =>

    Sample

  • Yes laurent, you can set black color to the layer so you will see black instead of white on borders ... if you want something more beautiful use a TiledBackground with texture and put in at the bottom of the layer.

    Yes it's possible to make pan stop on piece drag ... overload the event for scrolling and add just under "is in touch" "not is dragging piece" (=> "is dragging piece" ("invert" mode)) ...

    I update the sample project with all this settings to show you

    always the same link => Here

    * Add vertical scrolling and scrolling only if "piece" is not dragging

    * Add Black color to layer

    * Add TiledBackground with Wave Texture + Sine Opacity wave in/out effect

    * Reduce opacity of the turtle sprite to see Sine Opacity wave in/out effect under it.

    You can do great things with a few lines as you can see ... you just need more practice !

  • There is a lot of other way to do that but this way seems for me the better and also for scirra (it's a scirra tips)

    If you still have a touch problem there is something wrong in your code. i send you a capx file with sample for better understanding ... if you still have problem share/send me your project for debugging.

    (edit) LINK to a sample project file for auto scrolling feature ... the touch event is not intercept ... (if piece is touch the rotation of the piece is stop and start again if not).

  • Show us you capx man, i think i can perhaps do something for you ... try my project => go fullscreen and look if you have the same problem (keep the mouse button push after pressing the play button for zooming/scrolling features on)

    The project => http://db.tt/9PuUoAlw

  • Big square "scroll" is done with what kind of object ? ... never use a text object as "scroll" !! ... text objects have strange behaviour making them displayed always on top of all others objects ... so perhaps even intercepting the touch event ! ...

    I use a centered invisible empty "Sprite" object as "scroll". To be really sure put this "scroll" sprite object on the bottom of the most bottom layer of the project behind all "active" objects ...

  • Look here man i think this is "reset dialogs" on "preferences" option ... you have probably drag the "behaviour" window out of your screen.

    http://www.scirra.com/manual/61/preferences/page-1

    LOL too late damned ! ;-p

  • I'm a father and my son is probably older than most of yours ! ;-p ... if you think i'm young cause i don't write very well english it's false ... it's because i'm a french man !

    I love all games not only video games ... boardgames, wargames, role- playing games ... always want creating games and start doing this with a oric when i was young ! ...

    Now i use C2 to create a game called "Undersea Challenge" ... it's a "jigsaw puzzle" game but with some arcade/action features (time limit/scoring/leaderboard ...) specific undersea rules and feelings ... Try to do something very special that really surprise players !!! ... something new with old ... it's a real challenge !

  • In fruit ninja slash sound is played even if you keep finger on the screen after the slash (no released touch event) and also begins when the slash start ... so perhaps it's more something about velocity checking ... and so need checking the range between previous and actual touch X/Y to give short or long sound ! it's not so easy and it's perhaps done with a lot of very small sounds playing after each others or a single sound but changing the playing speed of the sound itself !

    Good luck, and i think many guys need this kind of effect so it's a really interesting post ;-p

  • I use "pin" behaviour in my game (jigsaw puzzle) to move automatically 24 shadows behind 24 sprites (drag & drop "moving together" effect without any X/Y management).

    The real benefit for me is to keep body line code and "on every tick" sub code for game's logic and conditionnal behaviours. If the pin effect is constant, no need to overload body code and "on every tick events" more than needed !.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes it's true, need more details for good answer ;-p

  • If you want to do this for a fullscreen-able game, use scale mode for project and create a invisible object with the "scroll to" behaviour and with the size or your default window size ... the goal is to make this object move and auto scroll the window automatically for you on every tick. For example, if this object "scroll" is centered with X=320 Y:200 (640/400 window size)

    On every tick

    If Is in touch          -> scroll.X=(Touch.X+320)/2

    If not in touch        -> scroll.X=320

    The last condition is here to centered the view again when you touch nothing

naelian's avatar

naelian

Member since 21 Apr, 2012

None one is following naelian yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies