Posts

Es werden Posts vom 2020 angezeigt.

High Resolution Harvest Moon Logo Template

Bild
I have recreated the standard Harvest Moon Logo Banner in a High Resolution, because there was no template available on the net (especially in high-res). This took forever to model and render, but I hope you enjoy it. At least if you use it, you won't have to waste your time like I did :D Take a look at my Project: Harvest Moon: A Wonderful Remaster I also post a lot about the project on my Twitter Feed

Easy Solution when Vuex Getters are not working or you can't access Vue Getters

It took me way to long to figure this out. The default getting started of vuex doesn't tell you that there's a big difference when using namespace: true in your store. Instead of accessing your getters like this: isMenuActive() { return this.$store.getters.isMenuActive }, ...you actually have to to do it like this: isMenuActive() { return this.$store.getters['menu/isMenuActive']; }, I hope this helps. If you are curious: The first example could never work , because, internally, the getters object uses the Bracket Syntax [ ] to store these getters namespaced. It's actually a javascript object that looks like this: getters: { "menu/myFunnyGetter": 250, "menu/anotherGetter": "Abracadabra", "info/giraffeSize": ">3m"} } I like vuex, and it's clearly a capable solution to some problems, but I feel like nowadays, people just don't know how to write good documentation anymore. It'

BE CAREFUL WITH THIS ERROR IN FIVEM SCRIPTING | SendNUIMessage

It took me a lot of time to figure out what was wrong with the simple code for my FiveM Server. I just wanted to test a Javascript callback function that gets invoked by the SendNUIMessage function. First of all, the documentation is wrong about the case of the method. it's actually SendNUIMessage, as I used here in this text and title, and not SendNuiMessage (the letters "ui" are not uppercased in the reference, which is wrong). The next problem was figuring out what the hell was going on. I haven't yet found a way for the FiveM Server (FXServer?) to show me more error messages, but on the other hand, I have only played around with it for a ~10 hours. Since coverage for Javascript server & client scripts for FiveM is pretty scarce, you might get more problems than a lua user - simply because there is less help for you out there. Most tutorials and questions that google comes up with in relation to SendNUIMessage don't cover one important thing: you