Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - time-killer-games

511
Issues Help Desk / Re: Qt "Step" Event?
« on: August 06, 2014, 11:24:47 am »
I can't because Enigma doesn't have a cross-platform WebView control. All I need to know is how to make that code I provided run during every "step" or "update" then there will be absolutely nothing else left to do and I can compile the darn thing on Linux.

512
Issues Help Desk / Qt "Step" Event?
« on: August 05, 2014, 07:24:19 pm »
I have no idea how to use Qt's wonky, over-complicated (for no reason) event system.

I want to do this every step:
Code: [Select]
void testfunc()
{
        if (test2!=2)
            test1+=1;

        if (test1>=600)
            test2=1;

        if (test2==1)
        {
            sound1.play();
            sound1.setLoops(-1);
            test1=0;
            test2=2;
        }
}

This is my entire cpp (HTML application):
Code: [Select]
#include <QApplication>
#include "html5applicationviewer.h"
#include <QSound>

int test1;
int test2;
QSound sound1("assets/assets/game.wav");

void testfunc()
{
        if (test2!=2)
            test1+=1;

        if (test1>=600)
            test2=1;

        if (test2==1)
        {
            sound1.play();
            sound1.setLoops(-1);
            test1=0;
            test2=2;
        }
}

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    Html5ApplicationViewer viewer;
    viewer.setOrientation(Html5ApplicationViewer::ScreenOrientationAuto);
    viewer.showExpanded();
    viewer.loadFile(QLatin1String("assets/index.html"));
    QSound::play("assets/assets/splash.wav");
    test1=0;
    test2=0;

    return app.exec();
}

I've googled all over. nowhere seems to be giving me a reasonable fix that makes any sense to me. I hate this QTimer and QObject crap  have no idea how to use Timers they're so complicated for no reason.

Please help.
Boobs.

513
This text looks amazing but I'd rather see screenshots! Plenty of them goes a long way! :D

514
Off-Topic / Share Your Music
« on: August 02, 2014, 06:52:44 pm »
Share either music you listen to and/or music you wrote yourself. I'll start off with my personal creations.

Well if there's one thing I benefited from religion, is that it scared the crap out of me. I recently uploaded a re-creation of all my horror music on YouTube for anyone who's interested. I'm looking to sell these tracks and more on iTunes, SoundCloud, etc. and would like some opinions. If you guys don't like what you hear then I'm also considering to make them royalty free or public domain. Let me know what you think! :D

http://www.youtube.com/playlist?list=PLTUMODgBRjDm1HPklflDUQIXn8_cEgY5i

Cheers.

515
Off-Topic / No rush
« on: August 02, 2014, 06:06:04 pm »
I realize now I've been coming across as very needy and I've been basically harassing you guys to add features and fix bugs, I just wanted to apologise for that. You guys have enough to worry about I shouldn't press anything. You guys have been doing great. This isn't another appreciation topic I just want to be more aware of how I'm coming across. And I'll try to tone down the.cursing a bit Harri, you're right about how it reflects on the community in a bad way for first time guests.

Cheers.

516
Off-Topic / Re: NakedPaulToast
« on: August 02, 2014, 02:23:12 pm »
Are you guys just not reading enough? I'm not providing links because it's way too depressing for me to bother nursing and rehearsing his shit again. It's not like I have nothing to prove my point with, I'm choosing not to. There's a difference. I'm also very stunned I'm not sure what you guys were reading of his but it must of been during a full moon or something.

517
Programming Help / Re: Creating a HtmlView control on Linux
« on: August 01, 2014, 11:53:45 am »
That won't be needed Bob, I'll just use Qt cold turkey. Shouldn't be that hard since what I'm after is so basic.

518
Programming Help / Re: Creating a HtmlView control on Linux
« on: July 31, 2014, 10:18:49 pm »
I have a point-and-click escape game I designed in pure HTML but online it runs slow as hell and it has very limited browser compatibility so I'm "converting" it to "native" or at least disguising it as that it can run locally at full speed while being standalone. An HTML container if you will. My game doesn't work at all in Chrome or Firefox. Works perfect in IE and Safari. Since Qt's WebKit is Safari based your suggestion is perfect. Thanks again!! :D

