jobel's Recent Forum Activity

  • using Lerp to try to zoom in:

    Set Layer 6 Scale to 
    lerp(LayerScale(6), GameCameraZoom,1*dt)[/code:y3kmy7vo]
    
     but the lerp takes a long time (wall clock) to actually end (even though it looks like it stopped).. and i'd rather not spend the processing on unneeded calculations..
    
    anyone doing smooth zoom ins/outs differently?
  • just curious, I've be searching the forums and haven't found any evidence of any C2 games on Steam. Just wondered if there was how would it be rolled out? Node-webkit I'd assume... anyone have anymore info?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Deadline for submissions is:

    11:59PM EST June 20, 2014

    Digital and Tabletop Showcase is in September.

  • iceangel

    yeah I submitted my game.. they extended the deadline until later today though.. 12 hours..

    http://bostonfig.com/games-submission/

  • Anyone submit a game or attending the 2014 Boston FIG (Fesitval for Indie Games)? It's at MIT in Cambridge, MA it's a great time.

    http://www.bostonfig.org

  • ahh the Browser Object.. okay.. I was looking in the NodeWebKit Object.

    in here:

    https://www.dropbox.com/s/8zke3d9ohypyi ... .24.24.png

    Thanks!

  • or if you meant without the borders ('frame-less')

    Before export: ...make edits to exporters\html5\node-webkit\package.json

    "window": { ....
     ,"frame": false
    }
    [/code:1j7szgca]
    [b]OR[/b]
    
    After export : 
    windows or linux : package.json is inside [i]package.nw[/i] (it's a zip file)
    mac : ... [i]osx\newproject.app\Contents\Resources\app.nw\package.json[/i]
    

    I didn't have the line "frame" in my json, so I added it. But it did not work.

    I'm talking about the Windows border around the game. Currently when I run the game.exe it makes it look like a windows program is running. If I were in Chrome I'd hit F11 to go fullscreen to get rid of the border.

  • then you can use the following actions:

    Request fullscreen

    Request that the browser enter fullscreen mode. Note the browser may ignore this request unless the action is in a user-initiated event, such as a mouse click, key press, touch event or button press. There are three different fullscreen modes that can be entered:

    Center - center the game viewport in the fullscreen view

    Stretch (crop) - extend the game viewport to fill the fullscreen view

    Stretch (scale) - scale (zoom) the game viewport to fill the fullscreen view

    Cancel fullscreen

    Return to windowed mode if the browser is currently in fullscreen mode.

    Not sure if I'm not seeing it correctly, but the only action I see that has the word "Request" in it is Request Attention from User.

    The only thing there that suggests Windowing is "Maximize" but that still leaves the Windows border around the game.

  • I'm sure someone has figured out how to make a game un-windowed using the fullscreen of Node-Webkit. All my forum searches come up empty.

    I'm using Windows 8.1, my game is 1920x1080 and I've tried everything in the Configuration Settings with no luck.

    am I supposed to do something to the .exe?

  • zatyka cool.. I just played the demo, but that's basically what I needed... and wow your CAPX is very thorough and inclusive! thanks!

  • Well. you could make it so that if there is no selections with the currentselection number then you go back to what it was before you added/removed something from the variable.

    TheNormalGeek yes! that's it... love the simplicity.. I basically just ignore input from the D-pad L/R if it's in a row without a "neighbor".

    awesome.. thanks so much!

    here's my solution.. modified from your version.

  • TheNormalGeek very clever! love it.. so simple.. adding 10 to the left/right arrows.. nice..

    now I just have to figure a way to do that when my column rows aren't the same length... i.e. one column has 10 buttons, the next two over have 3 buttons.

    I could maybe make an array (yuck) and store: Array[columnnumber][what_to_add]

    column1, add 10

    column2, add 4

    column3, add 4

    ???

    seems kinda cludgy.. but maybe the best way??

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies