26

(4 replies, posted in General)

and Linux too please big_smile, not that i am in a rush. but i just don't know how to compile for Linux.

27

(4 replies, posted in Scripting)

Final Update on this chapter big_smile it truns out i did not need to add the timer to the cursor update, what needed to do was to disable the compositor features of xfce (i use xubuntu) it seems that when compositing is enabled, the centercursor function does not work as expected.

this may or may not apply to other compositors

The title says it all.

I want to create some nice water effect, but i would like to know if Maratis supports APNG on Normal Maps.

I mean i tried already but my mesh became totally transparent (invisible)

29

(59 replies, posted in General)

this may be too much to ask, but i have no idea how to program a shader. is it possible to create a Shader that can be used in blender for terrain painting, something similar to what Alinor Proposed (hope he had returned home safe)

Slot 1 =  Blend Map (Red, Blue, Green, Black)
Slot 2 = Texture Diffuse 1 (Red)
Slot 3 = Texture Normal 1
Slot 4 = Texture Diffuse 2 (Blue)
Slot 5 = Texture Normal 2
Slot 6 = Texture Diffuse 3 (Green)
Slot 7 = Texture Normal 3
Slot 8 = Texture Diffuse 4 (Black/White)

30

(61 replies, posted in Editor)

Marze3d, it may not be what you are looking for, but the Editor already has a way to edit the Physics of each object/entity. i think a little bit more description, or a mockup screenshot would be beneficial to show/describe what you are looking for on each feature big_smile

(a picture is worth more than a thousand words, and a video is worth more than a hundred pictures, even if the video is actually a few hundred pictures played together in succession)

31

(61 replies, posted in Editor)

Is it possible to have the Editor to arrange the objects (entities) in hierarchy, hopefully the mockup screenshot i made makes clear what i would like to see.

https://www.dropbox.com/s/04imx8rfz7abt … enshot.jpg

So basically allowing the pareting option that currently exist on the Editor, to be more visual. but also allowing the user (like me) to expand and collapse objects to not have super cluttered object list.

32

(61 replies, posted in Editor)

Thanks, I tried using the dotfile a while ago, but it didnt work (maybe i didnt use it properly) i will give it another try.

33

(61 replies, posted in Editor)

It would be nice to be able add a script to an object. managing everything on a single scrip file is now getting kinda messy for me.

34

(4 replies, posted in Scripting)

i think i solved my problem, and this might be a bug in linux (not sure) but it seems that the mouse update was not as quick as the scene update hence it would seem to not register the move of the mouse.

I use this  see below (stole the idea from another thread that was asking how to add timers), i still need to tweak the time it takes to update so it does not look so jumpy.

-- center cursor
    if t == 20  then
    centerCursor()
    t = 0
    end
t = t + 1

35

(4 replies, posted in Scripting)

Thanks for the suggestion, however, i now remember why i commented the centerCursor() function, if i enable it, there is no mouse look at al :S.
I am 100% new to game dev (to be honest even to programming at all) just trying to learn using all these incredibly useful tools.

I added a print to the text the output mx and noticed it only changes from 0 to close to 1 (0.9999) so i am guessing MOUSE_X is float that only accepts 0 to 1.

to expliain a bit more, my camera is attached to Head much like in the video tutorial, however my function does not reside directly in onScreenUpdate, it's a separate function (for organization and learning experience).

I also tried moving the centerCursor() to the onScreenUpdate main function, but same result, moving the mouse does nothing :S a bug on Maratis on linux? or just my newbie issues?

36

(4 replies, posted in Scripting)

Hello I have used this script (look below) for mouse look on my game(test), however i am faced with a problem where i can only move side ways so far, and I cannot do a 360 view. can i get some help here?

by the way I took this example from the Video tutorials from special_ops (great tutorials by the way)

<code>
-- Global Variables
dx = 0.0
dy = 0.0
centerCursor()
my = getAxis("MOUSE_Y")
mx = getAxis("MOUSE_X")
-- stuff
hideCursor()

function MoveAround()

    -- look around
    -- X Axis
    rotate(Player, {0, 0, -1}, dx*100)

    -- Y Axis
    rotate(Head, {1, 0, 0}, dy*100, "local")
    rotation = getRotation(Head)
       
    if rotation[1]>90 then
        rotation[1] = 90
    elseif rotation[1] < -90 then
        rotation[1] = -90
    end   
       
    -- get new mouse position
    dx = getAxis("MOUSE_X") - mx
    dy = getAxis("MOUSE_Y") - my
   
    -- center cursor
    --centerCursor()
   
    mx = getAxis("MOUSE_X")
    my = getAxis("MOUSE_Y")
</code>

37

(3 replies, posted in General)

hello, i was wondering if there is a way to change the mouse mapping (button layout) on the editor, for example to use ctrl+left click to rotate the view, and ctrl+Rigth click to move .

Basically i am faced with a problem where i cannot navigate becase the middle mouse on my laptop does not exist.

by the way i am using Maratis on Linux (xubuntu)