Spock's Recent Forum Activity

  • Hmm... Seems to work if I uncheck minify script. Must be a bug?

  • Game works when I preview in chrome (or any browser) but when I upload anything to my server all I see is a black screen.

    Any idea?

  • I tried everything. But I did have an unused animation in the sprite. I deleted the animation and its frames and the png is crisp. No idea why it would solve the issue.

  • Hello,

    Question: Everything runs fine in Chrome Preview via Construct 2. But when I export and test in chrome on my server some "not all" PNG's are blurry. I have also set PNG compression to none and normal. Same results.

  • Hello Gamers,

    Question, How can I make my turret behaviors only acquire a new target if the target is in line of sight. For example I have two targets same distance from the turret. One is in sight and one is behind a solid. The Turret should not acquire the one behind a solid but it should acquire the one that's in line of sight. How can I accomplish this?

    Thank you,

  • Can you post your solution to help others.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the help. got it. problem was, i was changing the value via add/edit rather than just click and edit. lol

    Once again, thanks for taking the time to help.

  • Hello All,

    I have seen others ask this question, however I still am lost.

    Rather than using -- > Pick nth instance --> number

    I want to use a name just like Movieclip Instance Names in flash.

    Like this --> Pick nth instance ==> box_1

  • oprogfrogo. I was surprised how easy this is.

       -> Sprite: set X to round(mouse.X/cellsize)*cellsize

       -> Sprite: set Y to round(mouse.Y/cellsize)*cellsize

    More examples: scirra.com/forum/snap-to-grid_topic47676.html[b][/b][b][/b]

  • Hello morgandalf, someone correct me if I am wrong. But I think its better to load one image compared to 50+ images. I believe you waste memory loading individual images compared to a sprite sheet. As wel l compress all my PNG's with pnggauntlet.com In flash you can set your stage to "content" just try to get your PNG sequences as small/tight as possible. I would recommend using a sprite sheet if you have lots of frames. If you only have a few I doubt it would be that big of a deal. I also found that its better to make different sprite sheets for each animation rather than putting all of your animations on one PNG. I read if you dont your pre-loader will not behave properly.

  • ok, so I exported my PNG sequence which are 108x106 pngs into one stacked PNG sprite sheet with (http://spritesheetpacker.codeplex.com/) which is a handy free sprite sheet packer. Things work now.

  • Hello CS2 People,

    I am making animations in Adobe Flash CS6 and exporting to sprite sheets. Everything is going great until I try to import this to Construct 2. I set my Sprite Sheet to Basic however when I add the PNG to CS2 everything is either cropped or pushed off stage. I understand that Flash exports these with JSON for example which has the position of each image. So, I assume CS2 every frame needs to be exactly positioned in a grid. for example if I load a PNG sequence it works. So I just need to figure out how to take my PNG sequence and then line it up perfectly in one PNG and without having to do this by hand lol.

    Thanks,

    <img src="http://oi40.tinypic.com/16ljigy.jpg" border="0" />

Spock's avatar

Spock

Early Adopter

Member since 28 Mar, 2013

None one is following Spock yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies