redfoc's Recent Forum Activity

  • Is there an effective way to create a zOrder feature for objects?

    The player object have some equipment attached, actually all connected together with container, zorder work fine on single sprite object, but what about container object ? or object with many attachment?

    Tagged:

  • I want to load JSON data and store the data in js variable, how to do it?

    Thanks

  • I got report from my customer if the C3 game I sell is buggy in latest C3.

    It's take half hour to figure out why

    "set animation frame" to string number no longer works, I should wrap it with int() to make it work again. but there is no error, no warning, and I still can put string number like this = "2", no error/warning and not working.

    I'm not following latest C3 changes, is this a new rule? or a bug?

    If it's a new rule, can C3 team just revert it back? or just put a string to int conversion for compatibility.

    I don't want update dozens of C3 projects to apply new rules.

  • Try logging in from a different browser or incognito page. This happens when the cache is not empty.

    I also recommend that when uploading to the server always delete the old ones and then upload new ones. If you just do a replacement can also be a problem.

    Still same in different browsers with incognito mode

  • Anyone here ever experience this issue? how to fix it?

    Everything is good on localserver, but after uploaded to live server, the spritesheet seem broken.

    Thanks

  • Hi there,

    All of my old Construct game c3p can't start a preview, it say "Failed to start preview".

    All of these games is heavily dependent on LiteTween, at that day "Tween" behavior is not exist.

    Any idea how to solve it ? without rewrite all of the games

  • I remember I have this issue long time ago, and now I start using Construct again, and I don't remember how I solve it.

    I got a weird logic in my game, but my code seems good.

    Is Construct functions "blocking" or "non-blocking" ?

    I combine construct events with js code and use a lot of Construct functions system.

    In an event, there are multiple functions action call. Like:

    function1()

    function2()

    function3()

    function4()

    Is function order in an action realible ? I mean function2() is always called after function1() is done.

    Update: I solve it by rewrite my core code, may its not related to the ordering

  • Try to add code snippet to the actions , not below the condition

    How to put the script in the action?

  • I encounter a weird issues, I already breakdown all the events and code multiple times, debug the parts one by one and still can't figure the issue.

    The event is pretty simple:

    Sometimes the array added is 11-15, even the Construct repeat event is only 10.

    This issue may related to my code, but I just want to make sure, is I use the event combined with js code the wrong way?

  • I use Admob a year ago and the result is fine.

    Now I'm going to integrating Admob again, test ads is fine, but the real ads are always failed to load.

    The ad code and Application id is fine.

    How to fix this ?

  • a Sprite have "persist" and "pathfinding" behavior, resulting a Sprite frequently fail to find path, even there is no obstacle and very close to target position

    The problem begins when I move to another layout, then back to main layout

    Download c3p file here

    Is it bug or I not use it properly ?

    Update:

    I find the specific issue

    Find path inside LOS checking causing "path not found" even it's only checking Self.x + 10; and after move to another layout if have persist behavior.

    seem weird

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I want to create a village world, and player can get-in each house/building that require to go another layout.

    So if player back to "World" layout, the objects here still same

    I thinking about using "Save & load", but I don't have any idea how to clear the data

    I see another alternative using "Persist" behavior, still can't figure out how to reset the persist data.

    On start of layout > Reset persisted objects -> Not work as expected

    Edit: Working if I call "Reset persisted objects" on key down

    Is there other better alternative ?

redfoc's avatar

redfoc

Member since 7 May, 2016

Twitter
redfoc has 4 followers

Connect with redfoc

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x3
    Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies