Freddy33's Forum Posts

  • Hello, I have been looking into arrays, but to be honest they don't make any sense, what are they and when do I use them?

    Thanks for the help. Sorry to be a layman.

  • Hi all,

    I have finished level one, I have created a layout 2, but nothing carrys over? Like health and the mobile controls. Nothing carry over, do you have to design everything again from scratch?

    Thanks for the help.

  • hey freddy, c3 yea doesn't have the beginner area yet, but you can find more tutorials examples and stuff on youtube, and even C2 beginner area, C2 and C3 are very similar, almost identical with a few changes that are making them somewhat very different, but those changes are not about how the logic of the game creation is more of features like official plugins different platform exporting and so on.

    so if u find a tutorial for C2 it should work for C3 as well...

    however if u want C3 specific stuff u can find some on the FAQ area C3 dissecting tutorials and examples should bring you up to speed, also make sure you keep an eye on the learn section on top of website you can find the manual the official youtube channel and other cool stuff there that helps your learning get up to speed.

    Welcome to the construct community ^_^!

    Thanks buddy, I will keep looking over these things and trying to dissect everything. I think this might be a long hard road. But I am enjoying it.

    I was recently playing ori and the blind forest and I was blowin away. Its nice to have the excitement for inspiration.

    Thanks for all your help :-)

  • hey freddy, c3 yea doesn't have the beginner area yet, but you can find more tutorials examples and stuff on youtube, and even C2 beginner area, C2 and C3 are very similar, almost identical with a few changes that are making them somewhat very different, but those changes are not about how the logic of the game creation is more of features like official plugins different platform exporting and so on.

    so if u find a tutorial for C2 it should work for C3 as well...

    however if u want C3 specific stuff u can find some on the FAQ area C3 dissecting tutorials and examples should bring you up to speed, also make sure you keep an eye on the learn section on top of website you can find the manual the official youtube channel and other cool stuff there that helps your learning get up to speed.

    Welcome to the construct community ^_^!

  • Freddy33

    Right, you using the Editor I see now, I wouldn't recommend you to rely on the Editor though, the best thing is to get used to saving the UIDs that you need on a Variable at the start of the Layout. To have more control and freedom.

    Example when you work on the Games you are constantly changing things Testing, updating and deleting sprites events etc... so what I'm trying to say you don't wanna get your Events to lock to one concrete UID from the Editor, instead what you could do is to Lock them to one "Variable" so at the start of the Game you set that variable to the UID you need. This way you don't have to be worry if you delete the specific UID that your Events where targetting because they could change if you are not careful by deleting them by accident and creating new sprites on the editor making you hunt and change all the events that where Referencing the UID, and this only if you are lucky to be aware that you deleted the UID that you were targeting as it could happen that you delete it and you not aware that it was the one with that specific UID that you were referencing on your Events.

    I think it would be easier if I give you a simple example because I don't want to bore you with a long post jeje

    So here is my capx: https://www.dropbox.com/s/jgnyzrkenrc0y1x/Pick%20by%20UID%20From%20Editor.capx?dl=0

    -As you can see I'm targeting (UID =8) before the Games starts so far good

    -Now on the editor delete the green sprite with UID = 8

    -And now create another instance of the blue sprite3

    -Now let's bring back the instance that I delete from the Green sprite so make another instance of the Green sprite

    -As you can see there is no more Green Sprite with UID =8, in fact, you can create as much as you like of the green sprites and you would not get any with (UID =8) that's why I say be careful with doing these types of events referencing UID from the editor as it wouldn't be practical in the long-term as you can easily forget deleting and creating while testing etc... but obviously it's your Game you decide, I hope I didn't bore you with the long post.

    Anyway I'm glad that you fixed your problem

    Hi Tarek

    Firstly thank you for taking your time to do that for me.

    I have carefully read over the post and liked into your example and I know exactly what you mean. Using the uid from the editor then deleting that sprite will delete all the events associated with it. I can see how this would be a problem.

    Although I am unsure on how to go about creating an instance variable with a uid so this dosent happen?

    This was really interesting and possibly saved a lot of time. You should submit it as a tutorial because this must affect people.

    I appreciate the time.

  • Aww thanks man, I appreciate you taking your time to do that.

    I have saved it to my learning folder.

    Thanks again for that, I literately was pulling my hair out.

  • Freddy33

    I see two problems here:

    1-How could you possibly know it will exist a (Snowball with UID = 150) Before the Game starts? I see it could be done by Picking by IID if they were 151 snowballs but I cannot see this working by UID if you wanna target a Fix "Instance Number"

    2-On the collision Event construct (Picks or adds) the snowballs that are involved in the collision so you don't need the extra Pick by UID unless you wanna apply all the Actions to a different snowball that it wasn't involved on the Collision which in this case to use the Pick by UID you will need to reset the Picking.

    You can Reset the Picking by example most common three ways:

    -System >>> Pick All>>Chose "Snowball">>>Then you can use Pick by UID from any snowball

    -You can Add the snowball to a "Family" and then use the Pick by UID but choosing via the Family

    -You can Call a Function and o the Function Pick by UID

    Thanks for that infor. But the uid is here?

  • does this solves your issue? change frame on hit

    Hi Buddy, thank you very much for finding that, where did you get that from?

    that done the trick

  • lol Cheers Plikie,

    You and a few others have been instrumental to my learning. I think i am coming along leaps and bounds.

    I agree, a designated beginners area would be fab. It is hard to get to grips with and can be frustrating when things don't work. Maybe I have too high expectations for my self.

  • Hey Plinkie, thanks for all the help you offer me.

    Its not working, but i know this is because I am not seeing the logic properly.

  • Hello, so my first level of the game is coming along, I use the tutorials and you tube videos for a bit of guidance. When I get really stuck I ask questions on here, recently its been one or two a day.

    I do try and learn myself, but when people help on here it often brings new insight, the community is really helpful and I am grateful for that. I think because I am starting out there are big knowledge gaps, although I am improving, I am still very much a beginner

    I just don't want to annoy anyone by posting too many questions.

  • Hi, thanks for any help. I have been asking alot of questions recently but I am constantly getting stuck. I think its understanding of events and inexperience. I have searched the forum but cant find anything relating.

    I am basically trying to get the snowball to change animation when each bullet hits, so the first bullet sets the snowball animation to the first frame, the second bullet sets the snowball animation to the 2nd frame and so on.

    Its proving quite tricky and I know im not doing something right, any suggestions please?

  • Hi, Yep that done it! cheers buddy.

  • ahh i see, thanks man, I think I was over complicating that one!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, cheers for the help.

    I was quite impressed that I nearly done this, however right at the last minute I have hit a knowledge hurdle.

    When the player hits the ammo icon, it updates the text to 5 (Ammo is the global variable) and you can see i added an instance variable for the text.

    However, when the ball shoots a bullet, i need the text to update 5-4-3-2-1-0.

    I have tried loads of different expressions and I am thinking there must be a way to set text and subtract from it, but I am struggling.

    Many thanks,gutted because I wanted to do this on my own.