- This topic has 12 replies, 4 voices, and was last updated 3 years, 11 months ago by GLiFTeK.
-
AuthorPosts
-
2020-11-03 at 2:08 pm #34967MahaParticipant
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 KovelenovStaff2020-11-21 at 12:04 am #35591MahaParticipantit’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 #35592GLiFTeKCustomerHey maha,
You might get some use out of this example in the user manual for making a counter.You can use the change variable by x puzzle.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-11-21 at 7:13 pm #35598MahaParticipant2020-11-22 at 4:51 pm #35658MahaParticipantAnyone can help ?
2020-11-23 at 7:26 am #35705GLiFTeKCustomerTry 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.Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-11-24 at 8:57 pm #35822MahaParticipant2020-11-25 at 3:48 pm #35868Mikhail LuzyaninStaffThere’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 #35874MahaParticipantThank 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 #35880GLiFTeKCustomerHi maha,
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.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-12-10 at 6:32 am #36324MahaParticipantThanks 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 #36634GLiFTeKCustomerJust put the next procedures in order in the first procedure
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature! -
AuthorPosts
- You must be logged in to reply to this topic.