Several questions: character with gamepad + shader with texts + 3d environment + camera

  • #10, by Simon_ASAWednesday, 26. June, 11:49 5 months ago
    This is a very interesting way to create a first person adventure game with 360° views (like Myst IV)! I've been looking for that during years. You're the best Nigec smile
    But don't worry I won't steal your ideas, I have other projects in mind with Visionaire for the moment.
    However i'll be happy to encourage you and see your progress with your game.

    Regarding the code to rotate 3D objects, someone said it is on Discord but I can't find it. Any ideas?

    Great Poster

    321 Posts


  • #11, by afrlmeWednesday, 26. June, 12:08 5 months ago
    Simon, check out the developer / show & tell chat channels in the VS discords. I've pinned 2 messages roughly where Nige & myself were discussing his 3D attempts with VS.

    You might have to scroll up or down a bit to get the full conversation as other people were also discussing things at the same time.

    Imperator

    6624 Posts

  • #12, by NigecWednesday, 26. June, 13:54 5 months ago
    I'm better at creating problems and trying to fix them (with a lot of help from Lee) than creating games lol
    I like running with ideas and seeing if it can be done in Visionaire, maybe the next VS Jam I might use some of the ideas, but I'm keen to try ideas similar to Distraint
    thnks for finding the Links smile

    Please feel free to use and adapt, it would be really cool to see these things in context smile

    Key Killer

    501 Posts

  • #13, by Simon_ASAThursday, 27. June, 11:57 5 months ago
    Regarding my questions, so far I have the following answers:


    1/ Character with Gamepad:

    Is possible but not working great (the code is somewhere else on the site or in the forums, it is working).
    In order to have a better feeling when moving the character (who by default follows too strictly the way points), it is recommended to create a LOT of way points.


       2/ Shader with text:

    The code exists:
    eShaderExcludeTextsAndCursor 2
    But it seems that it doesn't work. I have not had confirmation but the other exclusion codes are working (exclude interface works like a charm)
    So there has to be an issue in VS with the exclude text?


       3/ 3D environment:

    It should be possible to do something like a sky on a sphere, and a plane at the ground. As long as it remains very simple, it should work by using the 3d objects. I have to do more tests but the inventory scene of Nigec proves that it should be possible.


       4/ Camera:

    It is not possible to rotate the camera freely in the scenes (only possible to zoom and pan + vertical rotation in the characters outfits).
    However we can rotate the 3d objects instead of the cameras, thus we can rotate the world according to our needs, so with different tricks it could be possible to reach an interesting result...


    That is the answers I found so far. If you have other ideas/suggestions, please let me know. Others could be interested too to read this thread in the future.

    Great Poster

    321 Posts

  • #14, by afrlmeThursday, 27. June, 13:46 5 months ago
    1. or a way system with way paths for when using mouse & way system with no paths inside of the way border when using keyboard or gamepad - you should be able to rig up some basic input detection thing by listening out for when gamepad sticks are moved or buttons are pressed down, or when wasd/arrow keys are pressed down, or when the mouse is moved or a mouse button is pressed... from that you should be able to update a value/condition & then maybe using Lua tables or something update to the correct way system based on the current scene & current scene way system. Lua tables would be the best solution here in case you need to have multiple way systems in any of your scenes anyway, such as door was closed but now open, or something broke & blocks part of your path in a scene etc.

    2. kind of strange, maybe it's a bug. eShaderExcludeInterfaces is more or less the same thing, but it excludes everything (cursors, texts, & interfaces; which is probably a good thing anyway).

    3 & 4. I'm guessing it would be a lot of work if you wanted to allow the player to be able to manually rotate the world around as you would also need to rotate all objects around at the same time & probably calculate their offset positions to make sure they remain in the correct place, but it should be a viable solution if you just want to switch up camera angles or use for small cutscenes - it's not a 3D engine afterall, so it's not going to work anywhere near as good as a dedicated 3D engine, such as Unity/Unreal.

    Imperator

    6624 Posts

  • #15, by Simon_ASAThursday, 27. June, 14:26 5 months ago
    Thanks Lee, very interesting wink

    1. Yeah but, when I delete all way points, keyboard doesn't work anymore. The characters stay stuck, they can't move...
    Basically I'd like to have a single kind of gameplay (keyboard only), but I have not found another solution yet than using a lot of way points.

    2. With both exclude interface and exclude texts codes, the texts are not excluded. It works for interfaces and cursors. I am using Narration text action.

    3. No problem, I'll do what I can, I want to keep things as simple as possible. I'm not going to make Cyberpunk 2077 with Visionaire of course wink

    Great Poster

    321 Posts

  • #16, by Simon_ASAThursday, 27. June, 20:16 5 months ago
    Still having issues, i'm stuck with 3d objects...

    I am trying to place my 3d character inside of my "3d world" (which is a 3d character too)

    However, as you can see in the screen below, I have these issues:

    - 3d world is in front of the character

    - 3d world is too small, and I don't know how  to increase its size (I tried in 3dsmax before export, and I tried in Visionaire but it is limited to 200%)

    Any ideas?

    Great Poster

    321 Posts

  • #17, by Simon_ASAFriday, 28. June, 11:27 5 months ago
    Why Object Models won't appear in my game? Anyone used them? I can use .X files in the characters, but I see no result with ObjectModels option.

    Do you know?

    Great Poster

    321 Posts

  • #18, by afrlmeFriday, 28. June, 11:35 5 months ago
    I thought that object models under scene objects were for Spine json files? Could be wrong though. I believe you have to use characters for all the 3D side of things as only characters can be 3D, everything else is 2D, hence the engine being 2.5D (3d/2d characters, 2d backgrounds).

    Imperator

    6624 Posts

  • #19, by Simon_ASAFriday, 28. June, 11:55 5 months ago
    Ok thanks, that would explain why the model doesn't show up wink

    And regarding my previous question, any ideas? I would like to put my character inside a 3d sphere.

    Great Poster

    321 Posts

  • #20, by afrlmeFriday, 28. June, 13:22 5 months ago
    No sorry mate, I have no idea how the 3D side of the engine works. I'm guessing it's all about positioning & what you set in your 3D program as well. You would need to make it so that the world position is always below the character.

    The scale & all that stuff, I have zero clue about at all. Nige or AkcayKaraazmak (not seen him online in ages though) would probably know how to sort it all out.

    Imperator

    6624 Posts

Write post