Log In  

Controls:
Forward/Backward to move
Left/Right to turn
z+x at the same time to reset position

This is just a demonstration of a way to move the have the camera stay fixed to a character while the environment moves around it.

Cart [#pjtefuji-1#] | 2019-03-07 | License: CC4-BY-NC-SA | Embed
1

There are a few issues with this implementation. Y co-ords have to be subtracted instead of added, this arose because I imagined forwards being positive and could not fix this easily by the time I realized what I did. Also, all horizontal surfaces become full of holes at any non-cardinal direction. Collisions also suffer from issues and it is possible to glitch entirely through a wall and become stuck (the reason there is a reset position option).

Currently, everything must be affixed to a grid system as attempting to render anything more than slightly out of sight the screen results in severe graphical errors. It should be possible to create a system using distance from the center of view, but I imagine it would become draining to do that for a large number of entities. Anything large enough to extend from the center of view to the glitch distance is well beyond what this is capable of.

P#62645 2019-03-07 03:57 ( Edited 2019-03-07 04:00)

:: Jauq

Woah this is mighty neat.

Ever since lua scripting was added I've been waiting for more things like this to pop up.

Unfortunate with the holes and stuff, sorry I don't know more about Lua to help you out. Zep mentioned something about changes to the drawing system in version 0.3.5c maybe that means pre-built functions for polygonal drawing, no guarantees though, it might just be wishful thinking.

I would definitely like to see progress on this.

P#62947 2019-03-22 04:04

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-06-26 19:52 | 0.022s | 4194k | Q:21