neverk's Recent Forum Activity

  • 3 suggestions:

    1. you probably already checked, but the offset has to be the left bottom of the ground object, not the middle

    Update - I just saw the video - this is not the problem, because the bush would be placed wring bit still move together with the ground

    2. For a different solution, you can add a few image points and select one at random to place the other object

    3. check if your bush is on the same layer as the ground. If it is on a different layer, the x-y coordinates could be different.

    1. Yes, the origin is at bottom-left.

    2. That's not probably a solution, because I would like to have a dynamic positioning, because the ground can be any width...

    3. I tried with a same and different layer, and the problem remained...

    oosyrag That "move at angle" might work, but still, I would like to figure out what's wrong with this one...

  • This happens if I set the pos every 0.2 secs

  • Do you move the ground sprites at all?

    Does it still occur if you use “time =0.1” instead of start of layout?

    Worst case, make a copy of your project and start removing everything else until it stops occurring. At the very least it will give a minimal example.

    To me it looks like things are being moved after you set the position.

    Well, the ground is very static and I'm not moving it at all, at least not on purpose...

    I have two "on start of layout" events. I have to check if that is the case. --> EDIT --> didn't help.

    R0J0hound Still occurs, even I set: time = 0.1

  • Check your imagepoint origins maybe? If you have variations on different animation frames the origin point may not be the same on each frame.

    Thanks for the suggestion. I checked the decoration, but it has only one frame at the moment. I'm intending to add more frames, but after it works... The ground is tiled background and the origin is set to top left.

  • Nothing is wrong with your equation, there is something else at play here.

    Have you tried putting them on the same layer first before setting the position? Perhaps some parallax is the issue.

    The decoration is in the same container with the ground.

    I have two layers for the level and they both have the same parallax rate. I disabled the "move to layer "levelbg"", but it didn't fix the problem.

    faulknermano

    Good suggestion, but it won't help now, because the cap appears randomly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • At the start of the frame, I try to position those decorative bushes randomly to the ground, but sometimes they appear higher.

    The code is basically this:

    Start of frame: 
    set x to ground.x + cos(ground.angle)*random(ground.width)
    set y to ground.y + sin(ground.angle)*random(ground.width)
    [/code:2d1dakb5]
    
    [u][b]This is now fixed. I was wrongfully setting both X and Y with different random numbers,[/b][/u]
    
    [u][b][url=https://rawgit.com/neverk/BouncyBoi/master/game/index.html]Can be tested here[/url][/b][/u]
    
    [img="https://raw.githubusercontent.com/neverk/BouncyBoi/1bb62198/wrong-pos.jpg"]
  • https://developers.facebook.com/success-stories/frvr/

    There is defintely a huge audience in facebook and already interesting success stories. I hope we get the monetization part also to the plugin. FRVR basketball game was played over 500 million times during closed instant games beta.

  • C2 already exports to BtG, Open Webaps.

    Oh, that’s good to know. Haven’t ever noticed, because haven’t needed... but is it any way usable performance wise?

  • Could it be possible to make games for KaiOS with C3?

    Basically, HTML5 apps/games should work with the OS, but it's intended for lower-end devices... There have been some performance issues with C2/C3 games in the mobile field, but maybe with the new runtime?

    KaiOS is based on Mozilla's open source B2G OS. The apps are built purely with HTML/JS/CSS stack and any web application/website that is mobile friendly can be an app with just minor modifications. inbuilt webIDE can be used to build apps for Mozilla OS, see more here.

    KaiOS

    There will be quite a big market in developing countries, and for instance, Nokia is coming up with a new KaiOS phone 8110 4G.

  • If you don't have to make calls with it, maybe you could go with a small tablet?

    Like this on:

    https://www.gearbest.com/tablet-pcs/pp_1616260.html

    There's some at banggood.com aswell

    https://www.banggood.com/Wholesale-Attribute-Android-Tablet-c-1759-s-4477v37577.html

  • The new runtime sounds extremely great, and basically, it's almost all that I was really hoping for. I don't mind the subscription model, and actually, the web-based system is quite practical when I can access my projects from anywhere. If even half of the features that are spoken of are provided, then C3 is more than justified.

    Some Features that I'm hyped about:

    1. Improved performance

    2. Modular events

    3. Sub-layouts

    4. A more capable graphics system --> e.g. official drawing canvas

    I have used most of the common game engines, and none of them are as fun and snap to use as C3. And if the new runtime redeems all the promises, the only missing thing is console exports (PS4, Switch). At the moment C3 is great, but it's going to be kick-ass epic!

    Scirra is definitely ahead of their time with C3, and I can see more companies follow the same path in the near future, but I just hope that Scirra hasn't lost too many of the evangelists and important stakeholders with their business direction. I have seen the frustration and leaving of the more serious game and add-on creators, and it's probably impossible to win them back, even thou C3 would be everything they hoped.

  • neverk this is just a browser security system in preview mode, recommend that you use Node Webkit in development. But after the export will not get this error.

    Cheers.

    Thanks for the quick reply. Great plugin!

neverk's avatar

neverk

Early Adopter

Member since 28 Dec, 2007

Twitter
neverk has 4 followers

Connect with neverk

Trophy Case

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

Progress

21/44
How to earn trophies