Search found 34 matches

by luaiscool
Wed Nov 30, 2016 9:41 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730400

Re: Simple Tiled Implementation - STI v0.16.0.3

Thank you so much for your help, collisions are finally working. My Sprite's collisions are off of the actual image, I am trying to change the size.

I am so sorry for asking so many questions.
by luaiscool
Wed Nov 30, 2016 9:28 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730400

Re: Simple Tiled Implementation - STI v0.16.0.3

-- This example uses the default Box2D (love.physics) plugin!! local sti = require "sti" function love.load() -- Grab window size windowWidth = love.graphics.getWidth() windowHeight = love.graphics.getHeight() -- Set world meter size (in pixels) love.physics.setMeter(32) -- Load a map exp...
by luaiscool
Wed Nov 30, 2016 9:24 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730400

Re: Simple Tiled Implementation - STI v0.16.0.3

I used that, set up my map, Collidable = true on my object, Sprite is properly size, Nothing. Just fazes right thro it
by luaiscool
Wed Nov 30, 2016 9:04 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730400

Re: Simple Tiled Implementation - STI v0.16.0.3

Karai17 wrote:You can look up tutorials on Box2D/love.physics or bump.lua. That is what STI uses.
I'll look at them, is there an example using any of these for easy set up?
by luaiscool
Wed Nov 30, 2016 12:38 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 730400

Re: Simple Tiled Implementation - STI v0.16.0.3

Hi, Is there a tutorial on collisions?
by luaiscool
Mon Apr 20, 2015 10:56 pm
Forum: Support and Development
Topic: Need some help with particle systems and things
Replies: 3
Views: 2052

Re: Need some help with particle systems and things

Snake174rus wrote:You need to update particle system position in update function.

Code: Select all

X = x0 + (x - x0) * cos(a) - (y - y0) * sin(a);
Y = y0 + (y - y0) * cos(a) + (x - x0) * sin(a);
Where do I declare these x and y variables and what do I set them too?
by luaiscool
Mon Apr 20, 2015 12:15 am
Forum: Support and Development
Topic: Need some help with particle systems and things
Replies: 3
Views: 2052

Need some help with particle systems and things

I've been messing around with making a game, simple space. Heres what I have: player = {} player.x = 400 player.y = 400 player.r = 0 player.image = nil player.rspeed = 2 player.speed = 100 particles = {} particles.fire = {} particles.fire.buffer = 32 particles.fire.system = nil function love.load() ...
by luaiscool
Mon Jan 26, 2015 8:58 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 409892

Re: "Questions that don't deserve their own thread" thread

How does one make collisions on an image? I know its a noob question. I've been out of the forums for a while and forget if it's even possible. :emo:
by luaiscool
Fri May 30, 2014 8:44 pm
Forum: Support and Development
Topic: How can I match my x and y coords and rotation too
Replies: 2
Views: 1573

Re: How can I match my x and y coords and rotation too

If you know the rotation of the players ship - you can easily get a broadside rotation by matching the rotation of the enemy to the player. Next get the distance between the two, and do movement that attains a position 10-30 Units away from the player(where Units is a arbitrary unit of measurement,...