Question 1 and 2
1.)On the layout menu, right click away from any graphics.
2.) Look on the left side menu, it should say layout by default. If you look through it, you will find the height and width.
I did this in order to get my game to load in the arcade.
As for question 3_ Check this guy out, he really helped me...
http://www.youtube.com/user/ConstructDude?feature=csp-in-feed
Hey Burningwood,
Thanks for your reply! So for the first two responses : I am well aware of how to get to those settings. I was more asking if they could be changed within the game (from an event sheet). Sorry if I was unclear about that.
As for the third response, I have been going through his videos, he has a great deal of information in them. I will see if any of it addresses number 3.
1 and 2. No. They need to implement this in the official nodwebkit plugin.
3. You can use the snapshot feature for that. (If you dont know how to use it, search "snapshot" on the forums)
Ok, thank you very much lmchucho, so let me paraphrase my understanding: Basically, this is not implemented and they dont seem to have plans to yet?
As for number 3, I will check this out right after typing this up. However, could you let me know how it is that you think the snap shot feature can be used for my particular situation?
Thanks again!
not sure this is exactly what you're asking but seems very close:
set window in game... system - set canvas
this scales your layout to new window
you can not set layout width and height independently but you can scale both the same with ... system - set layout scale
not sure I'm following #3 but I've a post about how to load an array on project start elsewhere, seems near the same.
Hi Kosiam!
So, for setting the window within the game. Ill help visualize: Lets assume this game / level editor is already made:
1. The game opens up to a main screen. In here we have values we can set, like layoutwidth, layoutheight, windowwidth, windowheight and tilesize(always a square so only one value instead of two) and a little button that allows you to load image files from your computer to the program/level editor.
2. Underneath all of this there is a button that says, generate and a second button that says load.
3. When you fill all the values in( Lets say with: layoutwidth = 1280 layoutheight = 1024, windowwidth & windowheight of 256, tilesize = 32) and give the game an image file of the appropriate size to load. You click generate.
4. After this, you click load and the next layout the game goes to will have the background image set as a background. The layoutwidth and layoutheight the user specified(1280, 1024) the windowwidth and windowheight the user specified(256,256) and the grid set on top of the image will be the number the user specified as well(32).
If this does not help visualizing and thus help with the questions, I apologize. :(
For #3: I am pretty aware of the features that can download the array files. I already have this implemented for this program. It would be similar, yes, but it would be for images instead.
Thanks for the replies!