Eliyahna's Recent Forum Activity

  • I can't see your cap because I don't have your plugins but if I understand what you are saying, you have:

    • 3 seperate animation events for 3 ranges
    • 3 bullet collision events (each one corresponding to the animations)

    If they are 1 or 2 frame quick animations which may or may not loop they should not get interrupted?

    I would not assign the bullet collisions to the animations. I have not had luck with that myself. I would create instance variable for the animations and say "when bullet collides with zombie - if instance variable ani2=true play die2" for example.

  • No the code looks fine to begin with, it just doesn't work. There will be nothing wrong with the way it's written. So I change it then change it back (in order for the system to allow a save for that area of coding) then save and it looks the same still... but it works now.

    It's almost as if, even though it was written correctly, it just never saved in correctly or became corrupted.

  • I know this sounds weird... but sometimes I move the lines within the block of code and then move them back, then save. When the system saves it seems to "rewrite" the messed up coding to the correct code shown again. (although the code appeared correct in the first place but it didn't act like it was written)

    I've had to do this in various areas before. Also, if something "breaks" unexpectedly and there is no apparent reason why I open the backup (you can set the system to do one daily) and I paste whatever code I've added since to that copy and it will work just fine. I know it sounds weird!

  • Thanks so much for the backup feature. It's saved my can a couple of times already! <img src="smileys/smiley10.gif" border="0" align="middle" />

  • the problem is that after the set amount of idle time, those "idle" animations are not playing randomly or otherwise at all.

    do you know anything about this?

  • I did try - "if platform is not moving (also tried if 8 direction is not moving), wait 5 seconds, set animation to Bubble, wait 5 seconds, set animation to Sleep" but the animation would restart unpredictably during gameplay.

    Having a random animation play after a certain amount of idle time seemed like a great idea but I'm not clear why this is not working. I set the timer low so I can see the result right away when I'm testing it. It was set to 300 and it still did not work.

  • I'm trying make my sprite do one of 3 animations randomly when it is left idle. I used the tutorial at scirra.com/tutorials/440/call-random-animations-with-an-array and it is not working.

    My array is named: IdleAnimationSelect

    The name of the sprite is "PlayerAnimations" the names of the idle animations within it are: Still, Bubble and Sleep.

    Here is my code:

    <img src="http://www.eliyahna.com/temp/capture9.jpg" border="0" />

  • Not sure how much "rep" I need to reply <img src="smileys/smiley5.gif" border="0" align="middle" /> Please, interested parties email me at eliyahnavptq@gmail.com

    Someone said how much will I trade? The equivalent value... A professional illustration I would say is $30 - $200 depending on the complexity (about equivalent of a year of server space). If you want a whole web site you can keep helping me with graphics if I need some and I'll keep helping with your site in return. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will trade web design, web development or coding, web hosting, seo and search engine submissions. I can make you a beautiful website to sell your services and host it for the year in return for the sprite design.

    If you don't need a website, you can use the server space just to store your files or whatever you like.

    I need one character design illustrated. Please message me for more info.

  • Thanks I don't know why I didn't think to split them up. Now it works well. The save button gets to invisible when the user chooses to "hide" the HUD. I have a HUD button so they can hide it if they want to get more viewing area during gameplay.

    Here's the working code

    <img src="http://www.eliyahna.com/temp/capture8.jpg" border="0" />

  • Thanks I did that but now it saves and loads just if they're visible. They should wait until they're touched... ?

    <img src="http://www.eliyahna.com/temp/capture7.jpg" border="0" />

  • I have a "Save" button and when the HUD is visible, the user can press it to save. Then they make the HUD invisible again. But if you press where the save button is it will still save even when the image is invisible.

    I'm trying to add the condition if "Save" is visible - but I can't because it's an "or" block. If I try to add another condition it adds another "or" block. Here is the code:

    <img src="http://www.eliyahna.com/temp/capture5.jpg" border="0" />

    This is what happens when I try...

    <img src="http://www.eliyahna.com/temp/capture6.jpg" border="0" />

Eliyahna's avatar

Eliyahna

Member since 23 Jul, 2013

None one is following Eliyahna yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies