Search found 4 matches

by thebassinator143
Wed Mar 05, 2014 10:37 pm
Forum: Support and Development
Topic: Inter-entity Collision in Goature's System
Replies: 8
Views: 3777

Re: Inter-entity Collision in Goature's System

@davisdude: I think that's a great idea, thanks! :D Before that can happen though, I need to get the updated entity coordinates so I can check for the collisions @Ranguna: That is essentially correct. The entity files (hellhound.lua and spike.lua) are basically templates for creating different types...
by thebassinator143
Wed Mar 05, 2014 6:30 pm
Forum: Support and Development
Topic: add gravity to my world and make an image jump.
Replies: 6
Views: 3806

Re: add gravity to my world and make an image jump.

I'm sort of n00b but I'll try to help. :D Anyways, think of gravity as constant downward force. When you jump, you are temporarily overcoming this force, until finally it brings you back down. So how to simulate this? Simply add the following code to your state.update function! player.y_vel = player...
by thebassinator143
Wed Mar 05, 2014 6:09 pm
Forum: Support and Development
Topic: Inter-entity Collision in Goature's System
Replies: 8
Views: 3777

Re: Inter-entity Collision in Goature's System

How are you making the entities bounding boxs of the objects when they are colliding with the player ? So the player data is all located in the player.lua file, completely independent of the entity system. Since there is only one player, this allows me to call that data (x,y,w,h) in the entity file...
by thebassinator143
Wed Mar 05, 2014 6:50 am
Forum: Support and Development
Topic: Inter-entity Collision in Goature's System
Replies: 8
Views: 3777

Inter-entity Collision in Goature's System

Hello Love community! I have been working with Love (and lurking these forums) for a month or so, and must say I've been enjoying it immensely :D Greetings aside, I seem to have run into a bit of an obstacle :( I'm working on a platformer (using Goature's entity system) and am currently stumped in t...