Search found 175 matches

by pauljessup
Mon Aug 24, 2020 6:35 pm
Forum: Support and Development
Topic: Make my own particle system
Replies: 3
Views: 3953

Re: Make my own particle system

Eh? You can specify the x and y, using love.graphics.draw(ParticleSystem, x, y), where ParticleSystem is the object created with something like self.imgs=love.graphics.newImage("game/img/snowflake.png") ParticleSystem=love.graphics.newParticleSystem(self.imgs, 450) ParticleSystem:setSpeed(0.03) Part...
by pauljessup
Fri Aug 21, 2020 11:06 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

looks like we'll be returning to this game in a few months, updating the graphics, tweaking the code, adding in stuff we originally wanted to leave in but didn't have time, and also adding in online multiplayer. Nothing complex, doing it pretty much the way Stardew Valley and others do it, with one ...
by pauljessup
Thu Jul 16, 2020 2:23 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

Yup. I think that did the trick. Was just some old debug code I hadn't removed from the menus, it was slowing things down to a crawl, since it was calculating a bunch of stuff right inside the draw function.
by pauljessup
Thu Jul 16, 2020 2:03 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

AHAHAHA I figured it out. It had nothing to do with input timers or how I was doing FPS caps. Nothing at all.

Fixing it now and it should work fine for everyone. Figured it out while porting it to the raspberry pi.
by pauljessup
Thu Jul 16, 2020 1:54 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

I think I see it now- funnily enough, I ported it to the Retropie, and the main menu took *forever* to move between menu options. Slowwwwww. Which is weird, because I sped it up on my osx so it runs almost too fast. It doesn't do that for any other menu now, just the main menu. It makes me think som...
by pauljessup
Wed Jul 15, 2020 10:37 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

Messed with the menu timer speed (sped it up by a bit, though might move too fast between menu items now, not sure), and then I took out the FPS cap code and just have it use vsync for now for limiting the framerate. It's wonky on my mac, but maybe this can fix the keyboard input issues on windows m...
by pauljessup
Wed Jul 15, 2020 7:55 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

Yes, if you looked in the fsm folder at intro.lua (which is the finite state that starts the game), you would see that vsync is turned off, since it doesn't work quite right on all monitors (like my mac, for example, the refresh rate is way higher than 60fps, and causes input lag and all sorts of no...
by pauljessup
Wed Jul 15, 2020 7:54 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

Yeah man, your example doesn't work on my mac. it just cuts out all input and doesn't do anything. And when I have it out output FPS, it says it's 565 frames per second. So, no input, frame rate through the roof....
by pauljessup
Wed Jul 15, 2020 5:54 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

(and yes, you need to hold down the "gas" so to speak...pretty much like Mario Kart, etc to speed up and go more than one or two pixel per frame)

I'll look into using scancodes rather than key constants, but really, it works best with a gamepad...even the menu input quirks are gone with the gamepad)
by pauljessup
Wed Jul 15, 2020 5:53 pm
Forum: Games and Creations
Topic: Death Kart!
Replies: 29
Views: 10034

Re: Death Kart!

I use a timer with the menu's- I just have to tweak how it works. I have a way of fixing it- the code I used in another game works fine, this one was something I was throwing together super quick for the game jam, so I do know how to fix that. As for the sleep timer thing- I'm not sure how else to c...