Edit.

It still needs to be built for Mac using my existing BlitzMax code, and I still need to write and compile the Linux equivalent in Qt, but I do have it written and compiled for Windows already using GM 8.1 if you're interested. :D Get it here - http://timekillergames.weebly.com/cabin-fever-escape-3d.html

519
Proposals / Re: Close file without closing LGM/ENIGMA
« on: July 31, 2014, 10:15:24 pm »
Robert he means adding the ability to have multiple projects loaded simultaneously in the same IDE window/treeview instance, similar to CodeBlocks/VisualStudio how you can manage solutions and workspaces kinda deal and whatnot.

520
Programming Help / Re: Creating a HtmlView control on Linux
« on: July 31, 2014, 10:01:42 pm »
Is it currently possible for me to do this in EDL and/or enigma's C++?

Edit.

Okay nevermind, edsquare you have exactly what I need - thanks for the link!!! :D

521
Programming Help / Creating a HtmlView control on Linux
« on: July 31, 2014, 08:47:06 pm »
*Windows has by default an IE based ActiveX control for embeding HTML in dialogs.
*Macintosh has by default a Safari based control for embeding HTML in dialogs.
*WTF is the Linux equivalent? Me needs it.

Blitzmax doesn't have a WebView control on Linux, it's more of a raw text viewer than anything. They said this is because Linux has no equivalent. If Linux does have one I assume it's Firefox based but I've googled everywhere and can't find shit. If ENIGMA supported a Linux WebView control, I would trash Blitzmax (other than for Mac use) and use ENIGMA right way.

522
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 07:37:37 pm »
square I thought Linux was your personal fuck-buddy! :D

523
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 01:23:59 pm »
Steve is already there, since I mean he's dead so.. I've heared rumors of Bill's death, but I think it's just an internet prank.

Edit.

Edsquare I completely agree with your above post. Most people do it out of the ignorance, "sexy" and "slick" look, and of course "bragging rights" associated with being well off and able to afford the expensive brandname. As for the virus argument, if everything you want to download is on the Ubuntu Software Center, screw crapple, no virus issue just that easy (Linux has much less virus issues than Mac).

524
Off-Topic / Re: MacOS Counter-intuitive?
« on: July 31, 2014, 12:33:46 pm »
Rusky is so excited he just can't hide it. It's okay Rusky, we know you're an Apple fan deep down, we still love you. :D

525
Off-Topic / Re: NakedPaulToast
« on: July 29, 2014, 05:28:05 pm »
he did not seem tolerant to trolls / bashers / flamers
He's the supreme leader of the trollish army. Before I even initially joined the GMC dating back in like 2010-ish I've read many of his post and overall he's just a jerk for no logical reason to specify. That's not the kind of person who should stay on the GMC. If they keep me banned until I push up daisies and keep that thing to still crawl around the forums on all fours I just find it a little unsettling is all. I'm surprised you guys seem to think he's actually worth anything. That's a big mistake. But since you two aren't active over there it's not like it matters. It's like the mods and admins are oblivious to how abbrasive he is.

He goes accusing multiple new members of being 12 year olds, with nothing to go by, he's sarcastic, arrogant, and when someone disagrees with him that makes them irrational and stupid. He'll try to convince them of that in the most rude ad cutting of ways. And everyone praises him for these things as if being a super annoying lunatic was a good thing.

He's popular, so in his case they see him beneficial even though he's a mindless jerk who seriously claims to know everything. at least he thinks he does. I wasn't popular on the GMC, I verbally attacked 1 person (TV) and they instantly perma-banned me. What about NPT? Are they just going to let him slide because he can do jerky things the "cool" or "popular" way? Bad = bad. But on those forums bad can sometimes equal good if you know what I mean. Places like the GMC are way too driven by everyone's popularrity and social status which is just plain stupid.  In conclusion I don't care to have citation for any of this I don't want to over induldge myself in such a bad memory.

NPT can insult the hell out of all these people but it's okay because all the cool people like him. God forbid I act like him for 1 day, that's why I was banned.