lionz's Recent Forum Activity

  • How is your game working, is everything just scrolling down? The way the coins will work depends on how you have the game working, that was just a starting point. On the example I set the X to a specific value but you can send the X value through the function as a parameter or choose a random X inside the function.The platform code seems OK, probably something overriding it.

  • The only way I can see that it's doing that is if you put the numbers in quotation marks which means they're now strings and it's sorting them alphabetically by first digit.

  • Are the platforms separate instances of the same platform object? if so, give them an instance variable or boolean that toggles when the event first triggers/score is given. Then add a second condition into the landed event that checks that the variable/bool isn't set.

    So something like :

    Event - platform on landed

    Condition - platform (family) > compare Y > platforms 'greater than' player.Y

    Condition - hasScored(inverted) --------- give score, toggle hasScored true

  • You can simulate left/right whilst a boolean is enabled then switch it off, or you could make use of rexrainbow moveto plugin.

  • Here is an example of how to use a function to create a line of coins.

    https://dl.dropboxusercontent.com/u/495 ... ecoin.capx

    Rep isn't given, you just gain it when posting on here or by doing the various badges (see profile).

  • Although on second thought, you might want to be able to aim at all times..so this works for reversing the angle of the gun...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bullet behaviour : set disabled

  • The screenshots don't show you opening any event sheets...are they grey when you start a new project or add an event sheet?

  • If you do for each XY value, current value = "monkey", it will look for "monkey". Once found, the array.curY is the Y position of "monkey".

  • Ya seems pretty good, not entirely sure what you mean by smooth though. I made a capx where you click in two spots and it shows the angle from the first click, seems fine! If you're working out the new co-ords after 0.2 secs timer it should work in a similar way. https://dl.dropboxusercontent.com/u/495 ... seang.capx

  • That wasn't meant to sound harsh but imagine if I asked you how do I make an RPG can you tell me all the code and send me a capx. Construct 2 is a tool for making your own games and they can be progressively built and large so it is unlikely you are going to get a response like 'here is a finished snooker game I made for you'. If you have attempted one and need some help in specific areas or you came across a bug then I am sure you will get a response. If you want some general advice then you may get some but my advice would be to start with the manual and look at the tutorial levels if you are new to Construct 2.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies