- 2020-11-03 at 2:08 pm #34967
Hi , is there any tutorial for understanding how to make a counter and a timer for a game with puzzles?2020-11-04 at 9:32 am #35011Yuri KovelenovDeveloper2020-11-21 at 12:04 am #35591
it’s complicated to me , i cant understand which part should i look at …. i want to make a counter to something like the physics template where there is balls hit another objects & bowling pins ,i want to gain points only when the ball hits the bowling pins.2020-11-21 at 3:26 am #355922020-11-21 at 7:13 pm #355982020-11-22 at 4:51 pm #35658
Anyone can help ?2020-11-23 at 7:26 am #35705
Try unchecking “in parent doc”.
You’re adding the divs to the container, which is where the verge 3d element is.
Pretty sure this may be the issue.2020-11-24 at 8:57 pm #358222020-11-25 at 3:48 pm #35868Mikhail LuzyaninDeveloper
There’s a time value that changed on 1 each seconds inside Every 1 second puzzle. This is very simple timer, if you want to start count again just set 0 to the value and it will be counted from the beginning again.
Co-founder and lead graphics specialist at Soft8Soft.2020-11-25 at 6:16 pm #35874
Thank u @pigeon but im making it as a count town timer :D what im asking here is the score i cant make it work :(2020-11-26 at 12:56 am #35880
I can’t think of anything that might be causing the issue except that maybe the asynchronous puzzles setup you have might be parsing the collision puzzle BEFORE the clonedBall var is set, so the collision puzzle might not function of there’s not a “clonedBall” var to act on.
(Check your browser dev tools’ console messages for issues liked this too!)
To help with this, (if it’s the problem), I like to make things structured a-synchronously where things are parsed in order.
I make a “MAIN PROCEDURES” procedure with its execution puzzle (right click the procedure to make it) be the ONLY one that is executed… Where all the other procedures that need to occur in order, have their executable puzzles WITHIN that “MAIN PROCEDURES” actual container puzzle, STARTING with an “initialization” procedure execute puzzle, from which it’s container holder that holds all your variables to be SET/CREATED etc.
I’m on mobile now so can’t show you an example, but I might be able to find a post where I explained this with images before.
Hope you understand what I’m saying.
2020-12-10 at 6:32 am #36324
- This reply was modified 1 month, 4 weeks ago by GlifTek.
Thanks a lot @gliftek , sorry for the late reply :D i’ll try to do this & if u can show me an example that’s will be great, thank u .2020-12-17 at 4:50 pm #36634
Just put the next procedures in order in the first procedure
- You must be logged in to reply to this topic.