Jump to content
Dragonfreak

Hiding the exported standalone lua console

Recommended Posts

Goodday everyone!

 

I have this random question which i have been wondering for a while now. Considering next week is my exams which i'll proudly show my created small game made with leadwerks :)

 

Now the question, i noticed as soon as it gets standalone exported, it opens a console screen with the game. Now this isn't a huge problem.. But i think it'll look neater without :)

 

I have tried to follow up this post a bit: http://www.leadwerks.com/werkspace/topic/6445-le3-hide-dos-screen/

 

However, i got a bit confused and it doesn't seem to work (Perhaps because it was le3 and not le4?)

 

Anyone got any suggestion / tip / method for me to solve this?

 

Thanks in advance!

Share this post


Link to post

There is no way to do this in lua, you need the professional edition.

 

Again, just add the bit before the main function.

Share this post


Link to post

Yeah. Why not. Idk if the project really matters. All I got to do name the headers exactly the same as you need right? Or am I just thinking outside the box?

Share this post


Link to post

I think it should ;o but eh, doesn't really matter anymore :P been so busy that I barely had time to check out the forums today >_< send my game in this afternoon and now got to create a presentation for Wednesday :)

Share this post


Link to post

All it should take is changing the subsystem option(in the linker options) from "Console" to "Windows" in MSVC then rebuild. You would need to rebuild every time there is an update to LE(and don't forget!).

Share this post


Link to post

Presume this is in visual studio? Considering all i have done so far is inside the leadwerks thing itself :P As i don't have the pro version upgrade (yet, really tempting to buy it... But money is a pain >_<)

 

Tho, if this is possible even without the pro version, how exactly do i need to rebuild it? (Maybe noobish question, but my school barely thought my anything :) )

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...