humpty's Recent Forum Activity

  • G'day guys,

    Just tried uploading to the Scirra Arcade. (Was very excited).

    Arcade upload denied my file and told me I need to get the most recent vesion r192. -> Done this now

    r192 won't export to Scirra Arcade.

    Anyone know if it's a matter of having to wait or if I should drop back to the r190 instead?

    If I'm meant to drop back to r190 will the Arcade allow me to submit my game? (Scirra Arcade states it has to be r192)

    ... I'm a bit foncused now.

    Thanks for any and all replies.

  • You're so awesome :* :* :* :*

    I thought about that, but in my head it didn't seem it would work. (I should have tried it instead of deciding it woudn't)

    THANKS :* :*

    [attachment=0:sac1q3ja][/attachment:sac1q3ja]

  • G'day again guys.

    I've looked and can't find. I want to 'pick nearest object' where that objects instance variable also = "idle".

    This is what I have at the moment and it does pick the nearest, but, as you can see if that nearest doesn't have instance variable 'Status' = "IDLE" then nothing happens.

    What I *want* to do: Pick that nearest instance, if the Status variable isn't "IDLE" pick the next nearest.

    [attachment=0:1wqqoxch][/attachment:1wqqoxch]

    Any ideas?

    Thanks in advance - Humpty

  • G'day again Guys,

    Personal licence. (release 178 64 bit)

    Issue:

    1) Player object somehow sets invivisble between starting the game and the game fully loading.

    2) Can see in the debugger it's invisible.

    3) Can't find ANYWHERE in the events where I set it as such. ...and I never did set it as such anyway

    Assistance on working out where / how this is being changed please

    Thanks :*

    [ SOLVED -> Resolution (no debugging occured) ]

    If anyone was interested, and read this far through as the title isn't specific about it, it was a bloody FLASH action!

    Somewhere, somehow it ended up being assigned as an action of a completely empty event.

    Once the action was relocated to an event that would actually trigger (e.g. not a blank one) the sprite became visible.

    (I can't even recall what that event used to be before it became blank nor can I work out how it became blank)

    THANKS to those who had a look at the thread

  • Yup!

    Functions were the answer. Thanks Apox Inc

  • 'global values' no instance variables yes.

    I understand from other programming what global variables are though.

    It will be nearly 1/2 the day before I get to look into the functions first. I'll start there then do a search on global values.

  • Sorry Apox Inc :/

    I try to write the question in a way that doesn't require someone to DL something, load it, look through etc.

    I think I will start just uploading capx's though as well.

    For now though I will check out functions. I believe they will be my saving grace as i can pass variables through to them it seems

  • Solution: You use functions ...pass along the variables you want via paramaters to a function that generates the enemy and use the paramaters to set it's instant variables

    G'day again guys.

    Unsure if this is a "How do i" or a 'beginners question' so i chose the later because I believe if I had more experience I'd already know the answer:

    I've tried a few things but it's not working right I believe it has to do with identifying the instances.

    Essentially I need to completely clone the Enemy as another instance and then change at least one instance variable of the new clone. (instance variable isn't shown in the below list as I don't see it being an issue.)

    Information:

    Enemies are basically bouncing balls.

    If they hit the ground

    Triger Simulate Jump

    Triger Gravity +10

    Triger JumpStrength -10

    I am attempting to:

    When the bullet hits the (original)Enemy:

    Create Explosion (no problems here)

    Create Enemy(instance#2)

    Set Enemy(instance#2) gravity and jumpstrength to that of (original)Enemy

    Set Enemy(instance#2)scale 0.75 (no problems here)

    Create Enemy(instance#3)

    Set Enemy(instance#3) gravity and jumpstrength to that of (original)Enemy

    Set Enemy(instance#2)scale 0.75 (no problems here)

    Destroy (original)Enemy ..... (I have to do it here because I need to refernece it for the properties

    Destroy Bullet

    I'm ok with not destroying the original Enemy (but changing it's scale) but still having issues with the assigning of the properties.

    Any ideas / tips / direction?

    Thanks in advance :*

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OMG!

    Thanks heaps for that blackhornet. Where do I send the 40 foot yacht as a gift of my appreciation?

    I knew it would be simple and doubt I'll have this issue again now

    I can't see a method to flag your post specificly as the solution or to give you a 'thumbs up' or 'reputation booster' or similar.

    THANK YOU

  • [ CAPX attached ]

    G'day inquiesco,

    Thanks for the reply and help.

    I truly believed it was me incorrectly using the event sheet so didn't think the capx would have helped. Sorry, it's attached now.

    Variable Case Sensitive: Yes, the text variable is upper case through the entire project.

    Further testing: I have done some more testing and believe that the issue is entirely checking the variable. I just can't see where / how / why its an issue

    I have commented the code in the capx with all comments ABOVE the section they apply to and also used groups and a "START / END" comment to isolate where the issue is ocuring.

    I am now also lead to believe that I have used the event structure correctly and that the issue has nothing to do with the structure for the desired outcome but has everything to do with the wrong condition-checking or an issue I generated in my Instance Variables. ......is that correct?

    Thanks again in advance.

  • ...solution is at bottom of post...

    G'day guys. (my very first question)

    I'm sure this is just a noob issue. I've looked in "[How do I]Frequently asked questions" but don't see anything that appears to have my resolution.

    I have had some issues understanding the 'tree' in the Events page. I did google for that too but didn't get the explination I was looking for.

    I managed to work out plenty of other stuff from google and looking at some example projects. I'm sure this will make perfect sense to me too once it's pointed out.

    Trying to: Trigger actions based on two conditions. (keyboard) + an instance variable. (checked in properties and in debug mode the variable is correct)

    Screen shot:

    [attachment=1:2rasnq1f][/attachment:2rasnq1f]

    Now if this were code I'd expect this to work:

    // Yes I just made things up but i'm sure you'll get the idea.
    if ((keyboard.keypressed == space_key) AND (Player.CanShoot == "YES")){
    	Player.State = "Shoot";
    	spawn (ShootBullet);
    	ShootBullet.angle = 270;
    	// (and so on)
    }
    [/code:2rasnq1f]
    ...or to just put one IF inside the other.
    
    So what am I Noobing up?
    
    last note: I intentionally used a text variable instead of a boolean.
    
    Thanks in advance :*
    
    [b]SOLUTION:[/b]
    
    

    C2 is a bit inconsistent on this: it's because you put quotes around YES in your default CanShoot instance variable (although you didn't for the State=Normal case).

    [attachment=0:2rasnq1f][/attachment:2rasnq1f]

    Removing the quotes from the instance variable of the object resolved the issue.

    Keep the quotes in the conditions of the events sheet

    #2 in the first image posted now functions.

  • Welcome to all the newcomers of the week!

    thanks

    ...and happy developing!

    Thanks again

    Additionally, there are many hosted here on Scirra's website.

    about that ... It's hard to do a tutorial (platform) when the graphics aren't available. Is there a similar set of graphics (but not the same), no matter how bad they may look, that are the same dimensions, sizes and have the same tile counts? I can't even make mock ones because that info isn't provided....that makes doing the whole tutorial hard to do. (I have searched for mock ones without success)

humpty's avatar

humpty

Member since 19 Sep, 2014

None one is following humpty yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies