BadMario's Recent Forum Activity

  • Arrays are the way to go, but if you don't know them my idea could be used, and of course you can always combine the two. You will have to create platforms and position them on top of the scenery. I would suggest learning Arrays too, but you could use instance variables to set their position for each segment or attach via Image points to actual scenery sprites. But, that could be more time consuming than just learning Arrays.

    This is an ugly image of what I was talking about

  • You could simply use 2 background image sprites, each one containing parts of your track ( frame 1,2,3,4 etc.... ) First one is on screen and at frame 0, second one is behind it to the right and set to frame 1, they will scroll left at same speed. So as the first one scrolls left and gets out of the view reposition it behind the second one currently on screen, each time you re-position advance 1 frame. This way you create a background scenery loop. It will require some graphics work to make it look seamless. You can also measure distance based on which frame is currently showing. If each segment is 20 m., then at frame 10 you'd be around 200 m.

    This way you don't need arrays nor huge levels, just normal level size, squirrel does not actually move, scenery does.

  • [quote:3rxrn9d9]That's why there isn't one single plugin existing, because there is no standard, and it all depends on the network you are going through

    Well, then it should include a couple of plugins if necessary, but I don't think it is. Google is really the only game in town. One could actually argue that there is far more variety with mobiles for which there is an official plugin.

    Construct 3 ad plugin is admob ( which is Google ), so for HTML 5 games just make one for adsense for games ( still exists I guess? )

  • So now that Construct 3 is out of beat what is the situation with ads and IAP. More interested in ads right now. I know about Ultimate ads plug in, but that is for mobile stores which don't interest me right now. I am more interested in implementing the usual browser/google ads before game starts, between levels and so on. Does any of that work in Construct 3 or we still have to code our own stuff?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One could argue that "real" programmers do not use Unity since Unity does a lot of things for you and also forces you into its way of doing things. It's just that compared to something like Construct it requires more coding knowledge, that's all. Whether that's good or not depends on you and what kind of games you want to make.

    I agree, major failing of Construct is crap export options and integration of ads. Not being able to see the forest from the trees comes to mind. Making sure export options and ads worked flawlessly would have made all the difference. As nice as Construct 3's new features are they do not make any difference in the real world.

  • Custom explosions are easy, just have animations of fireballs, smiley faces you mention, and whatever else you need. Then add some particles in Construct and use a combination of those.

    Tracking the player is easy, never tried that with custom movements you describe, but I think it's all doable within reason.

    The limitations you may have to worry about will be in the area of "exactly how many of these can I have on screen at the same time"

  • Then I would have a global variable, something like "whichsound" if whichsound = 0 you play sound 0, and switch variable to 1, so next time event is triggered it plays sound 1 and switches back to 0. Sounds will alternate and you only need a single trigger.

    In my sample you have a variable ( call it triggersound or whatever ) that's reduced by 1 each tick, from 60 to 0. When it reaches 0 event is triggered and variable reset to 60 to start the countdown again . Now 60 is the starting value stored in a variable called stress. You simply set this to stress = 30 and sound will be triggered twice as fast, you can set it to anything to speed up or slow down triggering. That stress variable can be set by anything you want ( in my sample by position of the square you drag ).

    To simplify ( hopefully )

    soundvar = 0

    rate = 60

    triggerspeed = rate

    System Every Tick > subtract 1 from triggerspeed

    if triggerspeed = 0 trigger sound ( 0 or 1 )

    If sound 0 played, set soundvar to 1 so next time it plays sound 1 ( and the other way around )

    set triggerspeed back to rate

    Changing rate variable will speed up or slow down triggering of sounds

    I am sure there are other ways to do it, but I am used to using timers like this.

  • Something like this? This is a single heart beat sound sample though.

    http://www.deusx.com/heart/

    Could be refined further by using different sound samples for faster heart rates ( sounds realistic up to 120 bets per minute, after that I would switch samples ) , but events pretty much stay the same

  • That's not gonna help him, he will need to code his own plug in or maybe, just maybe do it using google pre-roll ads. Construct 2 and 3 are really lacking in this area and Scirra does not understand that this is far more important than Construct 3, which ads practically nothing to Construct 2 ( Anything anybody can do in Construct 3 I can do in 2 and in the same amount of time, so I am really puzzled by this lack of understanding of what really matters ).

    make it easy to insert ads at any point within a game, the way CPMStar works with Flash games, and then you have something that really counts and will increase sales.

  • Yeah, it's different if you are used to normal coding, but you can still apply your coding knowledge to what you see in Construct, but you need to sort of wrap your head around it and start thinking Construct 2 way. I was actually surprised how easy it was. I only did that basic tutorial and read a few things from the manual, then just look up the rest as needed..

    Found only one case where it can't do what I want it to do without making things complicated compared to what I used to do in Flash.

  • [quote:30v9rvtt]Web is easy, it just reloads the new version.

    Apps are easy - push an update to the app store.

    In a perfect world yes. A lot of the time does not work at all.

    I guess this depends on browsers and whether you add some code manually to your index.page, but a lot of the time it goes like this:

    Upload a new version of construct 2 html5 export to your site and keep hitting refresh until your hand falls off, you will still see only the cached version until you delete your browser cache.

  • Probably keeps setting sleep animaton every tick. Make sure it runs only once, once player falls down, otherwise it will be stuck at frame 1 because it keeps repeating ( play sleep animation ).

    Also when using physics, probably better to use a dummy object with physics behavior, then pin actual animation sprite to that ( no physics on this one ) , so frame changes don't interfere with physics. Hide dummy object on a bottom layer under backgrounds once it all works the way it's supposed to.

BadMario's avatar

BadMario

Member since 3 Sep, 2015

Twitter
BadMario has 2 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies