Code Monkey home page Code Monkey logo

ggraffiti's People

Contributors

grorp avatar tim79000 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

ggraffiti's Issues

Cave Painting Concept

At the end of the month me and a few colleagues will be visiting the Lascaux cave in France with the teachers from the Minestory project and their students.
The next day will be dedicated to opresenting their Minetest projects, as well as participating to a series of small activities. We are thinking about proposing them a cave painting activity in Minetest using your mod.

I was wondering about adapting this mod as a cave painting mod, with pigments and tools coherent with the time period (charcoal, ochre, etc).

I don't know if I will have any time to dedicate to that, but I wanted to put the idea out there!
I am wondering if it should be another mod that depends on ggraffiti.
Would that be feasible in your opinion? What would be the easiest way to create new items for painting?

Thanks for the great mod!

ggraffiti entities should be able to be picked up

My idea would be that they could be picked up by some tool and converted into an item in the inventory. The items would all look alike (probably), but have different metadata, so that when placed, they look like the painting which was picked up (spawning a new ggraffiti entity and putting the proper metadata onto it). Another potential hardship is that the picked-up painting could have to be in a possibly new orientation when it is placed again, depending on the user's facedir(?) - a possible fix to this is just keeping the original painting in it's original orientation, but it is less snazzy :-)

This allows for a flurry of new features which would enhance this mod greatly, namely:

  1. It would allow for people to move their paintings - currently, there is no way to do this except by brute force (removing and re-painting).

  2. It would allow for (possibly) creating pieces of jigsaw puzzles and solving them!

  3. Paintings could then be sold to other players as well.

Support for Minetest versions below 5.6.0

Directly from logs:

2022-11-07 16:38:56: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'ggraffiti' in callback item_OnUse(): /minetest/bin/../mods/ggraffiti/init.lua:134: attempt to call method 'add_wear_by_uses' (a nil value)
2022-11-07 16:38:56: ERROR[Main]: stack traceback:
2022-11-07 16:38:56: ERROR[Main]: 	/minetest/bin/../mods/ggraffiti/init.lua:134: in function </minetest/bin/../mods/ggraffiti/init.lua:133>
2022-11-07 16:38:56: ERROR[Main]: 	(tail call): ?

Minetest: 5.5.0
GGraffiti: v1.0.0-alpha.4 (I.E. Latest on Master)

I'm thinking your using something in a newer version of Minetest, either make it adapt between versions that don't support it or at least make the minimum version known (by either manually downloading each version till you get one that works, or at least making a check for that function existence and abort if it doesn't exist with an error message that's more clearer).

add screenshots to contentDB

From the only screenshot currently visible, I didn't really understand that you could actually paint pixel by pixel.

Here are two experiments done with ggraffiti, in case you would want to use those. No credit necessary, consider CC0.
minetest_Guu7PNwCpD
screenshot_20230119_184401

Spray Paint sizes

First off, I have made a fork of this repo. (This is just for me to take notes and try to help track what/where I'm at on this, incase I don't get it done before getting pulled off for something else)

Todo:

  • Fork Repo so I can make a final PR once done for quick easy updating the live code
  • Assess how a single pixel is "sprayed" on.
  • Assess how to form a series of Spray Can "sizes" (perhaps right click cycles between 1, 4, 9 pixels per spray?)
    > Or maybe we don't want it as individual items, but rather "modes". (Technic's Drill tool idea)
  • Make it so we spray in a deterministic pattern based on size (so 1 pixel will be where they user looked, 4 pixels will be the top left pixel, and 9 would be the center)
  • Finalize changes and submit Pull Request (PR).

[Feature]: Anti Ggraffiti Node or Area

I can see it where someone will go to someone else's home while they are offline or away and graffiti their home, which can get annoying once you have that happen to them on multiple occasions.

So what if we had either a node which can't be graffiti-ed or even something that blocks the use of graffiti cans (except maybe the anti-graffiti)?

I'm leaning towards an area that way someone doesn't need to make a house out of the blocks just to get a anti graffiti house.

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.