Finding out whats been deprecated in love 0.8.0

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
joey_green
Prole
Posts: 3
Joined: Tue Jan 24, 2012 9:01 pm

Finding out whats been deprecated in love 0.8.0

Post by joey_green »

I'm wanting to use 0.8.0 because of the shaders and keep getting an error when creating a particle system. I get 'attempt to call method 'setSize' ( a nil value ). I also get this for setColor.

Does this mean the setSize function has been removed? Is so, how should I go about finding out how this functionality has been replaced in 0.8.0?

The wiki doesn't give enough info. https://love2d.org/wiki/0.8.0
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Finding out whats been deprecated in love 0.8.0

Post by tentus »

The wiki isn't the most up-to-date in terms of unreleased versions. setSize, for example, has been replaced with setSizes.

Try here for a more recent list of changes: https://bitbucket.org/rude/love/history/changes.txt (including changes to the changes, meta meta meta meta)
Kurosuke needs beta testers
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Finding out whats been deprecated in love 0.8.0

Post by Robin »

Also, the documentation is lagging a bit behind, changes should all get a newin or an oldin tag in due time.
Help us help you: attach a .love.
User avatar
hryx
Party member
Posts: 110
Joined: Mon Mar 29, 2010 2:28 am
Location: SF<CA<USA

Re: Finding out whats been deprecated in love 0.8.0

Post by hryx »

Look in the wiki -- just yesterday I added two new pages you'll want.
https://love2d.org/wiki/ParticleSystem:setSizes
https://love2d.org/wiki/ParticleSystem:setColors

I ran into the same problem and thought it was a bug. D'OH!
utunnels
Citizen
Posts: 75
Joined: Fri Jan 06, 2012 5:20 pm

Re: Finding out whats been deprecated in love 0.8.0

Post by utunnels »

Error: main.lua:28: Cannot create canvas: Not supported by your OpenGL implementation.
stack traceback:
[C]: in function 'newCanvas'
main.lua:28: in function 'load'
[string "boot.lua"]:375: in function <[string "boot.lua"]:373>
[C]: in function 'xpcall'
Here's the line:

Code: Select all

  canvas = love.graphics.newCanvas()
Does it mean I can't use canvas or it works differently?
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Finding out whats been deprecated in love 0.8.0

Post by slime »

You probably can't use Canvas :(.
Can you try love.graphics.newCanvas(256, 256) to see if it's a non power of two issue?
utunnels
Citizen
Posts: 75
Joined: Fri Jan 06, 2012 5:20 pm

Re: Finding out whats been deprecated in love 0.8.0

Post by utunnels »

No, it doesn't work.

------

Edit*

Code: Select all

Video Card Vendor:    Intel
Renderer:             Intel Bear Lake B
OpenGL Version:       1.4.0 - Build 8.14.10.1930
GLU Version:          1.2.2.0 Microsoft Corporation

Current pixel format: 6

