Search found 201 matches

by Tjakka5
Sat Jan 20, 2018 9:00 pm
Forum: General
Topic: Movement - move the player AND the world?
Replies: 10
Views: 215

Re: Movement - move the player AND the world?

Are you following the player with the camera?

Code: Select all

function love.update(dt)
    camera:update(dt)
    camera:follow(player.x, player.y)
end
by Tjakka5
Thu Jan 11, 2018 6:48 pm
Forum: Ports
Topic: I made an alarm clock that I want to expand it to a TV
Replies: 2
Views: 264

Re: I made an alarm clock that I want to expand it to a TV

The easiest way would be to get a Raspberry Pi along with a cheap usb keypad from China or something. Then you can put the project on there and run it, and you just need to connect it to a display that supports HDMI. This can be a cheap monitor or a screen specifically for the Pi. Do note that such ...
by Tjakka5
Thu Dec 21, 2017 12:21 pm
Forum: General
Topic: Whats a good resource for writing "good" lua code?
Replies: 6
Views: 588

Re: Whats a good resource for writing "good" lua code?

Most of it comes from practice and somewhat personal preference. (I for one like to Camelcase modules)

Other than that, Kikito has a nice website with a few things about writing proper code. check it out here: http://kiki.to/
by Tjakka5
Tue Dec 19, 2017 10:28 am
Forum: Support and Development
Topic: How to limit FPS?
Replies: 4
Views: 305

Re: How to limit FPS?

There's 2 problems with the above solution: 1. I use a 144Hz monitor. I don't want to be limited to 80 fps, especially since my computer should be more than able to run the game at high refresh rates. 2. If the "real" fps is close to 80 this will cause a lot of jittering. I suggest you have a look a...
by Tjakka5
Fri Dec 15, 2017 12:06 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1598
Views: 279940

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 507 times
by Tjakka5
Mon Dec 11, 2017 2:33 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 14
Views: 1474

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: 14
Views: 1474

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: 310

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: 8
Views: 663

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: 15
Views: 1208

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.