Jayjay's Recent Forum Activity

  • Aaah, silly me, I would have never really guessed to do it this way! Jayjay, I owe you thousand thanks, you really helped me out, man! :3

    No problem =] Good luck on your game!

  • Ok, a simple test cap just to check if it works - press any key to go to layout 2. dl.dropbox.com/u/1306951/123.cap

    2 objects in the right - sprite and canvas upon it, on the left - sprite that receives the texture from canvas. Sorry for a rough cap!

    The second layout has no event to set texture. However, there is also a bug. You'll need to use an Always event instead of a Start of layout event. Not sure if this causes performance issues, but it works.

    I assume this bug is due to how other layouts load after the first...

    Edit: Here is a cap of it working.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe pull all the values into an array, change the one you'd like and store them back in the string.

  • > even more the court prohibits Samsung to offer any Tablet-PCs with certain characteristics (rectangular shape, rounded edges, flat clear surface, curved back) europe-wide.

    >

    What ?

    How could a german court talk/act/legislate for all europe ?

    Because of the EU, they all act like their following the same rules.

  • Very awesome Aritz, it reminds me of Survival Crisis Z for some reason.

  • This can be done with my cap Nifl, just have a private variable to say what mode the wall/enemy is in. Then only set the enemy to "NOLOS" when the object LOSCheck overlaps is in "WALL" mode.

    Edit: Just saw that you already have a "DEAD" state. Just use that variable to choose if the object blocks others or now.

    As for the lag with 100 objects, I'm not sure what's going on there, as I get over 200 fps with around 200 BadGuy objects while also running the debugger. Can I see the events you're using?

  • Hi Everyone!

    I'm new to Construct (so to speak), and i have a problem that i can't figure out..

    I tried to make objects global, what it means to me is that this object will be avaiable for all layouts (for example the keyboard object). I checked in the Global funcition, but it doesn't seem to work without adding the objects to each layouts. And this is what i can't do to add objects to a layout it wasn't created at.

    Please help me with this issue Dear Community :)

    - Thanks in advance -

    Ticking the global box will mean event sheets can access the object across all layouts. If the object has "Destroy on startup" ticked I think it won't be there on the start of each layout.

    Are you using any fade/transitions between layouts? Those also can mess that up.

  • Man, that's brilliant. I would never have figured that out! Thank you very much for your help and for your time Jayjay. This will help me make my game a lot less CPU-demanding. <img src="smileys/smiley32.gif" border="0" align="middle" />

    No problem Nifl =] It came to me by surprise when I realised my game was ruined by the LOS behavior <img src="smileys/smiley17.gif" border="0" align="middle" />

    Glad to help though <img src="smileys/smiley4.gif" border="0" align="middle" />

  • When I tried using them recently, the only way I could get them to work was by setting the animation to the main animation first, and THEN the sub-animation. So if you wanted to use a "Fast Walk" under the "Walk" animation, you had to do this:

    Set animation to "Walk"

    Set animation to "Fast Walk"

    Maybe I was just doing it wrong, but if I tried to set it to Fast Walk first, it wouldn't work at all.

    Sounds about right, I don't think there are any other ways to do it.

  • Working on an alternative LOS system for you, I'll have it uploaded soon...

    Edit:The Line Of Sight behavior is pretty buggy for multiple instances of the same object it seems, so I only use it for my Player object. However, I have a cap here to show you how to do line of sight for the other objects.

    Get it here.

  • Here is a tutorial someone made to do this. Looks complicated though =[

  • I think you call it after you've switched to the walking animation...not sure though =S I've not seen people use the sub-animations often at all =[

Jayjay's avatar

Jayjay

Member since 18 Mar, 2008

Twitter
Jayjay has 2 followers

Connect with Jayjay

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies