Search found 7 matches
- Wed Mar 02, 2016 10:30 pm
- Forum: General
- Topic: LÖVE 0.10.1 released
- Replies: 44
- Views: 39763
Incompatible with Windows XP!
I have a school computer that uses windows xp and love2d 10+ are incompatible! But love 8 runs just fine. When I run it with the win XP machine I get a OpenGL error. Saying: Unable to create OpenGL window This program requires a graphics card and video drivers which support OpenGL 2.1 or OpenGL ES 2...
- Sun Jan 10, 2016 11:30 pm
- Forum: General
- Topic: Help needed for platformer
- Replies: 6
- Views: 3602
Re: Help needed for platformer
Here, try this... function love.load() blocksize = 25 local b = {255, 150, 0} -- localize these and translate into terrain table local s = {0, 150, 255} local g = {100, 255, 100} terrain = {} -- table containing all maps terrain[#terrain+1] = { -- new terrain {b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b}, -- a...
- Sun Jan 10, 2016 3:05 am
- Forum: General
- Topic: Help needed for platformer
- Replies: 6
- Views: 3602
Re: Help needed for platformer
I'm feeling generous tonight, though it's untested; function love.load() -- no dt blocksize = 25 width = 9 height = 9 blocks = {} blocks.wall = {255,150,0} blocks.sky = {0,150,255} blocks.ground = {100,255,100} terrain = [[ sssssssss swwwwwwws swgggggws swgwwwgws swgwswgws swgwswgws swgwwwgws swwww...
- Sun Jan 10, 2016 1:19 am
- Forum: General
- Topic: Help needed for platformer
- Replies: 6
- Views: 3602
Help needed for platformer
I have this platformer game that I need help with. And how to make the terrain not cycle through one block. how do I make more than one block? Here is main.lua: -- Made By: CraftedPixel CC - BY 4.0 See here: http://creativecommons.org/licenses/by/4.0/ -- function love.load(dt) blocksize = 25 -- You ...
- Fri Jan 01, 2016 9:09 pm
- Forum: Support and Development
- Topic: My pong game has broken colision detection
- Replies: 2
- Views: 2038
Re: My pong game has broken colision detection
try this if bally >= piy and bally <= piy + 15 then -- collisions with paddles (the broken part) -- ballgox = 1 end if bally >= piiy and bally <= piiy + 15 then ballgox = -1 end all that's left is to check if ballx is near the paddles, but i'm sure u can figure that out on your own Wow! Thanks man!...
- Fri Jan 01, 2016 6:30 pm
- Forum: Support and Development
- Topic: My pong game has broken colision detection
- Replies: 2
- Views: 2038
My pong game has broken colision detection
Can someone help me with my game of pong Sure I find the game very interesting and all but I could use help with debugging my game So here is the things that work: Ball colliding with top and bottom Game resetting when you loose Moving Player 1 with W and S Moving Player 2 with Up and Down Fun and (...
- Tue Dec 29, 2015 5:41 pm
- Forum: Support and Development
- Topic: Love2D changes so much that old tutorials don't work
- Replies: 1
- Views: 1336
Love2D changes so much that old tutorials don't work
The love2d wiki is outdated, and youtube tutorials as well. It makes things very hard to learn. I am new to love2D You cant do this anymore: conf.lua 1 function love.conf() 2 height = 100 3 width = 120 4 end Width and height commands cause an ERROR, old Love2d code won't even run anymore! I don't wa...