Coder Social home page Coder Social logo

Sokoban demo about godot-demo-projects HOT 5 CLOSED

godotengine avatar godotengine commented on June 18, 2024 2
Sokoban demo

from godot-demo-projects.

Comments (5)

aaronfranke avatar aaronfranke commented on June 18, 2024 1

I'm closing this because we already have lots of demos that showcase TileMaps, instancing, and simple game logic. 2D platformer, physics platformer, isometric, hex map, KC, JRPG, etc.

from godot-demo-projects.

williamd1k0 avatar williamd1k0 commented on June 18, 2024

Hi, I'm trying to make this demo here.

My focus is to use TileMap for all elements.
I created the logic separating the elements in "layers".

Each layer is an individual TileMap.

A layer for static tiles: floor, walls and slots.
A layer for blocks.
And a layer for Player.
The game is managed by a Controller node.

I don't know if the logic is the best for a demo, so it would be good to review.

A beautiful art will be created by a friend after (no license problem).

from godot-demo-projects.

vnen avatar vnen commented on June 18, 2024

I don't think it's a good practice to use TileMap for movable objects.

from godot-demo-projects.

williamd1k0 avatar williamd1k0 commented on June 18, 2024

I used the TileMap as a reference to mapping position in global tiles if is a movable objects. Check the Player logic, I will use the same logic in blocks after.
The idea is to use TileMap to facilitate the creation of levels.

from godot-demo-projects.

williamd1k0 avatar williamd1k0 commented on June 18, 2024

I reached a stable version of the demo yesterday and now I have to optimize some things (find bugs also) and document the code.
I have not given focus in level-design yet, the current release has only one level as proof of concept.

from godot-demo-projects.

Related Issues (20)

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.