Jump to content

Problem with publish


Go to solution Solved by AggrorJorn,

Recommended Posts

Posted
Hello, I am a total beginner and I have a question about publishing.

I have uploaded a tutorial map (07-AI und events) and would like to publish it. However, I get as a result always only one level with two simple blocks. What am I doing wrong?

Greetings Andreas
  • Solution
Posted

When you play the game via the editor, your game starts with the currently opened map in the editor. When you publish a game, the main.lua file opens the map specified with

Map:Load("Maps/start.map")

If left unchanged this will be start.map which is the scene with the 2 boxes.

Posted
Ok, I have the possibility to get a 4k resolution. I have a Gforce 1070.

In the script I find the following code:

"local gfxmode = System: GetGraphicsMode (System: CountGraphicsModes () - 1)
if System: GetProperty ("devmode") == "1" then
gfxmode.x = math.min (1280, gfxmode.x)
gfxmode.y = Math: Round (gfxmode.x * 9/16)
windowstyle = Window.Titlebar "

How can I change the resolution?

Greetings Andreas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...