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 - 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 Flashback - April 2021 #2 Level from my sci-fi puzzle/platformer, involving use of "carriable boxes", a puzzle mechanics which is used extensively in the game, along with more game mechanics which will be presented later. https://store.steampowered.com/app/4032050/RTG

RTG Dev Flashback - July 2022 "Deadly bouncing lights" was the last gameplay mechanics I added to the game. They opened possibilities of more action levels although I invented many interesting puzzles involving them as well. 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

Dev Flashback - Nov '21 #3 End of 2021 was very productive in RTG development. After "charged light shooters", I implemented "gravity inverters", great mechanics with lot of potential for new puzzles. Here's small showcase. 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?

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

RTG Flashback - Nov 2021 #3 Fin de 2021 fue muy productivo en desarrollo de RTG. Después de "tiradores de luces", implementé tb "inversores de gravedad". Aquí está una animación de esa funcionalidad. Este es sólo nivel de prueba. https://store.steampowered.com/app/4032050/RTG

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 - 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/