Mipey's Recent Forum Activity

  • Does it work properly outside CocoonJS?

  • My biggest flaw is the asset creation. Since art and music are all done, this should be a cinch for me. I'll be emailing you for details!

  • As for touch events, I'm not sure why SpriteFont would interfere with other plugins... Perhaps they obstruct touch areas, check SpriteFont instance sizes by toggling debug on.

  • superkew: Thanks, I'll take a look at it.

    Hmm, requestAnimationFrame? What the heck, there is no such thing in the plugin...

  • Damn. Well, I'm stumped; I don't know why it won't work on CocoonJS.

  • You can simply fill the visible area with sprites and swap images as necessary, simulating "moving around". Nothing is outside the visible area. That's the standard practice.

  • Hm, I've been considering to make a plugin that would allow one to freely render a given texture. It'd work kinda like this:

    • single texture / image
    • you have full control over how you want to render it; fully, partially, whatever
    • every tick, the plugin would collect instructions and then execute them in one go

    So it could be used as a tileset, texture atlas, etc. Control animations, tiling and such yourself. However, those would be textures only, not objects like individual sprites. They won't have any UID, variables, properties, behaviors etc. They're just textures and it is up to you how you draw them.

    I'm not sure if there'd be much performance boost, as Construct 2 already optimizes rendering routine. It would just be an alternative to sprites and tiled backgrounds, if all you need is a texture that you can abuse.

    Would there be an interest?

    Rory: Link just leads back to this thread :P

  • That is not the case anymore. Not on Store page, nor on welcome screen. Are you trying to hide the free bundle? :P

  • You don't need lerp to gradually change the object's opacity. Just do this:

    Showercover.opacity = clamp( Showercover.opacity + speed*sign*dt,0,100)

    • sign is just a variable should hold a signed number 1 (1 or -1) to affect which way the opacity should change
    • speed is to control how fast it fades (5 is slow-ish)

    Oh, and clamp is there to make sure it stops at 0 or 100.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • https://dl.dropbox.com/u/629300/construct/projects/stealth_game_sight_solution.capx

    It works. The enemy will jump when he spots you, though.

    Now I'm off to sleep, hopefully you'll be able to figure it out! Good luck!

Mipey's avatar

Mipey

Member since 16 Jan, 2009

None one is following Mipey yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies