Xavier's Recent Forum Activity

  • Thanks, it does work actually.

  • Hello. I know there are some tutorials on how to get random numbers without duplicates on the forum, but these usually use arrays and look a bit complicated, I was just wondering if there may be a more simple way of doing what I need, otherwise I guess arrays will have to do.

    So what I'm trying to do is to randomize 3 numbers like so:

    13

    6

    11

    But I also want to exclude a number of my choosing from the randomizing, and of course I need the 3 generated numbers to be all different.

    Searching the forums I found and expression that R0J0hound posted some months ago on another post:

    choose(floor(random(5)), floor(random(0,20)))

    This expression is great because in this example I can randomize the numbers between 0 and 20 without picking the number 5 (unless I'm mistaken). The problem is that the 3 numbers may be duplicates.

    Any ideas? And thank you. Let me know if the explanation is not clear enought.

    Oh and to generate the 3 numbers I use a "For each" condition, just in case you were wondering.

  • How much are you paying per game?

  • Let's see if Ashley can answer tomorrow. In the meanwhile I guess you could try doing a moving platform with just events and see if the same problems are still happening. An easy way would be to create 2 platforms with the Wrap behaviour, one that goes always up and one that goes always down.

  • Steamworks is optional.

  • Are you perhaps using physics in any of those objects?

    Also check the collision mask on both objects and try setting it to a box.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • http://www.gamedev.net/page/resources/_ ... mers-r2936

    I recommend it, it explains how platformers are made and the techniques they are using for different actions and behaviours in which you can perfectly implement with Construct 2.

  • Maybe you could use a dummy/empty sprite on top of the background, and have the collision happen on this sprite.

  • I don't know much about programming but do you think it would be possible to create some kind of wrapper for the Steamworks API using the Construct 2 SDK? If I remember correctly this has been done in some other programing languages. I think if someday some C2 games could get on Steam, it would be nice to have the achievements and stats at least, specially since Steam Greenlight will launch soon.

    For instance this wrapper is for XNA and Unity:

    http://www.communityexpresssdk.com/

  • I just thought this might be relevant:

    http://steamcommunity.com/greenlight

    Basically they are changing the way that games get on steam. When Greenlight launches, the community will be the one to decide what games are sold on Steam with a vote system. Obviously this is mainly focused on Indie games.

    Now my only concern is if this has any restrictions to what game engine is used, mainly if Construct 2 games could be accepted, via .exe wrapper for instance.

    What do you think?

  • Ok thanks for the replies it does work correctly now.

  • https://dl.dropbox.com/u/1910765/cursorover.capx

    If you look at the capx events, when you position the mouse over a block the opacity turns 50, and when the mouse isn't over, it's 100 opacity.

    But when you test it, due to the blocks being next to each other, the opacity never goes back to a 100 if you mouse the mouse to the next block. Try moving the mouse up and down on the blocks to see what I mean.

    I'm just wondering if this is a bug or if there is any workaround. Thanks.

Xavier's avatar

Xavier

Member since 16 Dec, 2011

Twitter
Xavier has 7 followers

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies