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
Finding out whats been deprecated in love 0.8.0
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 3
- Joined: Tue Jan 24, 2012 9:01 pm
- 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
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)
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
- 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
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.
Re: Finding out whats been deprecated in love 0.8.0
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!
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!
Re: Finding out whats been deprecated in love 0.8.0
Here's the line: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"]75: in function <[string "boot.lua"]73>
[C]: in function 'xpcall'
Code: Select all
canvas = love.graphics.newCanvas()
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Finding out whats been deprecated in love 0.8.0
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?
Can you try love.graphics.newCanvas(256, 256) to see if it's a non power of two issue?
Re: Finding out whats been deprecated in love 0.8.0
No, it doesn't work.
------
Edit*
------
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
Re: Finding out whats been deprecated in love 0.8.0
Weird, your card supports pixeleffects, but not canvases? Do you have the latest driver version?utunnels wrote:Code: Select all
GL_ARB_vertex_program GL_ARB_fragment_program
- 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
That's intel for you . But these might very well be the drivers windows shipped with, which generally are of poor quality.
Re: Finding out whats been deprecated in love 0.8.0
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).
Although I think I should avoid canvas or pixel effect in my project unless I hit a situation that I must use them.
Although I think I should avoid canvas or pixel effect in my project unless I hit a situation that I must use them.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 5 guests