PoseMotion's Recent Forum Activity

  • I've been programming for about 20 years. I was just looking for something to speed up the process for games. But no, I didn't notice anything stating that what was exported was web style programming files. I guess I assumed it actually created a true binary exec.

  • I just purchased Construct 3 and was testing it out. I created a Windows desktop app/game and it's in web format? No real binary? Anyone can steal your assets and you can not even sign a true binary file. Am I missing something or is this it?

    Tagged:

  • Sorry, I meant any free, maybe smaller demo examples?

  • So it exports a wrapped html5 game I'm guessing? Are there any compiled examples for OS X and Windows to test?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How does Construct export for Mac? Does it export a Xcode project, so a developer can compile a native app? Or is it in some other form? Any information would be great, thanks!

  • > Don't forget about PNG8 w/alpha.

    Unfortunately reducing the color depth is not something Construct 2 can do automatically. Construct 2 must always work in the general case, and many images look terrible after color depth reduction. So that's not something we can always apply to reduce filesize.

    We might be able to add compression settings in future, but for now everything has to be PNG32, and as you saw the savings for that are only around 12%. If you are that concerned about reducing filesize after export, you can run your own tools over the exported PNG images, and you should see similar gains.

    I was just trying to help explain sprite sheets and optimization. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • > I got it down to 29kb here in a sprite sheet.

    Would you care to share how you beat PNG compression by over 75%? That's a stunning saving. If it's easily possible why isn't the PNG image compressed that small to begin with?

    h and graphics cards still work in power of two.

    Have you got a reference for that? I couldn't quickly find a reliable reference, but the OpenGL spec doesn't say what implementors should do, so it might be driver-dependent.

    Don't forget about PNG8 w/alpha. <img src="smileys/smiley2.gif" border="0" align="middle">

    I simply used my own sprite sheet maker which creates small png images and used ImageAlpha and ImageOptim. Those are Mac only apps but I'm sure you could find similar on Windows. The image has 128 colors with alpha but looks the same as the original. See link.

    blade.png

    As for the reference. Let me look it up again. It's been a while since I read it and have to remember where.

  • I wanted to explain more on my above post in case I confused anyone.

    Think of ASM. It's nothing but a cover for machine code. Graphics cards are the same way. They see nothing but power of 2. Now some years ago, graphic card developers made it so you could load non-power of 2 images. But the graphics card still has to secretly pad your image(s) to read it properly. It's impossible for the graphics chip to see any different unless you trick it. And that's what happen some years ago. It's best to stick with 2, 4, 8, 16, 32, 64, 128, 256, and so forth. And it's ok to use 128x128 or even 64x128. Just as long as you stick with power of 2 numbers. Because the graphics card will do it anyway.

  • Comparing the "blade" enemy from Space Blaster, which is a 16 frame animation, it comes out:

    144kb PNGCrushed as 16 separate files after export

    126kb as a single sprite sheet

    So that's a saving of about 12% in filesize. I agree there is a saving to be had, but while we're really stretched for time over loads of important features that don't yet exist at all, I'm not prepared to spend time on this for an "invisible" improvement while there are much-missed features like families. So maybe this can be done some time in future.

    I got it down to 29kb here in a sprite sheet. <img src="smileys/smiley2.gif" border="0" align="middle" />

    Oh and graphics cards still work in power of two. Just because they are able to load non-power of 2 images doesn't mean that's all it doing. Those blade images are getting padded by the graphics card to 128x128 because that's the next power of 2.

    So making HTML5 games which don't have hardware acceleration, it's best to optimize as much as possible.

  • Thank your PoseMotion <img src="smileys/smiley20.gif" border="0" align="middle" />

    my problem is fixed now !

    No Problem. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • "Open a command prompt and type

    java -version"

    I have search with google,what you mean, but I don't know.

    Sorry, I'm an Designer and not a techhead <img src="smileys/smiley9.gif" border="0" align="middle" />

    Start, All Programs, Accessories, Command Prompt. Type, without quotes, "java -version". ;)

  • Looks really nice! Can't wait to see more. ;)

PoseMotion's avatar

PoseMotion

Member since 25 Aug, 2011

None one is following PoseMotion yet!

Connect with PoseMotion

Trophy Case

  • 13-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies