unnamed-sdvx-clone icon indicating copy to clipboard operation
unnamed-sdvx-clone copied to clipboard

laser warnings

Open nieknooijens opened this issue 8 years ago • 2 comments
trafficstars

Hi there

can you help me with something? I'm trying to draw these things: schermafdruk van 2016-12-11 09-45-45

and so far it seems to work: schermafdruk van 2016-12-11 09-46-44

but I have 2 problems: 1: the tilting is off 2: it's drawn when the laser is active, it should become active 1,5 seconds before a laser hits.

I've been working on this for 3 weeks now and I can't really find what i'm doing wrong here. (I'm probably in the wrong renderqueue) I've committed the WIP to my fork: https://github.com/nieknooijens/unnamed-sdvx-clone/commit/1ca025a7dc743d0d73580af27d8a6fc75bf6b530

nieknooijens avatar Dec 11 '16 08:12 nieknooijens

Hi, I've made my own implementation of the laser warnings/alerts on my fork: https://github.com/Drewol/unnamed-sdvx-clone/commit/30d6c302b5c87c175bf0c7cd2eb999feafc6b602

It doesn't have the tilt correct, so graphically it looks a lot like your solution but I did manage to make them appear at a set time before a laser starts.

Drewol avatar Jan 06 '17 18:01 Drewol

@Drewol sorry for the late response, I was busy graduating ;) I checked out your personal branch and it looks nice! I really like the added background shader. the L and R labels are indeed drawn with the correct timing. you could adjust the tilt with the vec3 parameter but then it's still affected by gameplay changes.

nieknooijens avatar Feb 07 '17 15:02 nieknooijens