|
#41
|
||||
|
||||
|
jbob, nice to get feedback from the project like this, but I think you should refrain from saying stuff like "Might release in a day or two" for a bit, don't you think?
It's done when it's done, don't try to rush it and throw out promises you can't keep. Some people might feel disappointed, and we don't want that, right?
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
|
|||
|
|
|
#42
|
||||
|
||||
|
Quote:
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#43
|
||||
|
||||
|
Can anyone see why this code would cause a lag:
Code:
if p.lr == "left" then
Collisionmap_x:seek("set",(p.x)*(gamemaxy+1)); -- seek to the proper position in the collision map
Collisionmap_x:seek("cur",p.y);
else
Collisionmap_x:seek("set",(p.x+p.maxx)*(gamemaxy+1));-- seek to the proper position in the collision map
Collisionmap_x:seek("cur",p.y);
end
Code:
if p.lr == "left" then
Collisionmap_x:seek("set",(p.x)*(gamemaxx+1)); -- seek to the proper position in the collision map
Collisionmap_x:seek("cur",p.y);
else
Collisionmap_x:seek("set",(p.x+p.maxx)*(gamemaxx+1));-- seek to the proper position in the collision map
Collisionmap_x:seek("cur",p.y);
end
-------------------------------------------------------------------------------------------------------------- We found out it was because of how the player handles multiplication. We are going to use the discovery in our favor. We will make these lines ( the only source of lag in our game) use multiplication with extremely large numbers, which should greatly optimize the whole project
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 07-22-2011 at 01:13 PM. |
|
#44
|
|||
|
|||
|
Maybe, rounding problem. Data type Number can be float or int.
I had a lot of those when i made 2D array map in hypogeum. |
|
#45
|
||||
|
||||
|
The could be the case, but all of our numbers we pass into our collision engine are whole numbers. However, after contacting a friend of mine he said this:
Quote:
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#46
|
||||
|
||||
|
Visit our Sourceforge page at : https://sourceforge.net/projects/pingus/ to download Pingus X-Fi2 BETA
The BETA does not include the following features: Unused abilities ( Bomber, Climber, Builder, Miner) Levels 7-21 Custom Level support Level generator Fast forward Commented code ( most code is not commented yet, besides most of the engine.lua and some of main.lua) The BETA can only handle 5 penguins on the screen of the zen before the lag becomes bad. Expect a 3 minute collision map generation delay for loading if you battery is low. If you battery is charged, expect a 1.5 minute delay. We do have a percent bar for the generation, so you know it is not frozen. We are working on optimizations to the engine to improve the number of penguins in future releases. WARNING!!!!!!! DO NOT RUN THIS GAME ON THE PLAYER WITH LESS THEN 25% BATTERY LEFT! IT WILL MOST LIKELY CAUSE SEVERE CRASHING OF YOUR PLAYER!
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball Last edited by jbob182; 07-28-2011 at 04:53 PM. |
|
#47
|
||||
|
||||
|
Make sure you run the updater once you download the game, there has been some changes to the level and maximum number of penguins. We will hopefully be including a change log into the updater so you can see what has changed.
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#48
|
||||
|
||||
|
i keep getting a crash after the level is loading. my battery is definetly above 25% tho. anyone else having this problem?
__________________
I wUz he3R
|
|
#49
|
||||
|
||||
|
Quote:
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#50
|
||||
|
||||
|
The new updater is out, get it at: https://sourceforge.net/projects/pin...r.zip/download Make sure you extract both PingusUpdater.exe and PingusUpdater Update.exe to the folder Tools
Oh an P.S. I will not be updating the Pingus zip file on sourceforge for a while, my internet's upload speed is too slow for sourceforge without data errors on files around 5mb. Does anyone know why the updater would retrieve old versions of files/directories while the current src folder is up to date? I rember this has happend before, where when we upload files via ftp or sftp of version will still randomly replace the current one.
__________________
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-01-2011 at 02:59 PM. |
|
#51
|
||||
|
||||
|
After searching through the code, i found the cause of the problems of the updater, it appears i checked the wrong value to see if the file was the new updater( i checked if a string.find returned 0 not -1)
https://sourceforge.net/projects/pin...1.zip/download Make sure both tools are in the Tools directory
__________________
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-01-2011 at 07:07 PM. |
|
#52
|
|||
|
|||
|
Hey! I have some problem to find the game i have downloaded 35MG, but you said it well take 150 MG. can you plz poste a direct link to the download?
|
|
#53
|
||||
|
||||
|
It was 150 MG but then we had to remove the music which moved it down drasticly and then we converted alot of the PNG's to jpg's and that also shrank the space taken up by Pingus, amounting to around 35 MG
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#54
|
|||
|
|||
|
Ok, but i have another problem. I started the game on my device and the first map lodes to 22% before the device turnes off. Can you help me plz?
|
|
#55
|
||||
|
||||
|
Quote:
If anyone is wondering why it takes so long to load, it is because it has to be able to edit the collision map for abilities like a digger, without making changes to the original. So we copy the original to a new file. If anyone knows how to edit a file and discard changes, then the loading time would me drastically reduced.
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#56
|
||||
|
||||
|
Quote:
So say you dig, then you save which coordinates were dug at, and what the key-change was in the collision map, so it can be put back later. Problem with this considering the unstable nature of the game is that if it crashed mid-game, the map will be modified UNLESS you keep the log file and check against it during startup as well, in which case the damage should be able to be repaired. I have no idea how efficient this would really be, but it was something which came to mind.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#57
|
||||
|
||||
|
Quote:
moddedarea[1].type = "rectange" moddedarea[1].x= 0 moddedarea[1].y= 0 moddedarea[1].maxx= 20 moddedarea[1].maxy= 20 So that could work but there is one problem. What if the game crashes? Theoretically we could implement a crash check and if it is true, then recover the previous collision file via the updater. I will begin trying to implement this. Thanks for the suggestion, I hope it works. There is One final problem though, how do we keep the previous data, the only way i can think of would be to create many files that look like edit1, edit2,edit3 that record the overwritten data. P.S. Pingus is only unstable when loading, not during gameplay. One final note, the recording to the log would not slow down gameplay at all because of one critical piece of code we implemented. Actions such as digger and miner act every other frame, meaning we have an open frame to do work without causing a lag. ------------------------------------------------------------------------------------------------------------------------------------------- I ran a quick test with the digger and it worked perfect, as soon as I add the basher, a quick check for any blockers, and a crash log I should be done.
__________________
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-03-2011 at 07:03 PM. |
|
#58
|
||||
|
||||
|
How I meant it could withstand crashes would be if you saved the changes to a file on the player, which would take a little bit more time than just save it in a table. Then the file should always be there to check against on startup in case it crashed before.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#59
|
||||
|
||||
|
Quote:
__________________
Tools: Playlist Manager , Document to RSS , Notepad++ Instellisense Games/Apps: Asteroids, ZenFrame, Graphing Calculator, Pingus X-Fi2, Boxwars, SkiFree, Jezzball |
|
#60
|
|||
|
|||
|
Hey i tryide to load the battery on my device to 100% and did just like you said but my zen do still turn it self of. plz help
|
![]() |
| Tags |
| clone, creative, jbob, lemmings, lua, pingus, redwolfhome, xfi2, zen |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 09:57 AM.










It's done when it's done, don't try to rush it and throw out promises you can't keep. Some people might feel disappointed, and we don't want that, right?

I wUz he3R

Linear Mode
