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

1141
Function Peer Review / Splash functions
« on: May 08, 2013, 01:31:06 pm »
here's the code.


Code: [Select]
  HWND apphwnd;
  HANDLE handle;

    int CALLBACK EnumWindowsProc(HWND hwnd, LPARAM param)
    {
        DWORD pID;
        DWORD TpID = GetWindowThreadProcessId(hwnd, &pID);
            if (TpID == (DWORD)param)
                {
                apphwnd=hwnd;
                return false;
                }
        return true;
    }

    HANDLE StartNewProcess(LPCTSTR program, LPCTSTR args)
            {
                HANDLE hProcess = NULL;
                PROCESS_INFORMATION processInfo;
                STARTUPINFO startupInfo;
                ::ZeroMemory(&startupInfo, sizeof(startupInfo));
                startupInfo.cb = sizeof(startupInfo);
                    if(::CreateProcess(program, (LPTSTR)args,
                                        NULL,  // process security
                                        NULL,  // thread security
                                        FALSE, // no inheritance
                                        0,     // no startup flags
                                        NULL,  // no special environment
                                        NULL,  // default startup directory
                                        &startupInfo,
                                        &processInfo))
                        { /* success */
                        Sleep(5000);//wait for the window of exe application created
                        ::EnumWindows(&EnumWindowsProc, processInfo.dwThreadId);
                        hProcess = processInfo.hProcess;
                        } /* success */
                return hProcess;//Return HANDLE of process.
            }

  int splash_show_program(char *program)
  {
      StartNewProcess(program);
      ::SetParent(apphwnd,m_hWnd)
      ::SetWindowLong(apphwnd, GWL_STYLE, WS_VISIBLE);
      CRect rect;
      GetClientRect(&rect);
      ::MoveWindow(apphwnd, rect.left, rect.top,rect.right, rect.bottom, true);
  }

  int splash_terminate_program()
  {
      TerminateProcess(handle,0);
  }

1142
Issues Help Desk / Re: How to I talk in the IRC?
« on: May 08, 2013, 11:50:39 am »
Thanks! got it. Boy am i clueless XD

1143
Issues Help Desk / How to I talk in the IRC? (Solved)
« on: May 08, 2013, 11:33:27 am »
I type, nothing happens. I looked for how to do this, I'm clueless.

1144
Works in Progress / Re: Torture of the Afterflesh
« on: May 08, 2013, 11:10:20 am »
Game Maker studio can export gm81 projects that don't work in LGM. I found away around this a while back. I open the gm81 in GameMaker 8.1, export all the resources, then import them in a new,  blank project. Then it works in enigma. But there's a road block. The sprites, backgrounds, and 3d models have a huge file size. When I load them in LateralGM it doesn't work. It says the project is opened, but all the resources in the resource tree are still empty.

1145
Works in Progress / Torture of the Afterflesh
« on: May 07, 2013, 08:35:48 pm »




MICROSOFT WINDOWS DISTRIBUTION
APPLE MAC OS X DISTRIBUTION
ANDROID DISTRIBUTION

Sadly, this was made with GameMaker:Studio. I wish I could port it to ENIGMA,
but for whatever reason the project file won't open in LateralGM, I assume this is
because of the file size. So for now, all I have to share is the GM:S version...


~Time Killer Games Productions~

1146
Off-Topic / Re: Pennsylvania
« on: May 05, 2013, 04:51:18 pm »
"I'm single" he says. haha

1147
Pretty much half the things up in the topic GM8.1 and GMS already has. I would help update this but I'm too lazy atm.

1148
Off-Topic / Re: Pennsylvania
« on: May 05, 2013, 02:03:34 pm »
She lives in Pennsylvania. If this would workout we could be a bunch of computer geeks eating chocolate and riding roller coasters at #HersheyPark :P

1149
General ENIGMA / Re: Should Josh start merging the compiler?
« on: May 04, 2013, 12:58:47 pm »
^Have no idea what pretty printers are, all I know is I REALLY want to get my game working on ubuntu, so I say you guys should merge it! :D

1150
Off-Topic / Pennsylvania
« on: May 04, 2013, 12:53:57 pm »
Hello! I noticed there were mutiple members here from Pennsylvania (Robert & ISM)

Every summer, me and my family visit my great aunt because she is very lonely, and my uncle took advantage of her and stole all her money and got away with it legally becasue she isn't thinking clearly due to her age.

She lives in Pennsylvania, so I was just thinking next time I visit her if maybe I could meet you guys in person. I just think that would be cool 'cause here in virgina no one I've met is at all interested in game development.

Once I get an ok from my parents I'll tell you guys what city we'll be in when we visit my great aunt over the summer. If you guys live annywhere near where near where me an d family will be, that would be freaking epic.

But then again, I don't really know you guys AT ALL. So it might be awkard, what do y'all think? :)

1151
General ENIGMA / Re: New logo, make your own!!
« on: May 04, 2013, 10:44:54 am »
Funny, before I seen this topic last night I made my first "official" TKGP logo...

1152
Issues Help Desk / Bug with the forum, possibly?
« on: May 03, 2013, 01:55:05 pm »
It takes forever to send messages the reply button just sits there after I pressed it. When I sent an item why don't I see it in "sent items"?

1153
General ENIGMA / Re: CG Shader Compiler
« on: May 03, 2013, 01:40:51 pm »
Perhaps NaturealGM / wxEnigma should solve this problem?

1154
thanks josh. Now i have two new problems. the andoid compile dialog is telling me that...
Quote
"game_end" was not declaired in this scope
But I'm not using game_end anywhere in the project's code, dnd, or global game settings. How
do I fix this error?

Second android compile issue, do i need the java jdk or is the andoird sdk and ndk good enough?
I have the jdk installed on my ubuntu in its default intallation directory. Do I need to somehow
direct the engima makefile/enigma settings files to the correct jdk directory? or should I put the jdk
in a directory that enigma will recognize? Not sure if thi is even an issue, but all I know is I'm having
java related errors such as...
Quote
"jni.h" no such file or directory

and
Quote
"cant_remember_filename_but_remember_log_extension.log" no such file or directory


I'm very very certian my project is completely compatible with the android export as it only uses these
features...
Code: [Select]
*mouse left button pressed event
*instance_change() function
*checking/setting custom variables
*visible local variable
*room_goto() dnd
*persisitent rooms
*game_restart()
Other than the sprites, backgrounds and objects, this is everything that is in my game in a nutshell. So
I highly doubt there is android compatability issues, though please correct me if I'm wrong.

Thanks everyone for you help and support! :D
TKG

1155
Graphics and Video / 3D Renders from "e3D: Escape the Laboratory"
« on: May 03, 2013, 01:08:32 pm »






What do you guys think? The 3D modeling isn't exactly perfect but because I'm too lazy to make the models
more detailed. I edited these images for higher contrast at pixlr.com. I used Bryce and sweet home 3d for
these renders.  I hope to make this game complete and release it as freeware [unless enough people think
its good enough to sell].