Search found 46 matches

by Echo
Fri May 10, 2013 1:15 pm
Forum: Support and Development
Topic: How can I use Canvases to create a page buffer system?
Replies: 8
Views: 2555

Re: How can I use Canvases to create a page buffer system?

Here is a copy of my file. I saved it as a zip file so you can unzip and check out the code on notepad++ or whatever you guys use. Here is the code if you don't want to download anything and have virus paranoia (<_<) main.lua function love.load() n = 1 xn = toString(n + 1) --next n xp = toString(n -...
by Echo
Fri May 10, 2013 1:13 pm
Forum: Support and Development
Topic: How can I use Canvases to create a page buffer system?
Replies: 8
Views: 2555

Re: How can I use Canvases to create a page buffer system?

I tried running the code but I get an error message (attached)
by Echo
Fri May 10, 2013 9:42 am
Forum: Support and Development
Topic: How can I use Canvases to create a page buffer system?
Replies: 8
Views: 2555

Re: How can I use Canvases to create a page buffer system?

I updated the code and loosely based it off your idea. Thanks man ( for clearing up the noise I had about Canvases ). I think this will work, I just need to get some pages and test this thing for real. EDIT "num" is now "page.num" in my code function love.keyreleased(key) if key ...
by Echo
Wed May 08, 2013 3:33 pm
Forum: Support and Development
Topic: How can I use Canvases to create a page buffer system?
Replies: 8
Views: 2555

Re: How can I use Canvases to create a page buffer system?

I want to make a visual novel system so I'm not sure how many pages the user will use. wont the nil function delete the page.next variable permanently? It needs to be so that its a continouse system regardless of how many pages you want to use. But maybe the Canvases might be a bit too much, (I can ...
by Echo
Wed May 08, 2013 2:27 pm
Forum: Support and Development
Topic: How can I use Canvases to create a page buffer system?
Replies: 8
Views: 2555

How can I use Canvases to create a page buffer system?

I am making a page buffer with the following code. So far I think it will work but I have a little trouble understanding how I can manipulate Canvas functions to make a smooth page buffer . How this is meant to work: >I creat a variable for a previouse page, a current page and a next page using tabl...
by Echo
Mon Apr 29, 2013 12:24 pm
Forum: Games and Creations
Topic: LUNAR Lua+Narrative
Replies: 35
Views: 7658

Re: LUNAR Lua+Narrative

Hi guys, I'm back. Sorry for the long wait. but things will move onward from here. I'm now working on this same project with my sister, she's a great artist and we decided to make a Visual Novel together. I also simplified the engine a lot now, right now its still in design but Its going to have a c...
by Echo
Fri Aug 31, 2012 10:41 am
Forum: Games and Creations
Topic: LUNAR Lua+Narrative
Replies: 35
Views: 7658

Re: LUNAR Lua+Narrative

I've been reading up PIL, so far most of it is making much more sense now but I'm about quarter way with PIL. might take a few months to soak up everything completely ( after PIL I'll revise the Wiki properly ) then after that I will resume with my Lunar project with much gained confidence and knowl...
by Echo
Thu Aug 23, 2012 11:38 am
Forum: Games and Creations
Topic: LUNAR Lua+Narrative
Replies: 35
Views: 7658

Re: LUNAR Lua+Narrative

I'm going to learn meta-tables and then use them because they seem to be very interesting, first I should use checkColliison to clean up my if statements and yes it is much better that way after all another reason I am doing this anyway is to learn Lua and real programming so I cant just dumb down t...
by Echo
Wed Aug 22, 2012 3:18 pm
Forum: Games and Creations
Topic: LUNAR Lua+Narrative
Replies: 35
Views: 7658

Re: LUNAR Lua+Narrative

Can I put the save and load function in love.update instead? and what are meta tables? Can I use plain variables like save_state and load_state instead of save.state and load.state. Second, it is better to define once a collision check function and then reuse it, instead of repeating ; CODE: SELECT ...
by Echo
Wed Aug 22, 2012 11:47 am
Forum: Games and Creations
Topic: LUNAR Lua+Narrative
Replies: 35
Views: 7658

Re: LUNAR Lua+Narrative

I have a problem. It saves fine and the serialization is fine but when I try loading the game nothing happens. I suspect that it was because the data is not being put back into its place when it loads ( if that makes sense ) I have attached the project since there might be something bigger that I'm ...