Search found 259 matches

by master both
Fri Jan 10, 2020 5:41 pm
Forum: Support and Development
Topic: visualy tracking coordinate areas for sprites [Solutions Provided]
Replies: 4
Views: 204

Re: visualy tracking coordinate areas for sprites

Hi, welcome to the forums :) The simplest solution for this is to actually draw the outline with a rectangle. function love.load() sprites = {} sprites.player = love.graphics.newImage('sprites/player.png') sprites.bullet = love.graphics.newImage('sprites/bullet.png'); sprites.zombie = love.graphics....
by master both
Mon Dec 23, 2019 11:59 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 786
Views: 187958

Re: Simple Tiled Implementation - STI v1.2.3.0

The way you layed this out makes a lot more sense to me compared to what I've read elsewhere. I understand it now, I just need to know one more detail. To get the tile instance, you first need to get the it's tile from it's position: local layer = map.layers["layer_name"] local tile = layer.data[y]...
by master both
Mon Dec 23, 2019 8:56 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 786
Views: 187958

Re: Simple Tiled Implementation - STI v1.2.3.0

I had the same problem a while back and this was what I found: To swap a tile in a layer you need the tile instance that you want to swap, and the new tile that you want, so you can call map:swapTile . To get the tile instance, you first need to get the it's tile from it's position: local layer = ma...
by master both
Mon Oct 28, 2019 5:07 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44133

Re: LÖVE 11.3 released!

Congratulations! thanks for all the hard work!
by master both
Sat Aug 03, 2019 4:21 pm
Forum: General
Topic: GMTK 2019
Replies: 1
Views: 2014

Re: GMTK 2019

I already did :D https://master-both.itch.io/slalom
Since I didn't have time to participate and the theme was "Only One" I made a game in (roughly) 1 hour
by master both
Sun Jul 14, 2019 6:14 am
Forum: Games and Creations
Topic: Winning solitaire in Love
Replies: 2
Views: 1935

Re: Winning solitaire in Love

I LOVE THIS! Amazing work!
by master both
Mon Mar 04, 2019 9:08 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1704
Views: 510774

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

Working on an RPG where you're a dog!
and fighting is a twin-stick shooter!
Image
by master both
Wed Feb 06, 2019 7:25 am
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 2788

Re: [SOLVED] Avoiding callback hell

I'm still not 100% sure of what you need. But if you're looking for a canned solution, it may be timer.script from vrld's hump or the coil cooperative multithreading lib . Personally, for certain use cases (not sure if they match yours), I would go with making my own coroutine-based system, where t...
by master both
Tue Feb 05, 2019 7:06 pm
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 2788

Re: [SOLVED] Avoiding callback hell

Thanks for your response! I got to admit, I didn't put to much thought into my code, I just went with callbacks since thats what most timer libraries use. There's probably a better way to do action scripts or events. To be honest, your code doesn't look too good. I don't mean that as an insult, but ...
by master both
Mon Feb 04, 2019 7:38 pm
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 2788

[SOLVED] Avoiding callback hell

Hi, I'm currently working on an RPG where I have scripted sequences and I have code executing one after another and the way I'm dealing with it is using callbacks, which in retrospect wasn't the best way to deal with it, this is how it looks now: timer:after(3, function() textBox:write("Hi") textBox...