Maybe it's because your Move() function expects 5 arguments and only 3 are passed.
2 2014-02-14 06:27:45
Re: Open Notepad++ as default editor (3 replies, posted in General)
In NotePad++:
Menu: Settings > Preferences > File Association > public script > .lua > click on '->' button
That's it.
3 2014-01-29 06:10:45
Re: Game plugin creation on Linux (13 replies, posted in Engine)
Sorry, forgot to add that the script must be saved as 'premake4.lua' (posts edited)
4 2014-01-28 07:12:53
Re: Game plugin creation on Linux (13 replies, posted in Engine)
Yes, with this script you can build plugings for linux using make or Code::Blocks.
This script must be saved as 'premake4.lua'
First download latest Premake (currently version 4.4) and put it in your Maratis project folder.
Then put the premake script template in this folder and modify 2 lines:
- replace MSDK/ in msdk = "MSDK/" by the path to your Maratis MSDK folder
- replace PluginSources in sources_folder = "PluginSources" by the name of the folder containing the sources of your plugin
In your Maratis project folder, create a bash file (a text file with .sh extension) with this content:
./premake4 codeblocks
Executing this bash file (by clicking it) will generate the Code::Blocks project files for you.
Alternatively use the console to go inside this folder and then type the code above.
For building using make, create a bash file with this content in your Maratis project folder:
./premake4 gmake
make
5 2014-01-27 06:06:35
Re: Game plugin creation on Linux (13 replies, posted in Engine)
Just a precision, MCore.so & MEngine.so are not required on linux as no linking is required.
You just need MSDK headers (includes). Look http://forum.maratis3d.com/viewtopic.php?id=825]here for more details.
6 2014-01-22 07:22:53
Re: download the source code completely (1 replies, posted in Engine)
You have to checkout the source with a subversion client.
See http://code.google.com/p/maratis/source/checkout for details.
7 2014-01-22 07:14:08
Re: Plugin network (3 replies, posted in General)
For network using kNet, you can take a look at https://sites.google.com/site/maratis3d/home.
8 2013-12-16 06:45:10
Re: Can't run Maratis (1 replies, posted in Engine)
Hi and welcome,
Try symlink/copy libopenal.so.1 to your Maratis folder.
9 2013-12-15 06:26:10
Re: How to check object visibility? (2 replies, posted in Scripting)
In lua you can use the isVisible(object) function.
10 2013-11-18 15:32:54
Re: Problem with Sponza FPS example (16 replies, posted in General)
Any ideas on how to boost the FPS?
Not really a good solution, but you can try to call onSceneUpdate() just after setRotation(...).
11 2013-11-16 15:11:15
Topic: Will Nistur come back? (4 replies, posted in Off-Topic)
Does anybody know what happened to Nistur?
12 2013-11-14 17:59:23
Re: Making a game with Maratis (14 replies, posted in Tutorials/Examples)
Hmm. I try to click on the link to the file and I get a website about free teeth cleaning.
What url shows up when you are hovering ?
13 2013-11-14 17:56:38
Re: Making a game with Maratis (14 replies, posted in Tutorials/Examples)
Looks promising...
14 2013-11-14 07:35:09
Re: Making a game with Maratis (14 replies, posted in Tutorials/Examples)
You can use Bsurfaces.
See video at about 15'.
15 2013-11-08 20:24:12
Re: Physics update using deactivate function (3 replies, posted in Scripting)
Awesome!
16 2013-11-08 13:09:45
Topic: Physics update using deactivate function (3 replies, posted in Scripting)
Is there a way to update physics (or something equivalent) for an entire level when using the deactivate function?
For example, using Jules demo:
- if we put 2 crates on top of each other and deactivate the lower one, the top one stays floating in the air (instead of falling)
- if we deactivate the room ('Set'), everything else is floating in the air instead of falling
17 2013-11-08 11:35:36
Re: Maratis Exporter Issues (10 replies, posted in General)
One thing to also keep in mind is that the mesh modifiers are automatically applied.
18 2013-11-08 06:37:50
Re: Cloned Object Memory usage? (15 replies, posted in General)
Maybe "instancing"?
19 2013-11-07 08:21:24
Re: Maratis Exporter Issues (10 replies, posted in General)
Blender 2.69 introduces a new FBX importer in its trunk, currently with severe limitations: only static meshes + binary format + version 2013. Hopefully a first step to full support...
Collada is intended to be a standard, but unfortunately you might often have issues, as more advanced features are not interpreted in the same way by different parsers, so weird results are possible.
Blender Maratis exporter is robust and allows to work seamlessly with Maratis. Related Wiki is self-explanatory. Maybe we could add a few tips and a checklist for easy "debugging", some things like "mesh has a material assigned?", "a mesh is selected?"...
For those who can't use Blender or have issues converting meshes, there is Noesis, a great freeware both versatile, robust and in constant development. Its only flaw is that it triangulates the meshes, but you can later switch back to quads in your favorite app.
For issues, maybe the tracker is not the best place as they are more likely due to user, not bug in themselves.
So we could do something like :
- submit an export issue in this thread with full console report, steps to reproduce the issue and if possible a blend file
- the community gives answer and update the wiki
- if a bug is actually discovered, we push it in the tracker, with a corrective patch if possible
In this way we won't overload Anaël and the community will get involved.
20 2013-11-01 11:18:09
Re: character coding questions . (9 replies, posted in General)
Instead of detecting the ledges, you can also create a simplified invisible physics cage (built onto the object to climb) to restrict the movements in all directions and to match the topography and available ledges. In this way it requires no triggers. And for angles, the friction should make the player rotate by itself.
21 2013-11-01 07:30:16
Re: character coding questions . (9 replies, posted in General)
And for dynamic/procedural/non linear animations, you need to implement a library of this kind.
22 2013-11-01 07:12:32
Re: character coding questions . (9 replies, posted in General)
And if you need a very accurate collision detection (for example to check when a fist hits something), you can use the getCurrentFrame() function in addition to the overall collision detection:
if isCollisionBetween(player, object) and getCurrentFrame(player)==124 then ...
This allows to fake body-parts collision detection in lua.
23 2013-11-01 06:56:12
Re: character coding questions . (9 replies, posted in General)
One easy way to solve the problem is to use ghost colliders (invisible planes/boxes with ghost physics).
You put a collider just in front of your obstacle (on the floor, on a wall...) and when the player hits it (collision detection) this triggers a specific action/animation.
So for example for a wall climb, you put a collider on the floor that triggers a climb (automatic or if combined with a key press) and one on top of the wall that triggers a transitional animation.
24 2013-10-29 22:01:02
Re: Premake4 Build Scripts (18 replies, posted in Engine)
I have ARM v4, 5, 6 cross-compiled toolchains already for Maratis once I have an ARM v7 toolchain
then Maratis will work on every mobile Linux device that support OpenGL ES out of the box.
Now that we can use this build system to generate makefiles, we can easily use the Android NDK toolchain to compile the libraries for Android. From what I understand, we would then have to interface these libraries with a java activity.
25 2013-10-29 06:38:10
Re: Video Texture not showing up in Maratis(help) (6 replies, posted in External Tools)
In fact the torch in Jules demo is an armature animation (whith a bone), but it could have been done with a texture animation either.