|
Post by johnno56 on Jul 7, 2019 5:19:07 GMT -6
Yep. Had a few nano-seconds to spare so I dusted off an old sdlbasic breakout. The original coding was done by 'Killjoyheathen" back in December of 2012. Modification and my sloppy coding is responsible the "birds nest" appearance of the final result... lol All the graphics were replaced by yours truly... The nausea is my fault... lol I like the way the onscreen text is produced from a graphical font. I have also included a sample... The number of levels are limited. The rows of bricks are determined by the level number. Four levels. J breakout.zip (915.79 KB)
|
|
|
Post by n00b on Jul 7, 2019 13:43:12 GMT -6
Hey Johnno I tried out the game and it is pretty awesome. I was able to get to the 3rd level but that is where my luck ended. This did give me the idea to try out the new android builder with your game so I changed the keyboard controls to touch controls and ported it. Here is the link if you want to try it: Johnno Breakout
|
|
|
Post by johnno56 on Jul 7, 2019 14:09:09 GMT -6
As soon as I can find out where my wife placed my Tablet, I'll give it a try... 6:08am, still asleep... lol
|
|
|
Post by johnno56 on Jul 7, 2019 15:04:49 GMT -6
I tried it out and ran quite well... However, I did find a glaring difference... When the game started, whilst positioning the Tablet for "landscape", sneaky little ball managed to exit the screen before I was ready... I think perhaps the next version, assuming there 'is' one, might be better of with a simple menu? lol
Thanks for the conversion. Do you have simple instructions on how to build 'apk' files?
J
|
|
|
Post by n00b on Jul 7, 2019 15:40:04 GMT -6
You will need a 64-bit OS to build it. Go to the download section and download the android builder. On linux you will need to install OpenJDK8 and Ant. After that you can run the gen_key program to make a keystore and the build_android program to build the APK.
Side Note: I actually wrote both of those tools in RCBasic. You can see the source code for each in the script folder.
Let me know if you have trouble with it. I can probably make a video on it later tonight.
|
|
|
Post by tbird on Jul 7, 2019 16:10:59 GMT -6
I will give this a play when the jam is done.
|
|
|
Post by johnno56 on Jul 7, 2019 17:27:59 GMT -6
OpenJDK8 and Ant are already installed... My system is indeed 64 bit. Slight, well not really slight, setback in regards to my Tablet. I have not had if for long and am still learning the "ins and outs"... Inadvertently deleted the "My Files" folder and could not recover it. My only option was to do a "Hard Reset". You would think that an OS would prompt you with an, "Are you sure?", before the removal of such an important folder....
As you will probably guess, a hard reset, formats and re-installs the Android OS... I had a lot of photos in that folder... *sigh*
I'm going for coffee... Too angry to touch the Tablet... Grrr...
|
|
|
Post by tbird on Jul 7, 2019 17:36:04 GMT -6
One word for you johnno56 "cloud", back all that stuff up never lose it again!
|
|
|
Post by johnno56 on Jul 7, 2019 18:57:01 GMT -6
Ouch... I know that 'now'... Oh my aching back.... (I have 2 external hard drives - it's not that I don't trust cloud accounts - No. I don't trust cloud accounts... lol I must get into the habit of backing up...)
|
|
|
Post by tbird on Jul 7, 2019 22:16:55 GMT -6
I understand the trust part but its automatic and you never have to remember to do it.
|
|
|
Post by johnno56 on Jul 8, 2019 16:00:51 GMT -6
I've thrown together a crude menu. The primary purpose was to use it, when the game starts, so that I would have time to align my Tablet. I would always lose a life whilst I'm rotating the beast... lol
Just paste this section immediately before the while...wend loop.
quit = 0 play = 0
do ClearCanvas DrawImage(background1,0,0) ImageText(14, 350, 150, "MENU", 32, 32) ImageText(14, 260, 250, "1. PLAY", 32, 32) ImageText(14, 260, 300, "2. EXIT", 32, 32) if key(k_1) = 1 then play = 1 ClearCanvas DrawImage(background2,0,0) ImageText(14, 280, 200, "BUCKLE UP!", 32, 32) update() wait(3000) exit do elseif key(k_2) = 1 then quit = 1 clearcanvas DrawImage(background3,0,0) ImageText(14, 350, 200, "BYE!", 32, 32) update() wait(2000) exit do end if update() loop until quit = 1 or play = 1
if quit = 1 then end end if I know you guys can make a better menu than this... If you do, post it, share it with the rest of us. Just think, If this games screams up to number 1, you can enjoy the bragging rights!!!! LOL But seriously, the menu is crud and is in desperate need of an upgrade... *sigh*
|
|
|
Post by tbird on Jul 8, 2019 18:40:39 GMT -6
Was fun, I had to speed the ball up a bit, little slow for me. Nicely done.
|
|
|
Post by johnno56 on Jul 8, 2019 19:57:46 GMT -6
I found the speed ideal... game me a better chance of not losing... lol
|
|
|
Post by tbird on Jul 8, 2019 20:37:48 GMT -6
Well to be fair, it felt too slow until, it has its random speed up, and that caught me off guard a couple times.
|
|
|
Post by kennn on Nov 6, 2019 21:45:04 GMT -6
I downloaded this game a few minutes ago. The game has potential. Nice!
|
|