Jump to content

Physix


peubuy
 Share

Recommended Posts

http://www.youtube.com/watch?v=5CsAXNAXOZY



EDIT:

Add Loading Page.. and game complete page.

But Loading is very short.. so can't see loading page.. :( ..

use C++, Leadwerks Engine 2.31 + Gamelib 0.0.19.0.

------------------------------------------------------------------------

Hello, it's my first time to write on Leadwerks Forum. :D


Still I am not very skilled, but I have made a game to submit to the korean game competition.


This game is made of C++ language.


Game scenario is the players have the powers to escape the room.


The logo placed front of the video is the logo of the competition


Because of my unmatured skill, I couldn't build up the loading page. However, it is almost completed


So the loading is unnatural.. :(


I want to complete rest of the game and get the prize form the competition as much as I put the effort in here. :huh:


Thanks for read this :lol:


Sorry my english.. :unsure: i'm korean
Link to comment
Share on other sites

It reminds me of Lumooja's game a while back but a lot more refined. I too wish you luck with the competition!

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Link to comment
Share on other sites

Yeah, it's a lot like the latest LCP1, but much improved, especially art wise. I like how fast the lifted objects are positioned in front of the player, because in LCP1 using normal engine functions it takes much longer.

 

About loading screen, I have done it like this:

double	LoadingScreen_i=0;
bool	LoadingScreen_done=false;

void LoadingScreen( void *dummy )
{
HWND hWnd = game.window.hwnd;
HDC hDC = GetDC( hWnd );
HGDIOBJ original = NULL;
original = SelectObject( hDC, GetStockObject(DC_PEN) );
SetDCPenColor( hDC, RGB(0,255,0));
while( (LoadingScreen_i<game.window.sx-200) && (!LoadingScreen_done) )
{
	MoveToEx( hDC, 100, game.window.cy+10, NULL ); 
	LineTo( hDC, 100+LoadingScreen_i, game.window.cy+10 );
	LoadingScreen_i+=0.00004;
}
SelectObject( hDC, original );
ReleaseDC( hWnd, hDC );
_endthread();
}



int main(int argc, char* argv[])
{
...
game_logo.Load("abstract::gamelogo.dds"); // show some loading screen picture
SetBuffer(BackBuffer());
DrawImage(game_logo,game.window.cx-BufferWidth(game_logo)/2,game.window.cy-BufferHeight(game_logo));
DrawText(game.window.cx-TextWidth("Loading...")/2,game.window.cy-FontHeight()/2,"Loading...");
Flip(0);
_beginthread( LoadingScreen, 0, NULL );
game.scene.LoadMap("abstract::map1.sbx");
...
all other setup code here
...
LoadingScreen_done = true; // tell the loading thread to end
// main loop
while(!done)
{
...
}
}

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

LOL, now I watched it for the first time with headphones on, and hey, the song is from my Power Tutorial, which I made with my YAMAHA XS7 (just 4 patterns looping) :huh:

Which means, the game is written using GameLib!

Oh my god, this is so awesome! Double Rainbows woohooo! :unsure:

 

I really need to continue the Power Tutorial, if people can already make this great things with that little tutorial, plus combining a few more things from Josh's demo and LCP1.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

매우 흥미로운 게임! 난 경쟁에 많은 행운을 기원합니다!

52t__nvidia.png nVidia 530M cpu.gif Intel Core i7 - 2.3Ghz 114229_30245_16_hardware_memory_ram_icon.png 8GB DDR3 RAM Windows7_Start.gif Windows 7 Ultimate (64x)

-----

IconVisualStudio16.png Visual Studio 2010 Ultimate google-Chrome.png Google Chrome PhotoshopLinkIndicator.png Creative Suite 5 icon28.gif FL Studio 10 MicrosoftOfficeLive.png Office 15

-----

csharp.png Expert cpp.png Professional lua_icon.png Expert BMX Programmer

-----

i-windows-live-messenger-2009.pngskype-icon16.pngaim_online.pnggmail.pngicon_48x48_prism-facebook.pngtunein-web.pngyahoo.giftwitter16.png

Link to comment
Share on other sites

Thank you guys. :lol:

 

 

Lumooja // I could finally complete the loading page with codes you have written :unsure:

 

 

I have been using Gamelib since version 0.0.13.0. And I have used it pretty well. Thanks

 

 

And now use Leadwerks Engine 2.31 + Gamelib 0.0.19.0. ^^

 

 

(I really loved that song which i used in the game. Isn't there any problem with using it in this game? :huh: )

Link to comment
Share on other sites

(I really loved that song which i used in the game. Isn't there any problem with using it in this game? :huh: )

It's not really a song, but only an example in Power Tutorial how to load a game music :unsure:

You can use it freely in any games you write!

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...