Pixel Formats supported by this video card
------------------------------------------
#	Type	Flags		Buf	Type	Color(R-G-B-A)	Z-Depth	Stencil	Accum(R-G-B-A)
1	ICD	00008024	SGL	RGBA	32 (8-8-8-8)		0		0		0(0-0-0-0)
2	ICD	00008025	DBL	RGBA	32 (8-8-8-8)		0		0		64(16-16-16-16)
3	ICD	00008024	SGL	RGBA	32 (8-8-8-8)		16		0		0(0-0-0-0)
4	ICD	00008025	DBL	RGBA	32 (8-8-8-8)		16		0		64(16-16-16-16)
5	ICD	00008024	SGL	RGBA	32 (8-8-8-8)		24		8		0(0-0-0-0)
6	ICD	00008025	DBL	RGBA	32 (8-8-8-8)		24		8		64(16-16-16-16)
7	GEN	0000807C	SGL	RGBA	32 (8-8-8-0)		32		8		64(16-16-16-0)
8	GEN	0000807C	SGL	RGBA	32 (8-8-8-0)		16		8		64(16-16-16-0)
9	GEN	00008465	DBL	RGBA	32 (8-8-8-0)		32		8		64(16-16-16-0)
10	GEN	00008465	DBL	RGBA	32 (8-8-8-0)		16		8		64(16-16-16-0)
11	GEN	0000807C	SGL	RGBA	32 (8-8-8-8)		32		8		64(16-16-16-16)
12	GEN	0000807C	SGL	RGBA	32 (8-8-8-8)		16		8		64(16-16-16-16)
13	GEN	00008465	DBL	RGBA	32 (8-8-8-8)		32		8		64(16-16-16-16)
14	GEN	00008465	DBL	RGBA	32 (8-8-8-8)		16		8		64(16-16-16-16)
15	GEN	0000807C	SGL	CI	32 (8-8-8-0)		32		8		0(0-0-0-0)
16	GEN	0000807C	SGL	CI	32 (8-8-8-0)		16		8		0(0-0-0-0)
17	GEN	00008465	DBL	CI	32 (8-8-8-0)		32		8		0(0-0-0-0)
18	GEN	00008465	DBL	CI	32 (8-8-8-0)		16		8		0(0-0-0-0)
19	GEN	00000078	SGL	RGBA	24 (8-8-8-0)		32		8		64(16-16-16-0)
20	GEN	00000078	SGL	RGBA	24 (8-8-8-0)		16		8		64(16-16-16-0)
21	GEN	00000078	SGL	RGBA	24 (8-8-8-8)		32		8		64(16-16-16-16)
22	GEN	00000078	SGL	RGBA	24 (8-8-8-8)		16		8		64(16-16-16-16)
23	GEN	00000078	SGL	CI	24 (8-8-8-0)		32		8		0(0-0-0-0)
24	GEN	00000078	SGL	CI	24 (8-8-8-0)		16		8		0(0-0-0-0)
25	GEN	00000078	SGL	RGBA	16 (5-5-5-0)		32		8		32(11-11-10-0)
26	GEN	00000078	SGL	RGBA	16 (5-5-5-0)		16		8		32(11-11-10-0)
27	GEN	00000078	SGL	RGBA	16 (5-5-5-8)		32		8		32(8-8-8-8)
28	GEN	00000078	SGL	RGBA	16 (5-5-5-8)		16		8		32(8-8-8-8)
29	GEN	00000078	SGL	CI	16 (5-5-5-0)		32		8		0(0-0-0-0)
30	GEN	00000078	SGL	CI	16 (5-5-5-0)		16		8		0(0-0-0-0)
31	GEN	00000078	SGL	RGBA	8 (3-3-2-0)		32		8		32(11-11-10-0)
32	GEN	00000078	SGL	RGBA	8 (3-3-2-0)		16		8		32(11-11-10-0)
33	GEN	00000078	SGL	RGBA	8 (3-3-2-8)		32		8		32(8-8-8-8)
34	GEN	00000078	SGL	RGBA	8 (3-3-2-8)		16		8		32(8-8-8-8)
35	GEN	00000078	SGL	CI	8 (3-3-2-0)		32		8		0(0-0-0-0)
36	GEN	00000078	SGL	CI	8 (3-3-2-0)		16		8		0(0-0-0-0)
37	GEN	00000078	SGL	RGBA	4 (1-1-1-0)		32		8		16(5-6-5-0)
38	GEN	00000078	SGL	RGBA	4 (1-1-1-0)		16		8		16(5-6-5-0)
39	GEN	00000078	SGL	RGBA	4 (1-1-1-8)		32		8		16(4-4-4-4)
40	GEN	00000078	SGL	RGBA	4 (1-1-1-8)		16		8		16(4-4-4-4)
41	GEN	00000078	SGL	CI	4 (1-1-1-0)		32		8		0(0-0-0-0)
42	GEN	00000078	SGL	CI	4 (1-1-1-0)		16		8		0(0-0-0-0)


OpenGL extensions found for the current pixel format
----------------------------------------------------
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_blend_color
GL_EXT_abgr
GL_EXT_texture3D
GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array
GL_EXT_cull_vertex
GL_SGIS_texture_edge_clamp
GL_SGIS_generate_mipmap
GL_EXT_draw_range_elements
GL_SGIS_texture_lod
GL_EXT_rescale_normal
GL_EXT_packed_pixels
GL_EXT_separate_specular_color
GL_ARB_multitexture
GL_EXT_texture_env_combine
GL_EXT_bgra
GL_EXT_blend_func_separate
GL_EXT_secondary_color
GL_EXT_fog_coord
GL_EXT_texture_env_add
GL_ARB_texture_cube_map
GL_ARB_transpose_matrix
GL_ARB_texture_env_add
GL_IBM_texture_mirrored_repeat
GL_EXT_multi_draw_arrays
GL_NV_blend_square
GL_ARB_texture_compression
GL_3DFX_texture_compression_FXT1
GL_EXT_texture_filter_anisotropic
GL_ARB_texture_border_clamp
GL_ARB_point_parameters
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_env_crossbar
GL_EXT_texture_compression_s3tc
GL_ARB_shadow
GL_ARB_window_pos
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_ARB_vertex_program
GL_ARB_fragment_program
GL_EXT_stencil_two_side
GL_ARB_vertex_buffer_object
GL_EXT_texture_lod_bias
GL_NV_texgen_reflection
GL_ARB_depth_texture
GL_WIN_swap_hint
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Finding out whats been deprecated in love 0.8.0

Post by vrld »

utunnels wrote:

Code: Select all

GL_ARB_vertex_program
GL_ARB_fragment_program
Weird, your card supports pixeleffects, but not canvases? Do you have the latest driver version?
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Finding out whats been deprecated in love 0.8.0

Post by bartbes »

That's intel for you ;). But these might very well be the drivers windows shipped with, which generally are of poor quality.
utunnels
Citizen
Posts: 75
Joined: Fri Jan 06, 2012 5:20 pm

Re: Finding out whats been deprecated in love 0.8.0

Post by utunnels »

It is my office PC so I'm not really panic. Actually it doesn't run those pixel effect demos (I only tried a few of them).
:P Although I think I should avoid canvas or pixel effect in my project unless I hit a situation that I must use them.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 75 guests