|
#1
|
|||
|
|||
|
Who doesn't love popping bubble wrap?
This is an edit of Jespuur's soundboard. It's my first attempt at coding anything so please bear with me when it comes to any errors that pop up. |
| Advertisement | [Remove Advertisement] |
|
|
|
|
#2
|
|||
|
|||
|
Any errors that POP up. Hahahahaha. Pop. It's funny because he said pop and it's... bubble wrap... which pops... oh never mind.
I like it, but the bubbles can be hard to pop. |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
I agree with nikc4, the bubbles can be difficulty to pop a lot of the time...
|
|
#5
|
||||
|
||||
|
trashman4289, i hope you don't hate me....i've just modified a little bit your game to work better
![]() now it's easier to pop bubbles and you can frenzypop them by moving your finger on the screen ![]() i hope you like it (duh, it's my first time programming, i hope everything's all right )
|
|
#6
|
||||
|
||||
|
Spewk addition of touch.move() made it very much easier to pop the bubbles, I thought about doing that myself also =P But one thing about that change is that it doesn't played the sound until after you release the screen, making frenzypopping boring =P
Another bug in the original version other than the difficulty of popping bubbles at times, is that it plays a popping sound even if you press a popped bubble. A thought about a solution to the popping difficulty, what if you made the big if-chain to an if-elseif chain? Code:
if (x) then end if (x) then end if (x) then end Code:
if (x) then elseif (x) then elseif (x) then end
__________________
"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. ^.^ Last edited by Habhome; 03-13-2010 at 09:23 AM. |
|
#7
|
||||
|
||||
|
Quote:
Code:
if touch_x >= 2 and touch_x <= 40 and touch_y >= 23 and touch_y <= 61 then Pop:play() imgPd:draw(1,23) screen:update() MARK:DONE <--- does it even exist? :D i'm reading the LUA manual to find how to do that, if you already know how it would be great
|
|
#8
|
||||
|
||||
|
Quote:
ONE. But I do know how to solve the problem. My solution would be to create an array of booleans: Code:
bubble = {popped=false, popped=false, popped=false, popped=false, popped=false,
popped=false, popped=false, popped=false, popped=false ,popped=false, popped=false,
popped=false, popped=false, popped=false, ... popped=false, popped=false}
Code:
if touch_x >= 2 and touch_x <= 40 and touch_y >= 23 and touch_y <= 61 then if(bubble[1].popped == false) then Pop:play() imgPd:draw(1,23) bubble[1].popped = true screen:update() end end
__________________
"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. ^.^ |
|
#9
|
||||
|
||||
|
you guys sound like hackers, lol i have no clue what you are saying
|
|
#10
|
||||
|
||||
|
Quote:
but it works a lot better now!
Last edited by Spewk; 03-13-2010 at 01:45 PM. |
|
#11
|
||||
|
||||
|
You just have to cut the wav file ( at the beginning was for a few milliseconds no sound )
Frenzy Pop is with sound now ![]() Here it is with the code and images:
__________________
You're wrong here! My post is above!!! /\ _______________________________l LOOK! MY! APPS!
|
|
#12
|
||||
|
||||
|
Quote:
thank you guys for your support ))ps: correct the func.lua with this one i've made a little mistake
|
|
#13
|
||||
|
||||
|
This is all nice with the better functionality of the app, but have somebody asked the creator for permission? I'm thinking about how it's going with the Gunz app, this is a bit similar with people taking over seemingly without the consent of the creator.
People are free to help me with my Dynablade app, but I've actively sought help with it, which makes it different from this.
__________________
"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. ^.^ |
|
#14
|
|||
|
|||
|
If you don't want help, compile it before you release it plain text.
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! |
|
#15
|
||||
|
||||
|
Compile it? I knew you could bundle the resources together and so, but I didn't know you could compile the entire app somehow.
__________________
"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. ^.^ |
|
#16
|
|||
|
|||
|
Code:
CodeOutput = io.open("CompiledCode.lua","wb");
CodeOutput:write(string.dump(assert(loadfile("MyCode.lua"))))
io.close(CodeOutput);
Here's something more complete: http://lua-users.org/wiki/LuaCompilerInLua
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! Last edited by ThievingSix; 03-13-2010 at 06:45 PM. |
|
#17
|
||||
|
||||
|
Quote:
__________________
"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. ^.^ |
|
#18
|
|||
|
|||
|
Haha, Ok I'll explain it.
First this is a script you run in the simulator or your player. Code:
CodeOutput = io.open("CompiledCode.lua","wb");
Code:
CodeOutput:write(string.dump(assert(loadfile("MyCode.lua"))));
-loadfile("MyCode.lua") >Basically this loads MyCode.lua from plaintext(the kind we type) and compiles it. -assert(...) >This makes sure that the file compiled error free. -string.dump(...) >This dumps the compiled code from our file into byte form so we can output it to file. -CodeOutput:write(...) >This writes the dumped data to the file. Code:
io.close(CodeOutput); Now you have a file that contains compiled code("CompiledCode.lua") from a file that we just wrote and was not compiled("MyCode.lua"). You can now rename "CompildCode.lua" to "Main.lua" and it will run like normal, only no one can edit it. It can be mostly decompiled but its better than not.
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! |
|
#19
|
|||
|
|||
|
Really pupped.
__________________
I'm sorry. I don't speak English... I'm from Poland. |
|
#20
|
||||
|
||||
|
Would it be possible to apply the 'frenzy pop' function to the Zeano app? This way you could slide up and down they keyboard! That's the best bit of playing piano!!
Also, It would be nice if you could hold down the home button to reset the app and restore the bubble wrap to it's original unpopped form...
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:06 PM.













but it works a lot better now!

MY!
APPS!
Linear Mode
