littanana's Recent Forum Activity

  • So yeah, I'm trying to make a system that causes my princess to roll down when on a slope... Rolling works fine, it continues and hits the wall and stops. This is what I want it to do. However for some reason I am able to move and press my arrow to the opposite direction and the sprite stops moving for the duration, I also can jump, which should not be able to happen. I think something on the ladder (petra) code breaks this, but I have no idea what it is.

    I've been trying to figure out the problem for a bunch of hours and I think I'm just going to ask for help again, I'm sure its something simple, I just can't see it.

    So, uh yeah? Please help me out if you know whats wrong. heh

    Here is the .capx file

    https://drive.google.com/file/d/0Bw7sth_-pQTXTFRtMTgtd2MxZFE/view?usp=sharing[/code:ori7crpu]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, one way to get this to work is to just create new animations for the sprite. blackup, blackacross, blackarched, blueup, blue across, bluearched,... and so on. You could keep them all in the same sprite so you don't have to clone balls or events.

    Make some kind of variable on the sprite to see if color should be blue it will use the blue animations instead.

    Is this what you are after?

  • Ah, it worked! Thank you!

  • Ok, new question. However this time the blurring is being caused by zooming in...

    I want my game to zoom in 200% whenever I have a dialogue and the box showing, this blurs my pixels again.

    Is there anything I can do to prevent this?

    I had a thought that I could just make all my art twice the size, as in draw everything with 4 pixels in a group instead of one, what i have now. But would this even work, since then I should make all my sprites half the size and I think that might blur it anyway??

    Any input? Heh.

    Here are screenshots;

  • Hi, here is an excerpt from the "Project primitives > Projects" chapter of the manual that I think will answer your question:

    [quote:2exkvyg9]Pixel rounding

    By default Construct 2 objects can be drawn at sub-pixel positions, e.g. (100.3, 200.8). If the browser is using linear filtering, this can make fine pixel art appear blurry. If Pixel rounding is set to On, Construct 2 objects round their position to a whole number before drawing, e.g. (100, 201). This prevents any blurring, and can also prevent "seams" appearing on grids of objects. Note this does not affect their actual X and Y co-ordinates, which can still be between pixels - it only affects where they are drawn on the screen.

    I hope this helps.

    Thank you this totally fixed it!

  • You could share the .capx so we can see better what is going on.

    However if I understood correctly, you could go around this problem by disabling all the buttons from the home menu when the options screen is active.

  • Basically my pixels look all blurred sometimes, like if i stand on a specific point and if i move tiny amounts like one pixel at a time my sprite will blur, at some point it will start de-blurring and then become clear again.

    Like I'm basically standing almost on the same point but in the other picture i moved a bit and my sprite is blurred.

    What is causing this and is it possible to prevent it? How?

    Also like, what is generally the best idea how to set my project configuration settings? I want it to be fullscreen and still keep my pixels clear every time.

    edit: just wondering; if this question doesn't get answered at what point should repost it outside of the beginner questions forum?

  • Ah thank you! I didn't realize I made this mistake. It works now.

  • Well then I have no idea what is the problem once again, I am trying to achieive that walking next to the npc will show the exclamation mark and when you press E it should disappear and text should show. Walking away should hide the text and the exclamation mark.

    Here is the capx file if someone could nicely take a look and tell me what I am doing wrong!

    https://drive google com/file/d/0Bw7sth_-pQTXbmZNLTZvbkpOaE0/view?usp=sharing[/code:yyo7bvit]
    (add dots to the url)
  • Well, I deleted all the AI code and completely remade it by the help of this tutorial:

    https : //www.scirra . com/tutorials/1270/bite-sized-game-development-examples-of-npcs-in-2d-platformers

    So yeah I got it to work by myself. Thanks.

  • Event 13 is disabled, but its subevents 14 and 15 aren't..

    event 23, 24, 25 and 26 check if detector is overlapping solid, but there is only one detector in the layout and two enemies..

    You are trying to set it to imagepoint "detector" of the enemy, but you are not saying which enemy and there is no way for the program to differentiate between the enemy instances..

    Ah, thank you, I disabled subevents 14 and 15 (13-15 were part of my old ai code) and removed the other snail for now and it started working a bit better. (not properly, but atleast my snail moves now until she hits the ledge and starts spinning heh)

    I understand the problem now so...I guess before getting this system to work I should be thinking about how do I make multiple enemy work at the same time with each of them, doing their own thing? Is there a tutorial for this?

    I was kind of expecting to run into this at some point when I was earlier thinking about if I should make a hitbox for enemy, but I realized I had no idea how to run the hitbox if I had multiple enemies on the map at the same time.

  • > I am unable to share my urls since, the forum thinks I am spam, how can I share my gamefile now?

    >

    Firstly, there is no need to multi-post. Just use the 'pencil' icon to edit your post.

    To bypass the posting restriction, just include some characters in the URL, e.g.

    > h*tt*p:*//www*mywebsite.com/mygame.capx
    [/code:21e6a2gm]
    

    Thank you, i edited my original post, sorry for the multi-post

littanana's avatar

littanana

Member since 27 Nov, 2015

None one is following littanana yet!

Connect with littanana

Trophy Case

  • 8-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

10/44
How to earn trophies