-
Posts
191 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Daimour
-
-
It should work. CreateMesh() and then AddMesh(). Probably you will need TranslateMesh() for correct positioning. And don't forget about UpdateMesh(). And physics body, if you need them.
-
There is function SetWorldGravity for changing gravity vector.
But concerning controller, I doubt It can be rotated. But who knows...
-
I think construction kit will be the best solution. Especially if you will release your planned feature to load and unload parts of level when needed.
-
As far as I got with that is declaring the buffer with the calls to getsize and makecurrent. I have no idea how to render anything to it or what to do with the buffer after declaration . Any more info that info would be really appreciated!
You can watch a little example of rendering to buffer here: http://www.leadwerks.com/werkspace/topic/4746-load-texture-pieces/#entry41584
-
I think you are talking about the same but with different words.
The articles I've referenced do support the belief that the DDS files are decompressed using hardware on the GPU.
Of course, GPU can't use compressed texture. It need to know color of each pixel with coords X,Y. The main question is when texture will be decompressed? While loading or during pixel colourization? In other words, does it stay compressed or decompressed in video-memory?
I didn't read any special articles, but I believe that DDS-textures stay compressed in video-memory and will be decompressed on the fly when needed (may be partially).
-
-
Cool!
-
-
But I need a Context for video playing, because the Data is loaded into a GLTexture.
Not sure if it's a best way for playing video.
And how should I separate the App ??
I'm not sure. That was just an idea. You can create a standalone app for player and run it from game app in separate thread with waiting for finishing. And after closing player app your thread will get control and continue execution. So you will know that video is finished.
-
- To not use GL Context for video playing...
- To make separate applications for game and for video player...
-
Looks like BMax tail.
Try use EntityRotation(knight.model, 1) instead of knight.model.rotation.
-
The problem is the second parameter;
What's the problem?
-
I think there is no strict rule here. Make as you comfortable to work with.
I would try to keep main() as simple as possible. Something like this (pseudo):
void main()
{
InitGraphics();
while(!AppTerminate())
{
UpdateWorld();
UpdatePhysics();
Render();
}
}
Considering files, you can split your code as you want.
It's better to split functions to different files if:
- you want to group similar functions in "class" manner;
- you want to reduce compile time changing little parts of code;
- you want to work with teammates on your code and/or use VCS (version control system) with file locking;
- you want to separate rarely modified code from often modified;
- and many other reasons.
Otherwise you can hold all your functions in one big file. I use this approach while project is tiny. But since it's grown I make refactoring and split functions to different files.
-
-
-
LE 2.X has no special optimization for indoor levels as far as I know. It just doesn't render hidden entities which is good for rendering time. But if you have a lot of objects on the scene culling time will matter.
So if you want to make a huge indoor level the best way is to split it on separate little levels and make loading between them.
Also you can try to stream you level (download and unload rooms while player moves forward). But it may cause lags in that loading moments.
Or you can try to make hierarchy of entities. So big rooms will be parent for small parts (boxes, oildrums etc). LE will hide all children automatically if parent is hidden.
Thus separate model for each room is more usable.
-
- can gravity in LE2 be turned off?
Yes.
- is it possible to implement 6DOF movement?
Yes.
- how would you do the levels...model them in a 3d app like Maya, or maybe using 3d worldstudio?
Any 3D editor + converter to GMF format.
- AI: is there a resource the would allow the bots to fly around the caves?
Resource? What do you mean? You can create any AI you need with your hands. There is no support of any AI-algorithms in LE 2.X from the box. Only physics and raycasting.
-
Very cool! Very stylized.
-
If you would put it right after the switch state, it no longer works.
Are you using any assets in LogoState? That may be a reason.
-
Looks like a bug. It should work.
Try to use simple password like "123" without special symbols.
Try to use short project path like "c:\myproject".
May be you use some custom version of engine DLL?
Try to run engine.exe with start.lua with single command:
SetZipStreamPassword("assets.pak","123")
-
There is a little example here: http://www.leadwerks.com/werkspace/topic/4746-load-texture-pieces/#entry41584
-
GIMP - more or less a PhotoShop Clone
-
Don't forget about tables (grids). It's common way to manage key bindings, table of records, list of players, character attributes, list of saved games, list of levels etc. So making universal GUI is not the easiest task.
-
I think it would be great to put it to "articles" section and to "store" (for file).
transparency and backgrounds
in Game Artwork
Posted
Suggestion for optimization will be not to render custom buffer every frame. Render it only when picture is changed. And replace 2 DrawImage() with 1 that will draw final picture only. It will make code more tricky but will free some extra FPS.