jobel's Forum Posts

  • 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??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just updated the original post... as I figured a way to go through IIDs but it doesn't help me go left and right with the D-pad...

  • Hi,

    I'm doing some menu stuff in my game. I want the GamePad (d-pad) to be able to go up/down, left/right in a grid. It needs to highlight the one it's on and then do an action when user hits the "A" button.

    I'd like to hear some suggestions on how people have done this. I need to be able to pick the object (all objects are the same type) and reference it directly once "on it". So when the gamepad hits "A" it knows which object it's on and uses that objects instance variables to do certain things.

    Here's a capx test of what I mean... I've done it with the Mouse which is much simpler since the user selects the "button" they want, opposed to having to scroll through it. But I need to use the GamePad.

    In my real game I've started to make it work in a cludgy way by making an array of all the XY positions of the buttons then depending on where I am in the array I know which button I'm on, but I obvious can't access that button's instance variables!

    In this test I figured a way to scroll through with cycling the IIDs however this does not help me going Left or Right with the d-pad.. so maybe there's a completely different way to do it?

    any help would be greatly appreciated!

  • you can play music simultaneously.. see this thread:

    I think the Music Folder must have something to do with how often it can be triggered... I'm not really sure, but all I know is it works now and I never have any issues triggering music.

  • I knew it was something stupid!

    suddenly, my world makes sense again..

  • SOLVED...

    I had the sound effect audio imported into the Music Directory... I guess it doesn't refresh as fast which makes sense since music plays longer than SFX..

  • thanks eli0s and winsonzhong It most likely is a Chrome problem. I retested with Firefox and you're correct it works fine.. not sure what was happening before..I was getting some unexpected results when at fullscreen in Firefox (it sometimes acts as if frozen, the screen won't redraw, then all of a sudden it does)...but that I think is unrelated to this. I don't think a Scirra bug report will help as it's probably something Google has to take care of.