winkr7's Forum Posts

    You spend hundreds of hours learning and working with any game engine you choose. In the end that is the big expense. If you waste that learning time on an engine that goes out of business or quits doing updates, that is the biggest loss, not the price you pay for the game.

    I support keeping construct in business for years to come mostly for the sunk learning cost.

    yours

    winkr7

  • Put all the sprites in a family called canBeClose and test all members of the family for nearest member of the family canBeClose (excluding the family member of canBeClose doing the testing of course). If distance is < how_close_is_near then set the boolean to true in the canBeClose member doing the testing.

    do this every tic or every .03 seconds.

    yours

    winkr7

  • You could create a shadow (invisible sprite) that follows the player about a half second later. Then have the AI look for the shadow rather than the player so it is always looking at where the player was a half second ago.

    You could create several of these with delays etc and have the AI pick the one it goes after at random.

    just some thoughts.

    yours

    winkr7

  • You were around for rex rainbow and how that didn't end well. I am not a good enough programmer to know how to build an inheritance type API you could expand but that seems to work in other development environments (I am looking at Fortnite's ecosystem atm).

    Good luck with your expansions.

    yours

    winkr7

  • Look at the persistent inventory example. That is a place to start.

    yours

    winkr7

  • Do you mean you are using the canvas object while in run time, or is this pasting to the layout? If it is the layout at design time you probably have snap to grid turned on.

    yours

    winkr7

  • You can find closest and farthest sprites--this makes the code simpler if that is what you are after. If you want all the sprites in a certain range you can check which overlap a round fake-sprite centered on the player. Why are you doing the comparison?

    yours

    winkr7

  • You do not have permission to view this post

  • It is coming along well. Looking forward to an alpha.

    yours

    winkr7

  • If you have two surfaces that exactly overlap (say a water lilly floating on a surface or something hanging from a wall) you get lots of flicker when you move the camera but when you stop it settles down.

    Just an observation.

    yours

    winkr7

  • I like bringing a project back from years ago and being able to get it working in the most recent version. I also like being able to run off of browsers.

    yours

    winkr7

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is great.

    yours

    winkr7

  • My mistake, I thought your function had three parameters (I saw the variables).

    in a new block declare a variable, lrValue as a string variable.

    set lrValue=function.blockLeftright

    lrValue will now contain the string "left" or "right".

    yours

    winkr7

  • textvar=function.blockleftright(2,2,4)

    You assign a text variable to the function as above.

    yours

    winkr7

  • If you have a different set of layers on your layout from the asset layout where you set up your templates you can't recreate them exactly. The hierarchy doesn't load the children into layers it doesn't have in the asset layout.

    just a caution here.

    yours

    winkr7