Search found 197 matches

by Tjakka5
Fri Dec 15, 2017 12:06 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1588
Views: 272305

Re: What's everyone working on? (tigsource inspired)

I'm currently working on 'Babble': A modular dialogue system that aims at being easy to customize/stylize for any kind of game.
OLYGpIs.gif
OLYGpIs.gif (984.38 KiB) Viewed 144 times
by Tjakka5
Mon Dec 11, 2017 2:33 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 10
Views: 602

Re: Why faking 3D nowadays?

Here's a little tutorial on how it is achieved: http://www.like100bears.com/writing/2d-3d-in-gamemaker-studio And a developer talking about it: https://www.youtube.com/watch?v=iAJ-tyiUVag&feature=youtu.be&t=2410 I've made a library for this effect: https://love2d.org/forums/viewtopic.php?t=8...
by Tjakka5
Mon Dec 11, 2017 11:14 am
Forum: General
Topic: Why faking 3D nowadays?
Replies: 10
Views: 602

Re: Why faking 3D nowadays?

Sometimes just as a proof of concept, sometimes for fun, sometimes for the particular style you'll get with that approach.
Some examples would be raycasting:
https://love2d.org/forums/viewtopic.php?f=5&t=35876
Or using this "Layered Sprites" technique:
https://gfycat.com/ConsciousZanyArmedcrab
by Tjakka5
Sat Nov 25, 2017 4:07 pm
Forum: Support and Development
Topic: Problems passing
Replies: 4
Views: 256

Re: Problems passing between blocks (Bump.lua)

Quite simply decrease the hitbox size of the player.
by Tjakka5
Sun Nov 19, 2017 7:37 pm
Forum: General
Topic: Mixins, Composition, and Inheritance Guidelines
Replies: 6
Views: 388

Re: Mixins, Composition, and Inheritance Guidelines

While I do not have an answer to how you should use classes and mixins properly, I can however show you the way of Entity Component Systems . The Entity Component System paradigm (Or ECS for short) follows the "Composition over inheritance principle", which addresses your current problem. The paradi...
by Tjakka5
Fri Nov 17, 2017 10:10 pm
Forum: Libraries and Tools
Topic: STALKER-X (Camera library)
Replies: 12
Views: 856

Re: STALKER-X (Camera library)

Absolutely fantastic! It seems to address all the issues I had with Hump Camera, while still being very easy to use.
I'll be sure to upgrade to this system once I can get around doing so.
by Tjakka5
Tue Nov 14, 2017 8:03 pm
Forum: Games and Creations
Topic: Scrolling apertures: a technical demo
Replies: 7
Views: 538

Re: Scrolling apertures: a technical demo

Note that you'd have to display 2 pages when you're moving from one to the other, just as a heads up ;)
by Tjakka5
Tue Nov 14, 2017 11:41 am
Forum: Games and Creations
Topic: Scrolling apertures: a technical demo
Replies: 7
Views: 538

Re: Scrolling apertures: a technical demo

I don't think there is any advantage using stencils over scissor. It may even be quite a lot slower. I also looked into the code and saw that, while the pages are indeed being clipped, invisible pages are still being rendered. I think this is a big issue, since if you for example have a huge list of...
by Tjakka5
Sun Nov 12, 2017 2:24 pm
Forum: Support and Development
Topic: Change image/drawing position to the mouse position every frame
Replies: 3
Views: 196

Re: Change image/drawing position to the mouse position every frame

Editing your code slightly: function love.load() image = love.graphics.newImage("ricardo.jpg") x, y = 0, 0 wi, hi = image:getDimensions() end function love.update(dt) -- Change image position accordingly to the mouse position x, y = love.mouse.getPosition() end -- Draw a coloured rectangle. function...
by Tjakka5
Sun Nov 12, 2017 12:50 pm
Forum: Support and Development
Topic: Coloring a spriteBatch sprite
Replies: 4
Views: 208

Re: Coloring a spriteBatch sprite

Sure! First, the sprite you want to edit needs to be white so the color will apply correctly. If you want to color a sprite partially, you have to separate it into multiple. You can edit the color with just RGB(A) values. But if you really want HSV you can look into converting it. https://gist.githu...