|
#21
|
||||
|
||||
|
Without seeing the code i am not sure why it would crash, but i suggest trying my player debug function:
Code:
function debug.player(functionname) -- a nice debugger for the player which outputs any errors of functions to a text file called "ErrorLog.txt"
f,vrf=pcall(functionname)
if not f then
savevariable("ErrorLog.txt",variabletype(vrf))
end
end
function savevariable(file,variable) -- this will save variables to a file
CodeOutput = io.open(file,"w");
CodeOutput:write(variabletype(variable));
io.close(CodeOutput);
end
function variabletype (o)
if type(o) == "number" then
return tostring(o)
elseif type(o) == "string" then
return string.format("%q", o)
else
return tostring(o)
end
end
Quote:
It is not that folders should be written in CAPIZED ( I use lower case folders, look at Pingus) I doubt its the reading speed of the player, after seeing how far i can push pingus on the player, I highly doubt you could reach that limit.
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 08-22-2011 at 09:36 AM. |
|
|
|||
|
|
|
#22
|
|||
|
|||
|
Thanx jBob, it helped a lot. I didn't know about pcall function. Now i know what the problem is i am getting message "not enough memory" shortly before crash.
|
|
#23
|
||||
|
||||
|
Quote:
We had to make so many optimizations in Pingus to avoids them, you could try our loading system, when leaving the main menu, unload all the resources and load the ones needed for the level. Also make sure you ALWAYS include these line of code:Code:
screen.clear(); collectgarbage() If you have any large tables make them weak! Code:
setmetatable(sometable, {__mode = "v"}) -- make table week
I hope some of these tips help P.S. Find our loading system in initialize.lua ( in the functions preload and another load function)
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 08-22-2011 at 09:46 AM. |
|
#24
|
|||
|
|||
|
I'd even pay for this
![]() Keep on Truckin. I've been hoping such a agme would come out.
|
|
#25
|
|||
|
|||
|
I just updated my Gui library. I added few new components that i currently need in Hypogeum.
New components are: - checkbox - textbox - container - canvas (which is scrollable container. I think i will rename it later) |
|
#26
|
|||
|
|||
|
I managed to finish campaign module selection screen with new gui components.
I am collecting and editing graphics for jungle areas. I have started programming map editor in Java. I work with LuaJ library for loading and exporting maps from lua tables to format editable in java and back to lua. |
|
#27
|
|||
|
|||
|
I am taking some time off from this project. Don't expect updates anytime soon.
|
|
#28
|
|||
|
|||
|
I just finished basic work on item enchantments. There could be two enchantments on item. Prefix and suffix enchantment with different powers and strengths.
Ps.: on picture you can see new gui component, slider. (on the right side) |
|
#29
|
||||
|
||||
|
this looks promising
__________________
I wUz he3R
|
|
#30
|
||||
|
||||
|
Is this still in development? I don't mean to be pushy, just curious if you're still working on it.
|
|
#31
|
|||
|
|||
|
Quote:
.
|
|
#32
|
|||
|
|||
|
Wow... This looks really great!!!!!!!!!
|
|
#33
|
|||
|
|||
|
I have finished Gui library update (for now anyway).
I have finished skill tab in party screen. It works now. You can upgrade you skills here if you have enough of skill points. And I reworked dialog screen and dialog system so talking party character can be switched in the dialog. Depending on which party member is talking, dialog options can change. Here are some screens. |
|
#34
|
|||
|
|||
|
Project is not dead jet, but i have no time and strength to develop, because of work.
And i am thinking about switching to Love2d from zen x-fi2 lua. |
![]() |
| Tags |
| 3d, dungeon, engine, might and magic, rpg |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 06:20 PM.











We had to make so many optimizations in Pingus to avoids them, you could try our loading system, when leaving the main menu, unload all the resources and load the ones needed for the level. Also make sure you ALWAYS include these line of code:


Linear Mode
