Vilehead's Recent Forum Activity

  • Huge respect for reanimating this graveyard.

    Keep up the good work.

  • So hi R0J0hound. Long time to hear. I am forced to make a new thread because there are no means to DM users anymore and you leave no way to contact you on your profile...

    Could you DM me via Discord or something?

  • Hehe this place has been getting quieter ever since the community discord server appeared...

    Where can I find the link? I was looking around the WWW but there is no button. Searching via Discord's discovery module also left me with nothing (search engines are the same)

  • Hi.

    So I am aiming for something like that OP of this thread wanted but never got:

    construct.net/en/forum/construct-2/effects-31/discussion-lens-effect-126987

    The problem in question is the old, native Lens Effect.

    Lens Effect distorts and magnifies everything under the bitmap using pixel brightness and transparency. So, in theory - 100% transparent pixels do nothing but opaque white pixels - will magnify.

    The problem with the effect is that it also takes into consideration the position on the screen and the magnifying is always based on the center of the screen, instead of the center of the object with the effect.

    I am pretty sure it can be easily fixed by just changing the variables the centering is using. Sadly - I never got into GL shaders and I don't know how to do it by myself :/

    Anyone? Gigatron - are you still around old friend?

    ///////////////////////////////////////////////////////// // Lens effect varying mediump vec2 vTex; uniform lowp sampler2D samplerFront; uniform lowp sampler2D samplerBack; uniform mediump vec2 destStart; uniform mediump vec2 destEnd; uniform mediump float pixelWidth; uniform mediump float pixelHeight; uniform mediump float magnification; void main(void) { lowp vec4 front = texture2D(samplerFront, vTex); // Lens distort mediump float zoomFactor = (0.5 - (front.r * 0.299 + front.g * 0.587 + front.b * 0.114) * magnification) * front.a; mediump vec2 center = (destStart + destEnd) / 2.0; mediump vec2 p = vTex; p += (vTex - center) * zoomFactor; gl_FragColor = texture2D(samplerBack, mix(destStart, destEnd, p));

  • Here is Phonegape tutorial: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

    Good Luck .....

    <3 <3 <3 <3 I'll try it out right after I'll get back from work. THANK YOU!

  • Hey, I just built an APK with it! It works. It's pretty simple, but it takes time to install all the tools. I'll make that tutorial as soon as I can.

    I don't mind a method as long as it works. One question, because thats a deal maker or breaker - is it possible to export APK with a working AdMob Ads? :I mean, I can sell the raw traffic or make a custom Ads but AdMob pays way better and that was one of the main points of my contract

  • By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.

    Wow. Really!?!?!?! Alajajm - I don't know what to say, really. Thank you! Thank you so much!

  • Had to make another thread because the previous got closed...

    tagging people involved in our conversation cjbruce Jayjay Husui jance0405 Delenne Colludium

    So... Delenne ? You mentioned a way to wrap the HTML5 into a APK manually. The problem is - I am not a native coder. Is it possible for a non-programmer to use this method?

    Also - if anybody had a success with PhoneGap build or standalone - please tell us. After XDK will stop working - PhoneGap would be our next best shot. Sadly - there are no tuts or guides for non-programmers aka using C2 + PhoneGap

    >

    > <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad"> Well... so cocoon is off the table then...

    >

    > I need a "here-and-now" solution. Not another bright promise of something that -might- happen somewhere in the future.

    >

    I can't imagine the stress you are under with family and financial pressures, but I wouldn't write off any options quite yet. It sounds like you need a "right now" solution as well as a more permanent one.

    If you can just get something to work in the next week or two, it sounds like you are set for a little bit. After that, there are definitely more permanent solutions. Remember that all you really need for an HTML5 wrapper is a working webview. Any professional iOS/Android programmer should be able to get that up and running fairly quickly. I suspect that you will be able to get the performance you need without too much in the way of modification to your game now that both iOS and Android webviews support webGL.

    Also, have you tried the desktop version of PhoneGap? It looks like it might come with some additionally flexibility that PhoneGap Build doesn't include:

    http://docs.phonegap.com/getting-started/

    Oh? So PhoneGap comes in two shapes? Whats the difference between the cloud and the standalone version?

    Oh I fully understand and agree with you. We were left pretty high-and-dry when we were promised Mac OSX, Linux, and WiiU when we purchased our business licenses and then barely managed to make our Windows version of the game work (we had to downgrade our C2 and NodeWebkit just to export working exes and support Steam). It sucks even more when you have to answer to investors / clients / crowdfunding backers.

    But I have learned two things talking here about it:

    1. Nobody here saying "just give your source" seems to understand the legal NDA and copyright issues of doing that. It's not like we can ask Scirra to give us their C2 source when Construct crashes.

    2. This stalemate between people who actually make games and encounter issues and people who think thats entirely the fault of the game creators seems to never end. Even when other engines actually demonstrate better performance.

    Yeah. I am always lost when I hear people casually requesting me to give up source of a commercial products. They really don't understand what they are asking for and sort of punishment will rain on my head if something would went wrong.

    I think Cocoon.io is a pretty solid choice for mobiles if you dont mind their splash screen at the beginning of your games that is.

    Here is the complete documentation for it:

    https://shatter-box.com/knowledgebase/cocoonio/

    I have been using it and it is quite fast compilling everything and pretty straightforward to use. However after 2 apps you need to pay in order to use it

    If everything what Shinkan said is true - I cannot use Conoon <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> Too much downsides. And that splash screen... That'll be the first thinbg the client will ask me about and to remove. I'll give it a read, maybe there is a way. Considering the situation. Thx Hasui =)

    Im a cocoon.io user since from the start.

    Pros

    1. InApps (RemoveAds & New premium item)

    2. Ads (Appodeal & Admob)

    3. Share with automatic screenshot of the game

    4. 14mb Apk size (My project)

    5. GooglePlayGames (Leaderboard & Achievements)

    6. Facebook plugin

    Cons

    1. Not all custom/default plugins and effects are supported by cocon.io (If not supported, it can cause to poor performance, black screen or build error)

    2. Going to another layout sometimes causes 3-5seconds or more. Let just say your Main Game Layout has 30-50mb memory image)

    3. webgL 2.0 is not supported (causes black screen/build error too) so better use v239 and below version of construct 2

    Ouchy. PROs are awesome but those CONs are deadly :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Irbis no idea bro.

    I used cocoon.io once or twice before they came up with their idiotic payment plan... But it was shit, well for me anyways. Long hours of waiting for their system to build my app (imagine like 2-7 hours between uploading a zip file and downloading apk file), and even then stuff never worked properly. I've always had better results and literally no problems with XDK, all plugins always worked, maximum waiting time was less than 5 minutes - for me it was actually lot faster to upload each new game test version to XDK than using dumb "Preview on LAN" which never show true game stats on mobiles... Anyways. XDK is no more from what I heard/read so all you have now is manual process of converting html5 to apk or use Phonegap. Don't know if they are other means and even don't care anymore. Like I wrote in some other post , They abandoned C2 just like they abandoned CC. difference was that we actually paid for stuff in C2 that never came, and from what i can see C3 is no different, so good luck with your stuff mate!

    Well... so cocoon is off the table then...

    I wouldn't call all those years with Construct wasted just yet. Construct was started as a free open source clone of Clickteam products and their newest one in development looks like its returning the favour (minus the HTML5-only export).

    Might be a very viable alternative for you.

    As I've said - no. I paid for C2 and its features. And a fair share of those features had never be delivered or are now dying out. That was not part of the deal for them to be working. I am not giving Scirra any more money ever. They have proven me that it was a bad idea to invest my time and money into them. So now they would need to try VERY hard to prove some hardcore good will. For example - not doing what Shinkan mentioned. But that's a tale of future.

    Even if Scirra would have a sudden change of heart - it'll take years before C3 will reach the level of polishment of C2. And I have a problem here and now. And I need a solution here and now. Otherwise I will have suits going after me. I need a valid way of exporting a C2 made games for at least mobiles. Money can change a lot so I can pour some cash on that Steam API plugin and get at least Desktop sorted.

    But I still cannot find a valid and long lasting option for mobiles. XDK is closing in less than a month. My clients might want some extra changes/updates after that point. I cannot use a solution that will vanish in a month. Please understand me. Its not about who's right or wrong or someone's personal preference. I was paid to do the job and I knew I could do it. Its not about Scirra anymore or hating. I have a wife and two kids. And If I won't find a way to get this sorted I am f****d. Literally.

    Imagine what would happened if Adobe Photoshop would suddenly not be able to save images to jpg and png. Global outbreak of millions of graphics artists who's work and livelihood depends on that features. Same thing is happening here but on a smaller scale and I am involved. I need a "here-and-now" solution. Not another bright promise of something that -might- happen somewhere in the future.

    Have you looked at Phonegap Build service?

    https://build.phonegap.com

    It is paid, but should be pretty painless to use.

    Oh that's the thing. I tried it yesterday. And at first - it was a blessing!

    First you just export your game and pack it all into a zip with 0% compression. Upload up to PhoneGap, wait 30sec and V'la! It'll give you an apk right away! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> Like a charm! Which is a god send if you ever used Intel XDK. The problem popped up later... I tried renaming my APK. Upon upload it reverted back to default one and I couldn't setup any plugins or permisions (as you would with XDK).

    There is a tab "Plugins" but it just tells you that you have none (lol) and there's no UI to add new. Also, upon building an APK - you cannot change the description/name. You have to delete it and build again. But it gives you that defaults >.<

    Sadly - googling for past 24h left me with no answears of how to configurate the whole thing. All I could find is that I have to change some bits of the APK manualy to fit my needs. The problem - if I would be smart enough to do this sort of things - I don't think I would need to use C2 at all lol.

    So I am hoping for some miracle maker guy who would aid me on it =(

    I wish XDK and PhoneGap would hook up and have a baby lol.

    XDK customization power + PhoneGap user-friendliness = Win

    >

    >

    > Thx for the kind words buddy (one of the first in this thread ).

    > As of point 1 - sadly I have no idea what those things are. You mean via Intel XDK?

    > point 2 - if Scirra could estimate the time then maybe yeah. But their "We're working on it!" means anything between a month and a year. And when I maybe (just MAYBE) would be able to stretch the line for one month - I cannot do this for a whole year. And there's also no promises from their side that it'll be working as intended.

    > As I've said - PhoneGap sounds very nice and project loading is literally instant (when compared to Intel XDK at least) but I have no idea how to setup the settings to fit my game, beside the defaults. Would you be an user of PhoneGap by any chance?

    >

    I haven't used phonegap myself. A few years back it was pretty primitive and ran without webGL, but with the advent of the WKWebView for iOS, it is now hardware-accelerated and a great option. I would definitely give it and Cocoon a shot. Back in the day, Cocoon worked much better than XDK for me.

    I was a native iOS programmer before switching to C2. xcode is the tool you would use if you wanted to do things natively on iOS/mac os. It is incredibly powerful, but not very user-friendly. I like C2 because I can get everything done in much less time.

    Well I've heard xmnboy saying that current PhoneGap runs on the same steam as XDK used to. The problem is interface and lack of documentation for non-programmers. For the love of god - I can't figure it out

    For desktops - I have to check that thing Colludium mentioned - Electron. Nw.js is just too unreliable

Vilehead's avatar

Vilehead

Member since 9 Nov, 2010

None one is following Vilehead yet!

Connect with Vilehead

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies