Jul 15, 2018, 10:36 AM | |
It would be useful if you expand a bit on what 'scripted' means in this context. If you mean a fully customizable texture distortion effect, a la shaders, that would probably require some major changes to the rendering pipeline, and is therefore a lot of work. But if you want to change a relatively limited set of parameters (like speed and fade colours are parameters you can tweak now), that could be easier to implement. In that case it would help if you described the kind of parameter you'd like to change, though.
|
Jul 17, 2018, 09:09 AM | |
How do you imagine the API for that? What new classes or functions would you want to be added? Can you post a snippet of code showing sample use and its intended effect?
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement. |
Jul 17, 2018, 01:06 PM | |
Unfortunately I can't give answers to your questions, because I'm not familiar with any of this stuff. It was just an idea, it's your decision whether you implement it and how you do it. Please don't take it as a demand.
__________________
All your base are belong to us. |
Jul 17, 2018, 02:03 PM | |
The point of the questions is trying to figure out what your idea is.
|
Jul 19, 2018, 08:17 AM | ||
Well, the idea I have doesn't involve scripting only and could be used by anyone less familiar with AS. It's about drawing a heightmap with given image resolutions, which would determine the "shape" of the background itself, and the orientation of that shape could be manipulated in the script. I'm thinking of properties like zoom, stretch, rotation on different axes and mirroring (copies the shape and renders it on the opposite side of the center point).
EDIT: code for warp horizon in vertical orientation would be something like this: Quote:
__________________
All your base are belong to us. Last edited by szmol96; Jul 19, 2018 at 09:08 AM. |
May 4, 2023, 10:34 AM | |
This proposal is a lot more feasible now that we have property families like jjLAYER::warpHorizon. It would be difficult to make a rotated warp horizon run at a decent speed--horizontal lines fundamentally run much faster than vertical ones--but some more properties could certainly be added if there is interest.
|
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 03:37 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.