Game
Librarium
8 years ago

22-01-2018: Potions


The next and maybe final step to achieving phase I is here and it’s potions! Potions will be a big mechanic of the game or how the french would say “big mechanic but in french” . Alright so, a potion is a point and by a point i mean two coordinates on a map. There are two maps stored in the game, a color map wich looks like this.

5d0a759370b4f.png

and an effect map. Potions can be throw or drunk making their effects different. Whenever you create a potion by putting water in a bottle, you give the potion the coordinates 0,0. Wich put it here and make it look like this:

5d0a75959c33a.png
5d0a7597ba57b.png

but then let’s say you want to put spotchinkle dust inside of there. What will happen is that the spotchinkle dust has coordinates too wich are let’s say here.

5d0a75999e1fe.png
5d0a759bf2645.png

So when you add the potchinkle dust to the potion wich is currrently a water bottle. The programm moves the point to here:

5d0a759e06a64.png
5d0a75a02fde4.png

then it gives to the potion the closest effect it can find. but how does it determine that? well alongside creating a color map it creates an effect map wich is very hard to visualize but it just takes random potion effects from a bank and then puts them at random points on the map.



0 comments

Loading...

Next up

Did you know that today is #InternationalJazzDay? 🎷😎

No? 😯 Well, we couldn't pass up this date!

And what better to celebrate this day than #Pecaminosa #OST? 🎷

Let us know what you think about it and have a great weekend!

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

"Our work is never over" they said.

Why walk when you can jump?

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

I did this on my 3DS ^^ #Kirby

Out of boredom and curiosity, I coded Sailor Jupiter's Argentine Backbreaker.

blender animation experimentation, getting the hang of things fast. arms, rig, & gun models by me ofc

Sonic The Hedgehog style Super Smash Bros 4 Pixel art Gif.