Game
RTG - The Ray-Traced Game


5 years ago

RTG aka The-Ray Traced Game v0.1.3 - First 'level building' elements (prefabs)


Hi All,

in the last batch of work, finally I got to implementation of 'level building' elements or 'prefabs'. In previous showcases things were a bit hardcoded. E.g. when pressed specific button, moved specific piece of wall from here to there with special piece of code. This is of course not suitable for further development.

For building levels, I need functional prefabs, so I can just place them in editor and things will automatically work. E.g. place switch here, door there, link them, so in game by pressing switch, linked door will automatically open/close. Same for operating lights, elevators, etc..

In this batch I started with some basic stuff:

doors
switches which can now operate doors or lights (or any element that will implement IToggleable interface, programmatically speaking )
- switches can be 2-states (on/off) for IToggleable elements or 1-state (one time actions)
elevator

In following short animations, there's one level with doors and switches. I just walk around, not spoiling solution (even if this is easier level). Another level is showcase of 'color mixing' puzzle (this is very easy one, almost tutorial, so I can spoil I think).



0 comments

Loading...

Next up

RTG Flashback - April 2021 #3 One year after the start of works on RTG, finally I was creating levels one by one. This is another level involving "carriable boxes". Here, I used some mirrors to show off my engine a bit more. https://store.steampowered.com/app/4032050/RTG

RTG Flashback - Abril 2021 #2 Un nivel de RTG, mi juego puzzle/plataforma sci-fi. Este es nivel con bloques que se pueden recoger y manipular. Estos bloques están presentes en mayoría de niveles con aún más mecánicas puzzle. https://store.steampowered.com/app/4032050/RTG

RTG Flashback - Nov 2021 Tirador de las luces cargadas! Nueva mecánica añadida al juego un año y medio después del comienzo de desarrollo. Tenía mucha diversión con esa. Es un poco como jugar billar. https://store.steampowered.com/app/4032050/RTG/

RTG Dev Flashback - Nov '21 Charged light shooters! Mechanics, which added "pool" or "billiards" gameplay. Lot of fun with that. Moreover, this effect of environment illumination is for free thanks to game's engine, so why not use it?

RTG Flashback - March '21 #2 Another animation from the first batch of levels for RTG, my sci-fi puzzle/platformer with CPU-only ray-tracing. There's a bit of reflection on the bottom floor with back lights casting shadows. https://store.steampowered.com/app/4032050/RTG

RTG Dev Flashback - Nov '21 #2 Another level with "charged light shooters". I can say, that's around this level when game's difficulty spikes up. After 20-30 levels of quite light puzzles, the game will start challenging even skilled puzzle players.

RTG Flashback - March '21 #3 One of the first levels with elevators. Here, you can see, that thx to my ray-tracing algorithm, every tiny light in the game is actual emitter which illuminates its environment and cast shadows. https://store.steampowered.com/app/4032050/RTG

RTG Flashback - Nov 2021 #2 Otro ejemplo de nivel con tirador de luces cargadas. Más o menos desde este nivel el juego se vuelve realmente desafiante (después de unos 20-30 niveles con puzzles bastante ligeros). https://store.steampowered.com/app/4032050/RTG/

RTG Dev Flashback - May '21 Story level. No puzzle this time. Do you like?

Un nivel del relato, sin puzzle. ¿Os gusta? https://store.steampowered.com/app/4032050/RTG

In my current game I'm using my own engine. Ray-tracer for rendering is written in C++, it's not using any GPU acceleration, nor any 3rd part library. Editor & game logic are written in C#, using .NET Framework. #Devruary