skymen's Recent Forum Activity

  • Hey. I'm making a game that is based on the same dark atmosphere theme than Limbo. At least visually.

    It's named Shift, and I may soon finish the engine, so I can begin mapping.

    Here are a few update videos of the game (from it's begining to nearly what it is now):

    (add in https)://www.youtube.com/watch?v=gdyMosX622k&list=PL9F6oFczw6K1av8lfAUkPZduVl4dYeB16

    Here is a playable version (the engine is not finished yet, but is really close to the end) :

    (add in http)://airtailstudios.comxa.com/SHIFT!V4/

    Or play it on scirra's arcade:

    (add in https)://www.scirra.com/arcade/adventure-games/shift-5535

    Also, here are a few screenshots in case you don't want to go through all the 5 videos.

    I still got a few things to complete until I actually finish the game's engine.

    TODO:

    1-Mapping addons : Teleport points, camera spots 97%

    2-Enemy AI ------------------------ DONE

    3-Rotating Doors ---------------- DONE

    4-Sound Fade functions ------ DONE

    5- Options Menu ---------------- DONE

    6- Change controls menu ---- DONE

    7- Enhanced controls ---------- DONE

    OVERALL 99% (The end is near )

  • What I did personally, is redoing what the dude in the post I've shown in my previous message. The result is quite satisfying

  • I found a way to put two events in the same box even if they shouldn't be. Like the "Trigger once while true" and "On function" and so on. For the moment, it helps me doing some things and don't seem to be creating any bug or glitch, so I would rather say it's a tip and trick, but, if it happened that it may cause any problem, here is how I did it:

    Anyway, that's still useful if a function is called in multiple following frames, like on a "Is key pressed" condition:

  • Ashley

    Yep, as I said, what was really making the game laggy was the blur on lightning and the motion blur.

    Deactivating one of the two would give me some extra FPS and deactivating both would give me back my 60FPS, so I think that's what I'll do .

    Thank you anyway!

    (Btw, I found a way to put two events in the same box even if they shouldn't be. Like the "Trigger once while true" and "On function" and so on. For the moment, it helps me doing some things and don't seem to be creating any bug or glitch, so I would rather say it's a tip and trick, but, if it happened that it may cause any problem, here is how I did it:

    Anyway, that's still useful if a function is called in multiple following frames, like on a "Is key pressed" condition:

  • Mmh, yeah, I see.

    As I may export to NW.js, I think that I'll juste make a loop that goes trough every object and deactivate its effects.

    Even so I've been in the 'profile' tab in debug mode, and it seems that what causes most lag is my blur effect on lightning and the motion blur I added.

    Anyway, thank you

  • Hi. I'm making an 'options' menu for my game. And I would like to turn off the WebGL completely as the 'Fastest' graphic mode.

    So, is there a way to toggle WebGL in game?

  • Yes, something like this : (add https)://www.scirra.com/forum/request-directional-blur_t122854

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can also use the pulse WebGL effect I think

  • Mmh, I managed to get a motion blur to work, however this was absolutely not what I expected...

    I expected to get something like that: (https)://www.scirra.com/forum/request-directional-blur_t122854

    Or at least like that: (https)://youtu.be/Siud1xP8Veg

  • Asmodean Ah. Well that's a huge mistake I made!

    Thank you mate x)

    EDIT: Sooooo... I don't have a single chuking idea of how to translate this into OpenGL Shading Language. Can someone help me here?

  • What should I put in its place?

    I've seen many tutorials like this one: (add in http)://www.w3schools.com/js/js_functions.asp

    They all use 'function'.

    Also, for the setTimeout() call, it doesn"t give me any error, and I've seen it here:

    (add in http)://stackoverflow.com/questions/14226803/javascript-wait-5-seconds-before-executing-next-line

  • Hi, I'm currently trying to make a fast motion blur effect for my game

    Here is the fx's file code:

    //////////////////////////////////////////////////////////////////////////
    // Motion Blur effect
    varying mediump vec2 vTex;
    uniform mediump sampler2D samplerFront;
    uniform mediump float quality;
    uniform mediump float seconds;
    
    function scrUpdater() {
    		mediump vec4 front = texture2D(samplerFront, vTex);
            gl_FragColor = front + oldfront*quality/100 ;
        }
    
    void main(void)
    {
    	if (seconds == 0){
    		mediump vec4 front = texture2D(samplerFront, vTex);
            gl_FragColor = front;
    	}
    	else {
    		mediump vec4 oldfront = texture2D(samplerFront, vTex);
    		setTimeout(scrUpdater(), 10);
    	}
    }
    
    [/code:q701en8b]
    
    When I use it in Construct 2, I get this error:
    
    [img="http://image.noelshack.com/fichiers/2015/52/1450886713-javascript-error.png"]
    
    Can someone help me?
skymen's avatar

skymen

Member since 3 Aug, 2015

Twitter
skymen has 107 followers

Connect with skymen

Trophy Case

  • 9-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • x34
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x8
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x3
    Lightning Draw First person to up-vote a new Construct 3 release
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies

Blogs

  • Skymen

    Sometimes I do some cool stuff in Construct. Sometimes I like to talk about it.