Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
com.giderosmobile.android.player.LuaException: main.lua:562: module 'csv'not found:
no field package.preload['csv']
no file './csv.lua'
no file './csv/init.lua'
no file './_LuaPlugins_/csv.lua'
no file './_LuaPlugins_/csv/init.lua'
no file '/usr/local/share/lua/5.1/csv.lua'
no file '/usr/local/share/lua/5.1/csv/init.lua'
no file '/usr/local/lib/lua/5.1/csv.lua'
no file '/usr/local/lib/lua/5.1/csv/init.lua'
no file './csv.so'
no file '/usr/local/lib/lua/5.1/csv.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
main.lua:562: infunction'loadLanguage'
main.lua:622: in main chunk
(luac): in main chunk
at LUA.loadLanguage(main.lua:562)
at LUA.MAIN_CHUNK(main.lua:622)
at LUA.MAIN_CHUNK(luac:1234)
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Just uploaded a fix, I forgot to exclude that file from execution! ...
The new version is 1.22
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
it feels nice, @SinisterSoft, some small comments: -on my 5.5inch screen i feel that the bricks are a bit too small and too many. -instead of centering, the play area could be on the top so that i can move my fingers below it as on a touchpad. in the current setup i repeatedly accidentally cover the moving brick with my fingers which makes me miss the ball.
I was going for the brick size to be the same as Atari's Breakout game, it's 3 more columns than Arkanoid had. On a 6" or tablet they look just about right, but I'll see what my kids say and if they think they are too small I'll redo them.
I'll make the pad at the bottom an option I think, I'll look into it.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Auto (depends on aspect ratio, border size at bottom) On (may shrink the play area if no border at bottom) Off (in case the are using a joypad or keyboard)
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
it feels nice, @SinisterSoft, -on my 5.5inch screen i feel that the bricks are a bit too small and too many.
I'd also make all objects bigger in game (ball, pad and everything) but that's my personal taste, I don't know what majority of users like
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I've made the it so there are less bricks across the screen, so it scales bigger for everything. It's version 1.24
I can't make them much bigger than that or there won't be any level variety.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Can't find a crash on either the normal google play console or crashlytics...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Nice little game. I like it a lot. Its smooth and classic. The colors are nice and the animations are smooth and keep you engaged. @SinisterSoft maybe between stages you could give some time to the player to let them know that a stage change is comming so they can get ready. Thats all. Looking fwd for the next release.
@dreiko65 I want the game to be none-stop, but I know what you mean. I may put something at the top of the screen, like a bonus for how many gold bars they got (if any on screen), etc... (the level can end with gold bricks still on there - the ones that clang and you have to hit them twice)
@keszegh Can you try it again, it may have been some kind of glitch?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
@Apollo14 Is the new size better for you? (I made the brick bigger and less of them)..
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@Apollo14 Is the new size better for you? (I made the brick bigger and less of them)..
Now I think it's perfect! (personally, if I made pong game, I'd check all top tier pong games, there will be many stuff to learn and adopt from them; I don't know what size is best for most of the audience, but they certainly do)
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
It's just a quick game to get closer to hyper casual from my normal type of game.
I'm going to add some information overlay type icon to add to those that drop so say what they mean next and add more levels - then release it from Beta to production.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Uploading v1.27, there are a couple more levels and now when you collect a falling item then an icon is shown to let you know what you collected.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
it did not crash this time, yet at level change I've died immediately as the one ball which i tried to catch out of three disappeared while the surviving ball was far and close to the bottom already. that's a bit cruel.
That's odd, I thought I coded it so the highest ball survives. I'll check it out.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I think I see what you mean - they were both close to the bottom. I'll rework it so if the are in the bottom half then it's the one closest to the player that survives.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft I've just checked latest Pong DX version after finishing level1, app crashed:
************************************************
Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V10.1.1.0.NCFMIFI:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 4319, tid: 4405, name: GLThread 1779>>> com.sinistersoft.pingpongdx <<<
signal 11(SIGSEGV), code 1(SEGV_MAPERR), fault addr 0x4
r0 00000000 r1 00000000 r2 00001518 r3 ae37a308
r4 0000001a r5 00000000 r6 00000000 r7 bea4ef58
r8 aaaaaaab r9 ae37a308 sl 0000001a fp aefaecb4
ip bf2c010c sp bea4ef30 lr bf09ba6d pc bf09bcd0 cpsr 400d0030
backtrace:
#00 pc 0009ccd0 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so (_ZN19gevent_CallbackList13dispatchEventEiPv+557)
#01 pc 0009ca6b /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so (_ZN6gevent12EventManager4tickEv+146)
#02 pc 0019669b /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so
#03 pc 000115c0 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/liblua.so
#04 pc 00009eec /data/app/com.sinistersoft.pingpongdx-2/lib/arm/liblua.so
#05 pc 00010d20 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/liblua.so
#06 pc 0000a2c0 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/liblua.so
#07 pc 0000a234 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/liblua.so (lua_pcall+312)
#08 pc 0014d4b1 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so (lua_pcall_traceback+132)
#09 pc 001958a7 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so (_ZN14LuaApplication10enterFrameEP7GStatus+142)
#10 pc 000979a1 /data/app/com.sinistersoft.pingpongdx-2/lib/arm/libgideros.so (_ZN18ApplicationManager9drawFrameEv+144)
#11 pc 009b59fd /data/app/com.sinistersoft.pingpongdx-2/oat/arm/base.odex (offset 0x99d000)</pre>
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I'm not sure why this happened, crashlytics didn't report anything - all that's there are 3 crashes that are now fixed (from a few days ago). Maybe @hgy29 knows what that report means?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I can vaguely tell you that the crash was caused by a corrupt event structure which gideros tried to process. Hard to say which part of gideros produced that event though. My guess is that it is a threading issue somehow, gideros was probably trying to process an already released structure or some kind of memory corruption occured
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
hello there gideros people, I am restarting from scratch learning gideros and lua. I did the basic tutorials and now I am at the stage of "making" a brick game and I have a question please. I build the level in 2 parts like so: A
level ={}for l =1, 6do
level[l]={}for c =1, 15do
level[l][c]=1endend
B
local bx, by =0, 0for l =1, 6do
bx =0for c =1, 15doif level[l][c]==1thenlocal r = Pixel.new(0x00ff00, 0.75, brickwidth, brickheight)
r:setAnchorPoint(0.5, 0.5)
r:setPosition(bx, by)
stage:addChild(r)end
bx = bx + brickwidth
end
by = by + brickheight
end
Then in the game loop (ENTERFRAME) I check the collision like so:
-- BRICK COLLISIONlocal c =math.floor(myball:getX()/ brickwidth) + 1local l =math.floor(myball:getY()/ brickheight) + 1if c >=1and c <=15and l >=1and l <= #level thenif level[l][c]==1then
ballspeedy = - ballspeedy
level[l][c]=0
deleteBrick(l, c)end
end</pre>
My question is how do I remove the brick from the stage? I would like to remove the brick which is at level[l][c] directly. Is it possible to do something like table.removeChildAt(level[l][c])?
I don't want to use external code yet, I want to use only gideros classes for now.
Comments
Likes: SinisterSoft
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
The new version is 1.22
https://deluxepixel.com
some small comments:
-on my 5.5inch screen i feel that the bricks are a bit too small and too many.
-instead of centering, the play area could be on the top so that i can move my fingers below it as on a touchpad. in the current setup i repeatedly accidentally cover the moving brick with my fingers which makes me miss the ball.
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I was going for the brick size to be the same as Atari's Breakout game, it's 3 more columns than Arkanoid had. On a 6" or tablet they look just about right, but I'll see what my kids say and if they think they are too small I'll redo them.
I'll make the pad at the bottom an option I think, I'll look into it.
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Auto (depends on aspect ratio, border size at bottom)
On (may shrink the play area if no border at bottom)
Off (in case the are using a joypad or keyboard)
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
but that's my personal taste, I don't know what majority of users like
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Likes: Apollo14
https://deluxepixel.com
I can't make them much bigger than that or there won't be any level variety.
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
https://deluxepixel.com
@SinisterSoft maybe between stages you could give some time to the player to let them know that a stage change is comming so they can get ready.
Thats all. Looking fwd for the next release.
Likes: SinisterSoft
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
@keszegh Can you try it again, it may have been some kind of glitch?
https://deluxepixel.com
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://deluxepixel.com
(personally, if I made pong game, I'd check all top tier pong games, there will be many stuff to learn and adopt from them; I don't know what size is best for most of the audience, but they certainly do)
Likes: SinisterSoft
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
It's just a quick game to get closer to hyper casual from my normal type of game.
I'm going to add some information overlay type icon to add to those that drop so say what they mean next and add more levels - then release it from Beta to production.
Likes: Apollo14
Dislikes: plicatibu
https://deluxepixel.com
https://deluxepixel.com
yet at level change I've died immediately as the one ball which i tried to catch out of three disappeared while the surviving ball was far and close to the bottom already. that's a bit cruel.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
https://deluxepixel.com
http://www.gamasutra.com/view/pressreleases/334199/Ping_Pong_DX_launches_for_Android_and_Facebook_Instants.php
Likes: keszegh
https://deluxepixel.com
after finishing level1, app crashed:
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://deluxepixel.com
https://deluxepixel.com
I build the level in 2 parts like so:
A
Then in the game loop (ENTERFRAME) I check the collision like so:
I would like to remove the brick which is at level[l][c] directly. Is it possible to do something like table.removeChildAt(level[l][c])?
I don't want to use external code yet, I want to use only gideros classes for now.
Thank you for your help.