OddConfection's Recent Forum Activity

  • You could give each player an on-screen controller (sprites) and just control the goalie by object touched

    For example:

    [attachment=0:2z86k6j2][/attachment:2z86k6j2]

    You just need to do a check which controller belongs to which player when they are touched so you move the right player

  • JJEvil

    I've not posted it on reddit, but feel free to share the list on reddit or anywhere else. The more support for Construct 2 and Construct 2 created games we can get, the better it is for all of us indie developers.

    You're welcome. Cosmochoria is a great looking game and I know how important success on Steam can be to an indie developer. I'd say you're definitely on the right track.

  • I've posted an announcement about Cosmochoria's early access release in my Collection of Construct 2 games on Steam

    Good luck with the release.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • else

    You could use the Timer behaviour for each enemy

    [attachment=0:13aqpclx][/attachment:13aqpclx]

  • Tombufa

    Use conditional expressions (essentially an if/else)

    For example,

    Set Text: random(100)<80 ? "" & X : "" & Y

  • RustyRoi

    Here's an example of dragging and dropping sprites and checking for an exact location match.

    [attachment=0:1jofr7wk][/attachment:1jofr7wk]

    You might be able to adapt it for your project.

  • Roadiek9

    Use the Browser plug-in

    Do the Browser->Request Fullscreen action to go fullscreen. Although if you use a wrapper - Crosswalk, CocoonJS, PhoneGap - it should handle fullscreen for you with the right settings.

    You can use Browser->On back button and Browser->On menu button conditions to check for the buttons being pressed

  • The new layout has all new sprites and objects and the pathfinding is restated on each layout, essentially starting everything over.

    Do you have a delay, e.g. Wait(0.1), before generating the obstacle map to give the objects/sprites time to be created?

  • Go48Games

    I'm not sure why it's not working, it seems to be set up the same as the example except for Mouse instead of Touch (using Touch would accept mouse clicks too with "Use mouse input" set to Yes)

    You asked about changing view position before, so is there any scrolling or scaling or layer parallax or anything like that in this Layout? Those can affect the Mouse.X values.

    You might need to use Mouse.X(Newsprite.LayerName) so it adjusts the Mouse.X value for that layer.

    If that doesn't help, you could send the Mouse.X value to a Text/SpriteFont object on click to confirm it's getting the right position.

  • Thanks.

    I claimed the first code: 9JYP-JSKF-NHEU-ZA3E-85PV

  • Heska

    A clamped lerp (as in this thread) would work as well.

    Edit: made an example of text falling into place

    [attachment=0:qah01xhy][/attachment:qah01xhy]

    You can adjust the speed (pixels per second) by changing the number 128 to something else, and adjust 240 to change where it ends up.

    And I believe the behaviour LittleStain was referring to is: LiteTween

  • Thanks its exactly what I needed. To get it to work with my own sprite I tried to change to code from Sprite.X .... to Newsprite.X and everything else where "Sprite" was mentioned. I also added the 2 instance variables to my newsprite. But it doesnt seem to be working, what did I do wrong, did I forgot something?

    In the Mouse on any click event, you need to set the instance variable Destination for the Newsprite not the blue sprite.

OddConfection's avatar

OddConfection

Member since 26 Jun, 2012

None one is following OddConfection 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