News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Pages (12): « First < Previous 1 2 3 [4] 5 6 7 8 Next > Last »
Search Results
Post Author Forum Replies Views Posted []
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw]The p argument points to a buffer that can hold the image and must be at least W*H*3 bytes when reading RGB images and W*H*4 bytes when reading RGBA images. [/quote] How do you create ...
iGame3D MurgaLua - General 43 73,383 02-29-2008, 04:16 PM
  Thread: User Prompt
Post: RE: User Prompt

That is so basic. You think this would be step 2 after hello world. [code] --[[ lua command line user user input o = the print() function p = a prompt to the user r = response from the computer i = ...
iGame3D MurgaLua - General 4 9,424 02-29-2008, 08:34 AM
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw] I'm just guessing here, but I think maybe RGB/RGBA images require either fl_draw_image() or fl_read_image() rather than fl_draw() [/quote] Fl draw just creates that text. FL draw over...
iGame3D MurgaLua - General 43 73,383 02-29-2008, 05:29 AM
  Thread: slicing images
Post: RE: slicing images

[quote=JohnMurga] Off-screen would work transparently for all image types too, as they'd be converted to RGB. [/quote] RGBA I hope? Else  every off screen render will produce a black background ...
iGame3D MurgaLua - General 43 73,383 02-28-2008, 03:41 PM
  Thread: [WIP] MurgaLua Reference Tool
Post: RE: [WIP] MurgaLua Reference Tool

Awesome! Works great! I think those buttons at the base need to get moved though. Whats the x%(n of nn) box in the corner? Have we figured out how to display styled text? Syntax styling on those sc...
iGame3D MurgaLua - General 109 1,258,952 02-28-2008, 12:37 PM
  Thread: Image and Tile Projects
Post: Image and Tile Projects

[url=http://www.murga-projects.com/forum/showthread.php?tid=269]Over in the slicing images thread[/url] [quote=mikshaw] I've been wondering what other uses getTiles could have. [/quote] I have...
iGame3D MurgaLua - General 0 3,604 02-28-2008, 09:03 AM
  Thread: "murgaLua -e string" in Windows and Mac
Post: RE: "murgaLua -e string" in Windows and ...

While we are on the topic, whats the " -e " for anyway. Is there somewhere that explains those arguments?
iGame3D MurgaLua - General 13 27,304 02-28-2008, 07:28 AM
  Thread: slicing images
Post: RE: slicing images

Works awesome, nothing broke or crashed in anyway yet. What ever mikshaw did fixed the problem, so far. To answer Juergen quickly, that image is close enough, I had the path wrong earlier, its [i]...
iGame3D MurgaLua - General 43 73,383 02-28-2008, 07:23 AM
  Thread: slicing images
Post: RE: slicing images

The path to a segfaulting file is: [i]murgaLua/gfx/murgaLua.png[/i] All my tests have been Mac based. [quote=mikshaw] Your last mod of the load function, Bill, initially sets the image on a separate ...
iGame3D MurgaLua - General 43 73,383 02-28-2008, 04:22 AM
  Thread: slicing images
Post: RE: slicing images

Ok to test bugs see: Working file: murgaLua/examples/images/Globe.png and segfault file: murgaLua/gfx/murgaLua.png -------------------------------------------- I mangled that segfault file a doze...
iGame3D MurgaLua - General 43 73,383 02-27-2008, 03:04 PM
  Thread: slicing images
Post: RE: slicing images

I noticed that green line of pixels at the bottom as well. I'm having great luck with this function now: It will resize large images and prevent most of the problems so far. [code]function load...
iGame3D MurgaLua - General 43 73,383 02-27-2008, 07:52 AM
  Thread: slicing images
Post: RE: slicing images

hmm still crashing out on some files, I put a trace at [code] for key,value in ipairs(myImages) do   print(key,value)     tile[key-1]:image(value) tile[key-1]:redraw() end [/code] John's globe.png...
iGame3D MurgaLua - General 43 73,383 02-27-2008, 06:30 AM
  Thread: slicing images
Post: RE: slicing images

changing [code] myImages = image2:getTiles(ts,ts) [/code] to [code] myImages = image1:getTiles(ts,ts) [/code] prevented the destruction of the the image as posted previously. I'll get a screen shot...
iGame3D MurgaLua - General 43 73,383 02-27-2008, 05:53 AM
  Thread: Fluid Syntax Analysis Hack
Post: Fluid Syntax Analysis Hack

When making code blocks in Fluid it complains about curly braces and quotation marks. Even if they are in lua comments or legal lua commands. Tobi did a quick and dirty hack to prevent it from doi...
iGame3D MurgaLua - General 0 2,771 02-26-2008, 09:55 AM
  Thread: murgaLua docs for 0.6.x
Post: RE: murgaLua docs for 0.6.x

[url=http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp]Make your iMac the main dev machine. [/url]:cool: I thought you might be waiting for the wiki. Not sure how long those take to set u...
iGame3D MurgaLua - General 9 12,636 02-26-2008, 09:41 AM
  Thread: slicing images
Post: RE: slicing images

ok that does settle the issue with most files. Some files, I guess with alpha are loading weird. [img]http://lua.igame3d.com/murgaLua/alphastrange.png[/img]
iGame3D MurgaLua - General 43 73,383 02-26-2008, 06:22 AM
  Thread: slicing images
Post: RE: slicing images

I get  attempt to index field '?' (a nil value)  at [code]  tile[key-1]:image(value)     tile[key-1]:redraw()[/code] when trying some transparent images. Johns globe example is working fine, tiling...
iGame3D MurgaLua - General 43 73,383 02-25-2008, 08:15 PM
  Thread: slicing images
Post: RE: slicing images

FIXED in load_callback [code] image1 = Fl_Shared_Image.get(fileName,ts*tc,ts*tc) [/code] is the problem [code] image1 = Fl_Shared_Image.get(fileName) [/code] stops the segmentation fault.
iGame3D MurgaLua - General 43 73,383 02-25-2008, 07:31 PM
  Thread: slicing images
Post: RE: slicing images

I put a print statement at the top of each of your functions, and the only thing that seems to get passed is "move_tile" when clicking on a tile. "load_callback" will fire when attempting to load a...
iGame3D MurgaLua - General 43 73,383 02-25-2008, 07:15 PM
  Thread: murgaLua docs for 0.6.x
Post: RE: murgaLua docs for 0.6.x

Hey John, the 0.6.4 documentation needs be uploaded to: [url=http://www.murga-projects.com/murgaLua/murgaLua.html]http://www.murga-projects.com/murgaLua/murgaLua.html[/url] and [url=http://www.m...
iGame3D MurgaLua - General 9 12,636 02-25-2008, 10:28 AM
Pages (12): « First < Previous 1 2 3 [4] 5 6 7 8 Next > Last »