3030's Forum Posts

  • Thank you guys! You confirmed my suspicions. I thought a lot about it and i think im just going to draw a bunch of cool looking stylized sprites. May as well stop being so lazy and put the art training to good use. :P Thanks again!

  • Set the behaviour "Destroy Outside Layout" on the enemy, that handles delete outside layout.

    Can you post a screenshot of the events you're using, or the capx file? It'll help the most in figuring out what is going wrong..

  • I was hoping to do some procedurally generated plants / trees in my game, but I have a few criteria:

    1) I need to be able to control the points of growth only because:

    2) I need to remember the intersection points so I can place 'leaf' sprites & berries on them.

    I was thinking of doing the first part via canvas, by generating tree arrays containing the growth points, then drawing (over time) the lines to the points of growth.

    The thing is, in my experimentation with Canvas, it seems having multiple instance of one canvas will draw the same thing on all instances, even in a foreach scenario. So im wondering: do I make one bigass canvas the dimensions of my entire layout (20,000 x 20,000 layout tho...) or will that cause some intense performance issues? Is there a nicer way to do it? If im drawing thousands and thousands of little branch sprites will that effect performance? I guess i should just get down to testing but I thought id see what you guys thought before i went too far down a dead end, in case you've dealt with this already.

    as always - infinite thank you's. :)

    Hugs, nate

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow, thank you both so much, i didn't even think of that -- i appreciate the insight!

    Using this i was also able to modify another major aspect of my game which brought my total collision checks down by half... Amazing! Thank you so so much.

    One thing I cant quite determine is whether or not it's using the collision map or the actual sprite dimensions? From what it looks like, it's using the sprite dimensions, correct? So if it's a circle & not a square, the distance from the sprite in the top corner will be calculated according to the square sprite container, and not the actual circle sprite... Is that correct? It seems so..

    Thanks again!

  • If I have an object, say a square, can i determine via "Overlap at Offset" if i am within 10 pixels of that square with my player? I want to avoid creating an invisible 'tester' sprite around each square since there is literally 100 of these squares on the layout... Plus, doing it that way, wouldnt I be instantly doubling my collision checks?

    Thanks so much for anyone who knows the answer. :D This community is amazing, and I look forward to when I am able to help someone with an issue, too.

    Eternally grateful.

  • This helped me so much, Johnnysix, thank you so much!!

  • Hey there.. was curious if anyone has run into the challenge of making an enemy (esp. when multiple of the same type) will look around randomly whenever you are out of their line of sight. I feel like I'm doing everything i need to be doing with the actions, but its not working at all.. This is what I have:

    <img src="http://www.80bit.com/pic/Windows_7-20131130-150345.jpg" border="0" />

    Obviously its wrong because it's not working, but I cant think of any other way to do it?

    Any help would be massively amazing, i appreciate your time. :D

  • Actually, better to use choose(1,2) then it's locked to 1 or 2 - 50/50 and wont waste the incredible amounts of CPU devoted to round(). <img src="smileys/smiley36.gif" border="0" align="middle" />

  • No problem at all, thank you so so much for having a look!!! I'll rely on "scroll to" while I'm building / testing and can always implement magicam later, so no rush at all!

    If there is anything I can do / anything I can provide to assist you please let me know and I'd be happy to!

    tx again. :)

  • Amazing plugin, not sure if i've ever thanked you man, but THANK YOU. :) I've run into an issue that i am probably just braindead on solving, but when i setup a local camera to follow a local object, then that object is destroyed, i spawn a new instance (player) and the camera doesnt get back to following the new instance. I tried transitioning the camera to the new players position, which works, but the camera just doesnt follow him anymore.

    I am thinking its because it's still trying to follow the *now dead* version of the Player.. but what can I do to get it to start following the new one, i tried setting the camera follow upon respawning the new player, but i get no results....

    Any help would be massively appreciated! Thank you in advance.

    <img src="http://www.80bit.com/pic/Windows_7-20131129-114928.jpg" border="0" />

  • GGAGRARARRARARARRRARRARRARARARARRARARAR

    Its been a lonnnnng day fellas, i quadruple checked the origin point of the player but never once went into the other ones. thank you both so much.

    Im going to bed.

  • Am i doing something wrong here? I boiled my whole game down to a simple process of placing a white square over my 'player' placeholder. There's another function that should drop a red sprite in the same place i am currently standing when you hit spacebar.

    Both actions behave completely unexpectedly (they place the sprites in the wrong spot... not on the player.. ) and I cant see what Im doing wrong... I would be in someone's debt to have a quick look.... maybe this is a bug? Is my game corrupt?

    Download the file here: (Droplr Link)

    Thank you so much to anyone who can look into this for me.

  • Is there any way one might be able to loop a layout at the edges... so in effect you 'see' whats at the start of the layout as you approach the end of it? I mean as you approach the borders of the layout, you see whats inside the borders on the other / wrapped side...?

  • Ashley, this Capx wont work for me: 3030.ca/asteroids.capx

    You confirmed that capx did work for you already, though. I tried running the exported app on my wifes older laptop which is still OSX Lion I believe, and it works fine.. the apps just wont run on my main computer (in Mavericks).. very weird.

  • This is related to: scirra.com/forum/still-doesnt-export-to-mac-mavericks-error-now_topic80633.html

    I didnt want to start a new thread but i was worried the one i started would not be looked at again.

    Link to .capx file (required!):

    (any)

    Steps to reproduce:

    1. Export mac app

    2. Run on Mavericks

    Observed result:

    11/20/2013 10:51:10.553 PM com.apple.launchd.peruser.502[243]: (com.intel.nw.137312[1452]) Job failed to exec(3) for weird reason: 13

    11/20/2013 10:51:10.554 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.557 PM loginwindow[1153]: ERROR | -[Application setAppContext:] | Unable to get PID for context [0,925922]

    11/20/2013 10:51:10.557 PM Dock[1186]: no information back from LS about running process LSASN:{hi=0x0;lo=0xe20e2}

    11/20/2013 10:51:10.565 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.576 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.587 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.598 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.608 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.618 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.629 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.639 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.650 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.660 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.670 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.681 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.692 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.702 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.713 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.723 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.734 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.745 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.756 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.767 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.778 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.789 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.799 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.810 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.820 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.831 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.842 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.853 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.864 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.875 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.886 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.897 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.907 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.917 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.928 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.939 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.950 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.961 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.971 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.983 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:10.994 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.005 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.016 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.027 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.037 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.048 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.059 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.070 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.080 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.091 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.102 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.113 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.124 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.134 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.145 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.155 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.166 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.177 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.187 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.198 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.209 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.220 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.231 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.242 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.252 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.262 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.273 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.284 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.295 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.305 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.316 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.327 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.337 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.348 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.358 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.369 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.379 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.390 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.401 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.412 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.422 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.432 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.443 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.453 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.465 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.475 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.485 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.496 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.506 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.517 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.529 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.539 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.550 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.560 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.570 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.581 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.592 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.602 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    11/20/2013 10:51:11.613 PM Finder[1189]: 8837325: Attempting to SIGCONT to pid #1452 failed, with errno=#3, or the process failed to actually start

    Expected result:

    App running.

    Operating system & service pack: OSX 10.9

    Construct 2 version: 151