suntank's Recent Forum Activity

  • Okay I think I see where my thinking was wrong, I assumed that since the turrets were picked individually for their variables, they would be picked individually for the purpose of pinning. But as you have stated C2 will not pair up instances for object parameters in the same way it will with object variables. I will simply try to work around this inconvenience. which so far, has involved simply adding object.iid*0.1 to any attack timer since the "for each" condition will cause all lasers to fire even when they are intended to have different timings or can have the same exact time as is determined by the player.

  • If this is working correctly, why does it pick individual objects for variables but not when pinning? or why would two timers triggering at the same time but within 0.01 seconds of each other sometimes register as firing at the same time, but not always?

    It just feels kind of broken since it works for certain cases but not in every case or even a minuscule delay causes random results.

    I should also mention using a "for each" brings a host of new problems. If your objects have two different timings they will then always fire off at the same time because its running the event for each laser cannon.

    The only work-around is to delay them by 0.1 so they run their triggers seperatly so then the timers can have different set times

  • Here are some other event combinations that cause the same problem when pinning

    https://dl.dropboxusercontent.com/u/530 ... xample.PNG

    The image above shows how even when not triggered, the same result is present

    https://dl.dropboxusercontent.com/u/530 ... sworks.PNG

    In this one I tried deviating the time slightly and this will pin properly 50% of the time. However, if I deviate the two timers by 0.1 seconds it pins properly every time.

    https://dl.dropboxusercontent.com/u/530 ... iggers.PNG

    In the above example, I use a different Object trigger (the button) and a "For Each" condition which ultimately does cause the lasers to pin properly; a functional work-around.

    Hope this helps!

  • Problem Description

    ____ When an "On timer " condition is met for 2 of the same objects and and each one spawns an object, then you try to pin these spawned objects to the spawner, only the first spawner is picked and pinned to, However, the correct spawner is picked for any other variables or expressions you wish to pass on to the spawned object. ____

    Attach a Capx

    ____ https://dl.dropboxusercontent.com/u/530 ... litch.capx ____

    Description of Capx

    ____ The Cap X shows how when two cannons fire a laser, the laser gets colored correctly and even gets the proper angle, but gets pinned to the wrong cannon ____

    Steps to Reproduce Bug

    • Step 1 Click on the Button that says "Fire Laser"
    • Step 2 Observe the wacky pinning of the blue laser
    • Step 3 Repeat until you've had your fill....

    Observed Result

    ____ Blue laser is pinned to green cannon ____

    Expected Result

    ____ Blue laser should have been pinned to the picked blue cannon, as every other expression picks as expected ____

    Affected Browsers

    • Chrome: Yes
    • FireFox: Yes
    • Internet Explorer: Yes
    • Node Webkit: Yes

    Operating System and Service Pack

    ____ Windows 7 ultimate Service pack 1 ____

    Construct 2 Version ID

    ____ R 190 (64 Bit Steam) ____

  • You use arrays when you want to store multiple variables and variables relating to those variables. This makes it great for things like Level editors where each enemy or object can have its name stored in X and all of the information about it stored in the Y's (it's position, angle, starting health, animation, or whatever you want). I also use arrays for dynamic lists like in multiplayer by using them to determine which player is trying to send a chat message to whom. it works with just X values and uses position 0 for the senders name, position 1 for reciever, and position 3 for the message.

    The sky is the limit for how complex their use can become, but in general, they are for large sums of data handling or dynamic lists.

  • Hi

  • oh wow I've never seen those text expressions before! I guess I was expecting them under the text box object, but strings are generally used everywhere so it would make sense it's a system expression. Thanks for pointing me in the right direction!

  • I was wanting to see if someone would be willing to make a custom text box plugin that will be used in all future Varia Games titles.

    The main problem with the current one is lack of features that are critical for online interactions such as setting max characters, ensuring the use of a real email address (like forcing the requirement of certain characters, or the max amount of certain characters such as the symbol) and some kind of offensive language filtering. Not to mention there is no ability to change the visual look of the Text Box or even just remove the box and use your own graphic behind the text.

    I know a little bit of Java, but this would take me a lot of time as I'm still a noob Java programmer.

    If anyone wants to accept this challenge, I will forever be in your debt! (Your name in the game credits)

  • Ashley There should be some kind of error report option when an error occurs like most programs do. That way, people don't have to spend loads of time trying to recreate errors in new projects, which is sometimes impossible. I understand you're just two guys and I relate to that, so I commend you for the amazing amount of work you guys have done already. just something to think about (that you probably already knew)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I get the badge "found the princes"?

  • I'm now using r186. When I export and then load the same project file, I get a blank screen. https://dl.dropboxusercontent.com/u/530 ... screen.PNG

    I may try it on my laptop to see if it's a software issue on my desktop, although nothing has changed other than video driver updates.

  • I just fixed an error that took me all day to fix and I thought would share my mistake and ask people what they have encountered.

    So I was trying to use a loopindex expression in a "For Each x element" event. Not realizing (remembering) there is an Array specific expression which is ".curx"

    I spent all day trying to figure out why loopindex kept returning -1

    I'm almost surprised it didnt work, but I do realize its not really universal and is made for the system loops.

    Anyway, just thought I would share my lapse in intelligence.

    looking forward to some interesting stories!

suntank's avatar

suntank

Member since 15 Mar, 2013

None one is following suntank yet!

Connect with suntank

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies