Search found 19 matches

by Nikki
Wed Dec 05, 2018 7:51 am
Forum: Support and Development
Topic: Animation out of sync?
Replies: 7
Views: 1995

Re: Animation out of sync?

Its hard to help you without a love file and/or a clear description of what goes wrong. Ive peeked at the code and the first thing that sticks out are the many copy pasted blocks ( if player.statuts == etc) Whenever you find yourself writing (almost) the same lines of code twice or more shortly afte...
by Nikki
Thu Sep 20, 2018 6:26 am
Forum: Support and Development
Topic: How can I use multiple files?
Replies: 1
Views: 428

Re: How can I use multiple files?

You require it.

Code: Select all

require 'player' 
This will just include that file, you can also do

Code: Select all

Player = require 'player'
Here is the tutorial chapter about this
http://sheepolution.com/learn/book/9
by Nikki
Wed Sep 19, 2018 1:56 pm
Forum: Support and Development
Topic: how to change cam perspective (fov && angle)?
Replies: 7
Views: 1136

Re: how to change cam perspective (fov && angle)?

Edit: here you go. This doesn't handle scrolling the ground because that was more work and I couldn't be bothered. But it should get you started. Wow this piece of code is something great. I was following that original link in OP's post https://forum.defold.com/t/view-like-in-smash-bash-solved/1291...
by Nikki
Tue Sep 04, 2018 8:21 am
Forum: Support and Development
Topic: LÖVE touch on PC
Replies: 4
Views: 602

Re: LÖVE touch on PC

I have a laptop that has a touchscreen, love works wonderfully with that, developing for multitouch on that is much nicer than having to use an external iPad. I am not familiar with external monitors at all, but as long as it supports multitouch I'd say you are fine.
by Nikki
Mon Feb 19, 2018 1:59 pm
Forum: Support and Development
Topic: Stalker-x with translate and scale mouse help
Replies: 4
Views: 953

Re: Stalker-x with translate and scale mouse help

I am no familiar with stalker-x perse, but it sounds like you need to get the world coords given your mousecoords.
https://github.com/SSYGEN/STALKER-X#toworldcoordsx-y
by Nikki
Mon Feb 12, 2018 9:11 am
Forum: Support and Development
Topic: love.filedropped crashes on OSX
Replies: 0
Views: 474

love.filedropped crashes on OSX

function love.filedropped(file) end just an empty filedropped handler is the minimum I need for reproducing This is the resulting crash error 6533 trace trap /Applications/love.app/Contents/MacOS/love . OS Version: Mac OS X 10.12.3 (16D32) Is this a known issue, or is there something wrong on my sy...
by Nikki
Wed Dec 27, 2017 1:27 pm
Forum: Support and Development
Topic: Adding a stroke/outline to a text dynamically?
Replies: 5
Views: 1727

Re: Adding a stroke/outline to a text dynamically?

You could just render the text twice, once in black for example and on top of that in white, when you draw that top one just offset it slightly.

You dont get outlines this way, but it'll be much better readable.
by Nikki
Wed Oct 04, 2017 3:11 pm
Forum: General
Topic: Back after an 9 yr hiatus...
Replies: 8
Views: 2070

Re: Back after an 9 yr hiatus...

an update for LOVE hasn't happened since Oct 2016? Is it still being worked on?
https://bitbucket.org/rude/love/commits/all

latest commit was (as I type this) 3 hours ago :awesome:
by Nikki
Fri Sep 29, 2017 2:10 pm
Forum: Support and Development
Topic: Why won't my rectangle go bigger than 800 x 600?
Replies: 10
Views: 1746

Re: Why won't my rectangle go bigger than 800 x 600?

I had a tiny peek in that light_world.lua/main.lua file

I spotted at least 2 places where 800, 600 is hardcoded
https://github.com/tanema/light_world.l ... in.lua#L79
https://github.com/tanema/light_world.l ... n.lua#L193
by Nikki
Thu Mar 23, 2017 8:10 am
Forum: Support and Development
Topic: is Efficient Tile-based Scrolling the right thing for my game?
Replies: 8
Views: 1570

Re: is Efficient Tile-based Scrolling the right thing for my game?

I'd rethink your setup a little bit, the camera code you're using is not good enough, I think you want a camera that : - uses the whole world (just the data in arrays) - has some offset x, y - has a width and height Then you can calculate which tiles you actually need to render. First just build thi...