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

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

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 Flashback - April 2021 Test level for testing my collision system. Game mechanics where player needs to manipulate with boxes in order to solve puzzles is essential in RTG, thus simple collision system was needed. Here it is. 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 Flashback - Abril 2021 #3 Un año después del comienzo de desarrollo de RTG, finalmente estaba creando niveles uno por uno. Este es otro nivel con bloques. Aquí, he usado espejos un poco para mostrar más mi algoritmo raytrace. https://store.steampowered.com/app/4032050/RTG

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