GithubHelp home page GithubHelp logo

the-caverns-rust's People

Contributors

https123456789 avatar

the-caverns-rust's Issues

Use a purely tile based system

Abstract

The current plan is to transfer the level files over from the original repository. These files use Tiled simply as a level editor but do not actually use tiles. What I propose instead, is to only use tiles in the level files.

Considerations

Pros:

  • Tiles are easily reusable components which will help accelerate the creation of levels
  • The structure provided by using a tiling system makes collisions much simpler to implement
  • Makes implementing new features such as reactive sections of the map simpler to implement and work with
  • Reduces complexity of level systems

Cons:

  • Will take some initial effort to translate level files from the original repository
  • Will take some initial effort to create the tiles

Design

Level files could be organized to use several different tile layers:

  • map: The map graphics. This would be the equivalent of the background in the original level files where the background graphic from the original level files could be broken up into a tile grid with duplicate tiles removed where necessary.
  • collisions: Collision tiles such as walls
  • reactive: Reactive tiles such as doors
  • entities: All entities (in the context of the game, not Bevy). This would include any enemies, passive creatures, or items.

Add a basic level system

The game needs to have a basic level system that can:

  • Switch between levels
  • Move forward and backwards between levels
  • Supports the concept of "floors" as a collection of levels and "rooms" as an individual level
  • Implements an interface that allows tiles to trigger a switch
  • Can load and save the current state of "exploration" automatically

Tile Marker Components

Add marker components to tiles to help distinguish between different tiles. This is useful for systems that operate base upon specific types of tiles such as a door tile.

Funny rendering bug in-between tiles

This is screenshot of how it looks:
image

A screenshot of just the game window and not the console

More specifically, it's the funny lines on the side:
image

Add story intro

Make it so that when the user opens the game for the first time, and clicks start, the story's intro/background will be shown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.