dop2000's Recent Forum Activity

  • here, I tried the snake idea. (cos its more interesting than working on my own game!)

    Yeah, that's why we are all here :)

    Your example looks nice!

    I stole your trace sprite with fading frames, and updated my demo for multiple bullets:

    dropbox.com/s/7tfobtbs6vqwoud/BulletTrail3.c3p

  • The easiest solution is to use another family with the same set of objects:

  • AsJSON string contains all information about the object instance. You can use it to save/restore/copy instances easily. See the official manual:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/common-features/common-expressions

    .

    Source instance is the one you continue to drag. Its z-index doesn't change. You can change z-order of the newly created instance however you like.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cloning a family member (use "Create by name" action):

  • Easy:

    You create a clone and continue to drag the original sprite.

  • Have you tried adding "Browser log"? it's one of the easiest ways to debug such problems. If you can't resolve it yourself, please post your capx.

  • Add debug output, open browser console in preview (F12) and you'll be able to see what's going on:

    Actually, if F.Param(2) is the X-index in the array, you don't need "For each X", simply set return value to playersDB.At(F.Param(2))

  • Ok, I spent almost the entire day and finally figured out what was causing this stupid bug. I have too many text objects with web font on this layout - over 400. If I don't set the web font for them, Back button works without any delay.

    If anyone knows how to fix it without removing hundreds of text objects, please let me know.

  • I like using Scale Outer mode. See this post:

    construct.net/en/forum/construct-2/how-do-i-18/full-screen-138474

  • You are aware that this post is 5 years old?

    Answering your question - you can't create object on another layout. But you can "schedule" it using global variables. So when that another layout starts, check the global variable and create objects if needed.

    For example, in the main menu player chooses game difficulty. If difficulty=Hard, then you want to create some zombies when the level starts. So you can add a global variable ZombiesToCreate=0. When player selected hard difficulty, set ZombiesToCreate=10.

    On start of the Level1 layout do

    Repeat ZombiesToCreate times : System create Zombie...

  • There is a useful new action "Wait for previous action to complete" for asynchronous operations like LocalStorage or AJAX. Change your code like this:

  • I have a weird issue in my game - on one of the layouts, when I press Back button on mobile phone, the "Browser On Mobile Back button pressed" event is triggered after a long delay, between 1-10 seconds.

    This happens only on one specific layout where I display leaderboards. The code is very simple - "On Mobile Back pressed go to MainMenu layout". I put this event at the very top of the event sheet, before any "includes", and there is nothing else in the event sheet that may cause this problem. The layout is otherwise responsive and on-screen Exit button works fine.

    What's the worst part, if I press Back several times on this layout, these presses are saved in some sort of buffer. So when I tap Exit and go to another layout, the buffered Back button events are triggered there!

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies