Search found 16 matches
- Mon Feb 15, 2021 4:13 am
- Forum: Games and Creations
- Topic: Spikes Are the Enemy
- Replies: 3
- Views: 5506
Re: Spikes Are the Enemy
Thoughts, playing the iOS version. (I don't remember downloading this, but I saw it again this month and decided to play it a bit) Note that I only played 2 levels, and these aren't really my first impressions at this point - that would have been a few days ago. The first screen with the four menu b...
- Sat Nov 03, 2018 9:04 pm
- Forum: Support and Development
- Topic: Palette Swap Shader: How to stop it mixing colors from neighboring pixel?
- Replies: 3
- Views: 4260
Re: Palette Swap Shader: How to stop it mixing colors from neighboring pixel?
informative thank you
- Sat Nov 03, 2018 8:10 am
- Forum: Support and Development
- Topic: Palette Swap Shader: How to stop it mixing colors from neighboring pixel?
- Replies: 3
- Views: 4260
Palette Swap Shader: How to stop it mixing colors from neighboring pixel?
local shader = love.graphics.newShader("palette/shader.glsl") local palette = love.graphics.newImage("palette/Palette.png") local sprite = love.graphics.newImage("sprite.png") sprite:setFilter("nearest", "nearest") function love.load() row = 0.0 end...
- Fri Sep 07, 2018 6:13 am
- Forum: General
- Topic: How to draw and code a state machine? (pictures!)
- Replies: 1
- Views: 2350
How to draw and code a state machine? (pictures!)
I don't know how to make a state machine the correct way. But I wanted to write out possible states and try anyway. Deck - has the states idle, fetching and empty. idle responds to a click which turns its state to fetching. fetching takes 0.2 seconds to transition back to idle while tweening, but in...
- Sun Sep 02, 2018 8:44 am
- Forum: Games and Creations
- Topic: Accordion Solitaire
- Replies: 0
- Views: 3098
Accordion Solitaire
Accordion is a variant of solitaire where your goal is to compress all cards into one pile. Instead of moving reds on blacks, the top card will match rank or suit instead. In this variant, you have a maximum of 16 cards in your hand. The deck has a total of 52 cards. You can make a move when.. 1. Th...
- Sat Sep 01, 2018 6:47 am
- Forum: Support and Development
- Topic: How to: resizing and the maximize button?
- Replies: 1
- Views: 1761
How to: resizing and the maximize button?
so here is my resizing code. When you hit the maximize button, well, it goes kind of slow as it changes the window size and doesn't look that good. How can I improve this? window_state = 1 function love.resize(w,h) if window_state == 1 then love.window.updateMode(800,600,{fullscreen = false, resizab...
- Mon Jul 16, 2018 10:57 am
- Forum: Support and Development
- Topic: Drag and drop files/pictures onto a love2d window?
- Replies: 3
- Views: 3570
Drag and drop files/pictures onto a love2d window?
lets say for the sake of argument, the user would drag and drop a picture, or video, or text file onto a love2d window. like how in imgur or many other programs you can drag and drop files/pictures. same thing here
Possible?
Possible?
- Thu Jun 28, 2018 4:34 am
- Forum: General
- Topic: How can I get better at programming menus, textinput, keypressed, and other ui stuff?
- Replies: 1
- Views: 2310
How can I get better at programming menus, textinput, keypressed, and other ui stuff?
I started a clone of oregon trail to familiar myself with love. I have not gotten very far. It takes an hour+ for each screen. trail_setup_screen_three took the longest, several hours just adding the switcher between questions. There are unused/redundant variables everywhere, I don't consistently us...
- Sat Nov 04, 2017 12:27 am
- Forum: General
- Topic: bullets with physics? how should gravity work?
- Replies: 1
- Views: 1951
bullets with physics? how should gravity work?
so , how would you do this? The first ways I tried were to have a time variable for each bullet, it would step that little bit (say, 0.0333333..) and then add the sine of that to the x position. i.e. function Bullet(x,y) return {x=x, y=y, time=0, xvel=math.random()>=0.5 and -1 or 1} end bullets = {B...
- Fri Oct 27, 2017 11:12 pm
- Forum: General
- Topic: is there a sublime plugin with popups to tell you the function arguments?
- Replies: 1
- Views: 1985
is there a sublime plugin with popups to tell you the function arguments?
currently I use sublime text on the Mac, I was wondering if there's any plugin to add popup comments next to love function names, to tell you their parameters while you're typing parameters? i.e. start typing love.graphics.rectangle, add the '(' and this popup appears at the end of the line: --mode,...