Anthracite's Forum Posts

  • There would be a lot of edges, and a lot of 3d objects so this is why I'm thinking a canvas with a polygon might be simpler to manage.

    The shadow light is what got me started on this path, it's good but doesn't seem to do the same behaviour. It casts shadows, which is great but doesn't plunge a room into darkness if the door closes and you're outside of it.

  • Thank you for replying so quickly. I did stumbled across Teleglitch during my research of this and can see what they're doing, but it's not quite what I'm after. The extruded 3d objects isn't necessary for our game, but the effect where the LoS extends when the doors open is spot on.

    I presume using something like a Canvas and drawing a polygon is probably the way but am entirely new to that.

  • For reference here's a screenshot ...

    So essentially it's visualising the LoS Cone, but morphs as the cone touches walls and doorways. Anything outside of the cone is darkened and doesn't show movement etc.

    I've seen an example on here for Stealth LoS, which is kind of similar but doesn't seem to react the way I'm after. So looking for pointers.

    Thank you

  • Pretty much as above, the player can roam freely but can only place objects (with the space bar) on a 16x16 grid (that the player can't see, but can see the object snapping to the nearest grid when the player moves.

    Thank you.

  • Hi there, have tried searching for this but the answer escapes me.

    What I'm looking to do is search in a string of text for specific words or phrases and wrap those words/phrases in bbcode to change the colour of them.

    For example, the string would be

    "Hello there, you'll need to speak to Martha about that!"

    I'd like to search for the word Martha, and wrap it in BBcode so it returns

    "Hello there, you'll need to speak to [color=#ff0000]Martha[/color] about that!"

    Is this possible? Thanks so much!

  • Hi there, hopefully the title explains this well enough but I am looking to build a little mini game where a train follows tracks. However, what I'm struggling with is getting the train to do curves (whether large or small curves).

    What we are thinking is that we have a tilemap of the train tracks, and dependent on the track piece the object is overlapping it performs specific actions. This will allow us ultimate flexibility in the map. Is this achieveable, has it been done before? Thanks so much.

  • Hi there, this is my first adventure into 3d shapes for C3 and it's impressive so far, however I think I might be looking in the wrong place for what I'd like to achieve.

    The car switching example is where I began, but I am looking to create a smoother mountain in C3 which does the same as the buildings in the example do.

    Is it just a case of combining shapes, or is it something that I can do with a mesh?

    Would really appreciate your input.

    Thank you

  • You do not have permission to view this post

  • Bit of an odd one, but looking for a time saver rather than setting an imagepoint across hundreds of objects.

    Is it possible to get the Y value of the top of an object's sprite?

    For example,

    If the only imagepoint is at the bottom of the sprite, or in the middle. How would I write a simple rule so that a spawned object appears directly above it regardless of its imagepoint?

    Thank you!

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • dop2000, thank you so much - that worked beautifully. Honestly, you've made the migraine go away!

  • Thank you so much! Unfortunately the dropbox link isn't working - giving a 400 error.

  • Thank you dop2000, that's almost exactly what I'm looking for - an elegant solution!

    The only slight question I have is how to make it so that the player can walk off the raft if needs be?