How do I STOP CONSTRUCT 2 LOADING??

Get help using Construct 2

Post » Sun Oct 18, 2015 8:32 am

Hi to all

in my app i use the HTML_iFrame_Pode object.

i added this event:

HTML_iFrame_Pode > on created > HTML_iFrame_Pode set url to "https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d7098.94326104394!2d78.0430654485247!3d27.172909818538997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2s!4v1385710909804"

the problem is, when i load the layer who contain the HTML_iFrame_Pode object with the map, construct 2 keeps reloading the browser every 1s. how to STOP that???
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610

Post » Mon Oct 19, 2015 2:43 pm

You need to make this not a global condition. It is actually reloading 60 times per second.

Condition it on something like: "On start of layout", or whatever. Because ALL global events are repeated once per tick (~60 times per second).
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Mon Oct 19, 2015 3:48 pm

well it is not in start of layout :s
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610

Post » Mon Oct 19, 2015 4:18 pm

Well, I mean make it so that it only triggers once. (and Trigger Once will not work for this, because it 'resets' after like 5-10s)

You may have to use a static (or global) boolean flag.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Mon Oct 19, 2015 4:33 pm

gumshoe2029

if you have ANY easy tutorial of use gps user realtime "right" position.... :D

and i help you in graphics if needed :D
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610


Return to How do I....?

Who is online

Users browsing this forum: fearfulelephants and 21 guests