Search found 7 matches

by destinyschilde
Sun Apr 16, 2017 2:36 pm
Forum: Support and Development
Topic: Cant switch back to a previous gamestate with hump
Replies: 9
Views: 6149

Re: Cant switch back to a previous gamestate with hump

Sir_Silver is correct; however, that will result a recursive require. (Outercore tries to load core, core tries to load outercore, repeat) The way to fix this is by loading them in in core:init Core: local outercore function core:init() outercore = require "states.outercore" end Outercore...
by destinyschilde
Sun Apr 16, 2017 5:30 am
Forum: Support and Development
Topic: Issue using Hardon Collider
Replies: 5
Views: 5024

Re: Issue using Hardon Collider

THAnK yOU YOUR CODE SAVED MY LIFE <3
by destinyschilde
Sun Apr 16, 2017 5:24 am
Forum: Support and Development
Topic: Cant switch back to a previous gamestate with hump
Replies: 9
Views: 6149

Cant switch back to a previous gamestate with hump

So i'm using hump gamestates to go from area 1 to area 2, but i cannot use the same logic to go from area 2 to back to area 1. :cry: HELP! here is area 1(core) local core = {} Gamestate = require "hump.gamestate" local outercore = require"states.outercore" function core:enter() -...
by destinyschilde
Wed Mar 15, 2017 3:42 am
Forum: Support and Development
Topic: Issue using Hardon Collider
Replies: 5
Views: 5024

Re: Issue using Hardon Collider

here's my now more legible code that still doesn't work: local baton = require 'baton' love.joystick.loadGamepadMappings('gamecontrollerdb.txt') HC = require 'hardoncollider' x = 400 y = 300 local controls = { left = {'key:left', 'axis:leftx-', 'button:dpleft'}, right = {'key:right', 'axis:leftx+', ...
by destinyschilde
Wed Mar 15, 2017 3:31 am
Forum: Support and Development
Topic: Issue using Hardon Collider
Replies: 5
Views: 5024

Re: Issue using Hardon Collider

im still trying to find the actual collision code in there. :( it seems like my problem is something to do with the fundamental logic behind collisions or maybe even booleans. either way i'm still pretty screwed with this. i even cleaned up my movement code a lot and still no luck. Im only just star...
by destinyschilde
Thu Feb 16, 2017 9:57 pm
Forum: Support and Development
Topic: Issue using Hardon Collider
Replies: 5
Views: 5024

Issue using Hardon Collider

I am having this silly issue with my collisions. I chose this library HC to detect collisions, but there's not a lot of actual examples of it in use anywhere that i can find in order to reverse engineer. Has anyone used this library? this is what my code looks like: require "AnimatedSprite"...
by destinyschilde
Mon Jan 16, 2017 11:58 pm
Forum: Support and Development
Topic: love.keyreleased multiple keys
Replies: 3
Views: 2521

love.keyreleased multiple keys

I have this problem. I'm trying trigger my diagonal idle animations when when two keys are released ('s' and 'd') but this does not seem to work. I could not seem to find an answer on these forums. This is what i have: function love.keyreleased (key) if key == "s" and key =="d" t...