Dingoonity.org

GCW Zero => Releases => Topic started by: pcercuei on May 06, 2014, 11:18:10 pm

Title: All we need is Löve
Post by: pcercuei on May 06, 2014, 11:18:10 pm
Hi guys,

For those who don't know it, L?ve is "an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux": https://love2d.org/ (https://love2d.org/)

It now runs on the GCW Zero. To use it, just launch the .zip of your L?ve game (it has to be a .zip) with the OPK that can be dowloaded in the repo.

Find it on http://www.gcw-zero.com/downloads
Title: Re: All we need is Löve
Post by: Shin-NiL on May 06, 2014, 11:41:36 pm
Good news! Is it using SDL2?
Title: Re: All we need is Löve
Post by: andmatand on May 06, 2014, 11:49:02 pm
HOLY GOATS YESSS I HAVE BEEN WAITING FOR THIS

THANK YOU :D
Title: Re: All we need is Löve
Post by: Greetdeath on May 07, 2014, 01:52:36 am
Sweet, downloading now, so many games to try out.
Title: Re: All we need is Löve
Post by: vonzippenstein on May 07, 2014, 03:46:10 am
You've made me very happy. Thank you.
Title: Re: All we need is Löve
Post by: Nebuleon on May 07, 2014, 04:12:17 am
What's the version of L?ve you ported, and what's the version of Lua which underlies it?

I ask, because I cannot get Mari0 (http://stabyourself.net/mari0/) to run. It instead presents two sky-blue screens:

Code: [Select]
This game was made for a different version of LÖV
It may not be compatible with the running v

Code: [Select]
Error

main.lua:13: attempt to call field 'enumerate'
(a nil value)

Traceback

main.lua:13: in function 'load'
[C]: in function 'xpcall'

The repository has no version information for it.
Title: Re: All we need is Löve
Post by: pcercuei on May 07, 2014, 07:35:43 am
It's the latest version, 0.9.1. Most games were made for older versions, I think, and it looks like that breaking the API isn't a problem for them.
Title: Re: All we need is Löve
Post by: Nebuleon on May 07, 2014, 07:55:55 am
That's a real shame.

I assume that's why Mari0 bundles a L?ve in its installers, and why there's a version field in the list of games using L?ve (http://love2d.org/wiki/Category:Games) on love2d.org. But it can't be possible that all of those games that don't say 0.9.1 exactly don't work... Is it? ???
Title: Re: All we need is Löve
Post by: vonzippenstein on May 07, 2014, 07:48:16 pm
Anyone got a love example of input working on the Zero? Can't seem to get anything to respond on device.
Title: Re: All we need is Löve
Post by: Shin-NiL on May 07, 2014, 10:04:59 pm
Anyone got a love example of input working on the Zero? Can't seem to get anything to respond on device.

It looks like a SDL2 issue, I'm getting similar behavior on compiled code: http://boards.dingoonity.org/gcw-development/sdl2-issues-on-2014-05-05-toolchain/
Title: Re: All we need is Löve
Post by: andmatand on May 07, 2014, 10:53:32 pm
it can't be possible that all of those games that don't say 0.9.1 exactly don't work... Is it? ???

Games made for version 0.9.0 will still work, since 0.9.1 was mostly a bugfix version and didn't break compatibility.

But yeah, since it's not at version 1.0 yet, there are still a lot of compatibility-breaking changes being made to the API with each version (of course I think the plan is that by version 1.0 the API will be stable).

The nice thing about L?VE games is that you have the Lua code though, so if you're that determined you can always modify it to bring it up to 0.9.1 :)
Title: Re: All we need is Löve
Post by: Shin-NiL on May 08, 2014, 02:09:33 am
Anyone got a love example of input working on the Zero? Can't seem to get anything to respond on device.

It looks like a SDL2 issue, I'm getting similar behavior on compiled code: http://boards.dingoonity.org/gcw-development/sdl2-issues-on-2014-05-05-toolchain/

Now I'm almost sure it's a SDL2 issue, even my simple old tutorial code (http://shinnil.blogspot.com.br/2011/11/tutorial-aperitivo-programando-com-love.html) doesn't respond any keyboard event.

If anyone want to try, heres the zip (https://drive.google.com/file/d/0BzIv-LdINDJXTnJoRm9SVzZOajA/edit?usp=sharing). You're supposed to move the white ball with dpad and exit with select.
Title: Re: All we need is Löve
Post by: vonzippenstein on May 08, 2014, 04:06:19 am
Thanks Shin-NiL. Thought I was doing something wrong with the new version.
Title: Re: All we need is Löve
Post by: slapstick on May 08, 2014, 08:11:29 am
Yeah, I'm having the same input issues. I made a little test game (https://www.dropbox.com/s/24ivym2elyaaxs4/gcwtest1.zip?dl=1) (.zip, 4.3 KB), though. When it's working, pressing A should spawn another brick, and hitting B will remove all bricks.
Title: Re: All we need is Löve
Post by: SiENcE on May 08, 2014, 08:33:38 am
@pcercuei: Nice work! I would be great when you can share the ported sources or a patch back to L?VE community. Do you used the experimental iOS port from slime as base?

There is a Subforum for ports: http://love2d.org/forums/viewforum.php?f=12

Maybe some of my old nl?ve games are still working with l?ve 0.9.1? http://crankgaming.blogspot.de/2011/02/nlove-070-final-love2d-for-dingoo.html

Keep on good work!

cheers
Title: Re: All we need is Löve
Post by: pcercuei on May 08, 2014, 08:40:27 am
@pcercuei: Nice work! I would be great when you can share the ported sources or a patch back to L?VE community. Do you used the experimental iOS port from slime as base?
There is no patch. I didn't change a single line of code. This is the latest GIT version from the gles-experiments branch.

For the input issues, this seems to be related to SDL2 indeed, and I think I know the issue. If I have time soon I'll release a new OPK with the fixed SDL2 libs included so that people can test L?ve before we release a bugfix release of the firmware.
Title: Re: All we need is Löve
Post by: SiENcE on May 08, 2014, 12:38:22 pm
@pcercuei: Sounds awesome. You could post it on the l?ve subforum :).
Title: Re: All we need is Löve
Post by: Skyline969 on May 09, 2014, 06:58:35 am
Anyone have any chance of getting Journey to the Center of Hawkthorne (http://www.reddit.com/r/hawkthorne/comments/243w2l/working_version_of_windows/) working for the Zero (Love version available in the comments)?
Title: Re: All we need is Löve
Post by: Lazarus404 on May 09, 2014, 10:33:46 am
Okay guys, don't say I never do anything for you!

About four years ago, I started writing a book for the peeps at Corona Labs.  However, not long after I started writing, I landed a new job and life became too busy to finish it.  It just so happens, though, that of the chapters I completed, two were on using Lua.  I've been told they're very good, so I'd like to share them both (http://www.designrealm.co.uk/Lua.zip) with you guys.

Let me know if they help.  The only reason I write books is to help people; in this case, getting people into games development.

Cheers,
Lee
Title: Re: All we need is Löve
Post by: slapstick on May 14, 2014, 07:01:21 am
Hey everyone! I made a game in L?VE for the GCW Zero!

It takes place shortly after you have crash landed your ship onto an asteroid. Your ship is heavily damaged, but if you collect enough fuel, you just might be able to power its auto-repair systems. Your objective is to collect 10 blue energy quadrangles as quickly as possible. Due to some uncontrollable circumstances, you have lost motor control throughout your entire body. Luckily, your suit has backup AI! Unfortunately, that AI is very stupid. Will you ever return to Earth!?

(http://i.imgur.com/Pzqdo5k.png)

Remember to post your high scores!

Download Now! (https://www.dropbox.com/s/iju2nk1r52n8q37/outerspaced.zip?dl=1) (.zip, 48.85 KB)
Title: Re: All we need is Löve
Post by: pcercuei on May 14, 2014, 09:17:12 am
Unfortunately it will not be playable on the Zero until I fix SDL2, there is a bug there that prevents the applications from receiving key presses...
Title: Re: All we need is Löve
Post by: andmatand on May 14, 2014, 08:48:38 pm
there is a bug there that prevents the applications from receiving key presses...

Due to some uncontrollable circumstances, you have lost motor control throughout your entire body. Luckily, your suit has backup AI!

;D
Title: Re: All we need is Löve
Post by: vonzippenstein on May 28, 2014, 07:28:42 am
How's that fix coming? Been a couple weeks and I'd love to use L?ve for the contest (http://boards.dingoonity.org/gcw-general/how-about-a-contest-to-mess-with-stuff-here/).
Title: Re: All we need is Löve
Post by: pcercuei on May 28, 2014, 08:54:18 am
It's been fixed, so we'll probably release a "developer" version of the firmware before the contest starts.
Title: Re: All we need is Löve
Post by: endercraft4 on August 07, 2014, 02:15:51 am
Unfortunately it will not be playable on the Zero until I fix SDL2, there is a bug there that prevents the applications from receiving key presses...

I wondered why I am unable to use the keys in my love game!
Title: Re: All we need is Löve
Post by: Hacktivista on August 28, 2014, 02:03:02 pm
I registered just to tell you that I've updated mari0 to the last l?ve version. So I guess you can play it on the console.

Here is the source code: https://github.com/Hacktivista/mari0/
Here is the .love: https://github.com/Hacktivista/mari0/blob/master/mari0.love?raw=true

Hope you love it, heh.
Title: Re: All we need is Löve
Post by: zear on August 28, 2014, 04:01:40 pm
I'm getting:
Code: [Select]
Error: main.lua:47: Could not decode image!
stack traceback:
        [C]: in function 'newImage'
        main.lua:47: in function 'load'
        [string "boot.lua"]:407: in function <[string "boot.lua"]:400>
        [C]: in function 'xpcall'
when I attempt to run the game via:
Code: [Select]
# love mari0.love
Is that how you are supposed to launch love games? This is my first time checking it out.

Edit:
Ok, it looks like it fails at loading icon.gif. If I change it to a png file, love2d proceeds further. I guess our SDL_image2 doesn't support gif (On a side note - using gifs for a game is a bad idea!).

Right now I am stuck at this error:
Code: [Select]
shader (4xBR) is fucked up, yo:
        Cannot compile pixel shader code:
0:1(10): error: GLSL 1.20 is not supported. Supported versions are: 1.00 ES

(...)

thread loaded music     castle
thread loaded music     castle-fast
thread loaded music     underwater
thread loaded music     underwater-fast
thread loaded music     starmusic
thread loaded music     starmusic-fast
Segmentation fault

Plus there are resolution issues - our SDL2 supports only 320x240 mode, while the game attempts to run at a higher resolution:

(http://wstaw.org/m/2014/08/28/screenshot146.png)
Title: Re: All we need is Löve
Post by: mth on August 28, 2014, 11:12:21 pm
Ok, it looks like it fails at loading icon.gif. If I change it to a png file, love2d proceeds further. I guess our SDL_image2 doesn't support gif (On a side note - using gifs for a game is a bad idea!).

I checked the rootfs config and build logs and GIF support in SDL2_image is enabled. It also works with the "showimage" example program.

Edit: The "love" executable isn't linked to SDL2_image at all. Instead, it directly links to libjpeg and libpng, but not to any GIF decoding library. And there doesn't seem to be any GIF support in the source tree either, neither built in nor using an external library. So it looks like this version of L?ve doesn't have GIF support at all, no matter how you build it.

Plus there are resolution issues - our SDL2 supports only 320x240 mode, while the game attempts to run at a higher resolution:

This doesn't have to be a problem: if the application creates a fullscreen window while passing 0 as the width and height, it gets the native resolution of the screen (320x240 in our case). Then the following call can be used to draw to it like it's 640x480 or any other resolution you desire:
Code: [Select]
SDL_RenderSetLogicalSize(sdlRenderer, 640, 480);

I don't know how this is mapped through L?ve though: whether it is something that should be changed in the L?ve runtime or in the game.
Title: Re: All we need is Löve
Post by: Hacktivista on August 29, 2014, 03:46:37 am
Well, I don't have the console, I'm running it on linux with no errors. If you can make it work, just attach the files and I will add it to the git :)
Title: Re: All we need is Löve
Post by: hakmanplayer on August 29, 2014, 01:06:56 pm
Hi guys,

For those who don't know it, L?ve is "an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux": https://love2d.org/ (https://love2d.org/)

It now runs on the GCW Zero. To use it, just launch the .zip of your L?ve game (it has to be a .zip) with the OPK that can be dowloaded in the repo.

Find it on http://www.gcw-zero.com/downloads

I do not see the .opk file in the GCW ZERO downloads section  :o
Title: Re: All we need is Löve
Post by: mth on August 29, 2014, 01:50:46 pm
I do not see the .opk file in the GCW ZERO downloads section  :o

It was removed as a separate download because the 2014-08-20 firmware comes with L?ve included.
Title: Re: All we need is Löve
Post by: hakmanplayer on August 29, 2014, 01:59:26 pm
Sorry to be daft  ???...but... so now where may I get the .opk file?

Will love-0.9.1-linux-src.tar.gz suffice?? I am perplexed.




Cheers.
Title: Re: All we need is Löve
Post by: pcercuei on August 29, 2014, 02:47:53 pm
Sorry to be daft  ???...but... so now where may I get the .opk file?

Will love-0.9.1-linux-src.tar.gz suffice?? I am perplexed.
The people working on L?ve games can now create OPKs containing their game; there is no need for a separate OPK anymore.
Title: Re: All we need is Löve
Post by: hakmanplayer on August 29, 2014, 02:54:16 pm
Thank you for the reply pcercuel.

So I am lost on how or where to acquire the proper emulator?? I do want to play these gems so badly.

The original post cited the gcw repo, however, it was of no avail.


Noobie over n out.  ;D


Cheers!!
Title: Re: All we need is Löve
Post by: Aeter on August 29, 2014, 02:58:10 pm
As mentioned above the latest GCW0 firmware already has L?ve, so just update to the latest firmware and it will appear.
Title: Re: All we need is Löve
Post by: mth on August 29, 2014, 02:59:45 pm
Sorry to be daft  ???...but... so now where may I get the .opk file?

There is no OPK file for L?ve anymore; if you have the 2014-08-20 firmware installed, you have L?ve installed.

To test L?ve games, you can create a small shell script that executes "love game.love" or "love game_dir/" and add that shell script as a link in gmenu2x.

For distribution, the game should be packaged inside an OPK together with the metadata and icon.
Title: Re: All we need is Löve
Post by: pcercuei on August 29, 2014, 03:36:00 pm
Well, I don't have the console, I'm running it on linux with no errors. If you can make it work, just attach the files and I will add it to the git :)

So I tested on the Zero. The shaders don't compile (as we're using the GLES branch), but that's not the problem. I get a segfault in libluajit after the "stabyourself" logo appears  :(
Also, only a small bit of the logo is visible in the lower right corner of the screen, the main.lua should be adapted to run in 320x240, I think.
Title: Re: All we need is Löve
Post by: vonzippenstein on August 29, 2014, 08:50:18 pm
Made a Tetris clone. It's something I originally put together a long while back. Over the last week made some improvements for the GCW-Zero like better randomization, an added score board, and the ability to speed up with button hold. If you make a highscore remember to enter in your initials before hitting start to save. Let me know if you find any bugs or have suggestions on how it could be improved or just want to look at the source and tell me that I can't script for spit. Hope you like it and thanks for playing.
http://vonzippenstein.com/gcwzero/love2d/vztetris.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris.zip)
(http://vonzippenstein.com/gcwzero/love2d/vztetris1.png)
Controls: d-pad to move blocks, B A L to rotate, X Y R to speed up, Start to pause and reset at game end. Select to quit.
Title: Re: All we need is Löve
Post by: ker on August 30, 2014, 02:28:17 am
Made a Tetris clone. It's something I originally put together a long while back. Over the last week made some improvements for the GCW-Zero like better randomization, an added score board, and the ability to speed up with button hold. If you make a highscore remember to enter in your initials before hitting start to save. Let me know if you find any bugs or have suggestions on how it could be improved or just want to look at the source and tell me that I can't script for spit. Hope you like it and thanks for playing.
http://vonzippenstein.com/gcwzero/love2d/vztetris.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris.zip)
(http://vonzippenstein.com/gcwzero/love2d/vztetris1.png)
Controls: d-pad to move blocks, B A L to rotate, X Y R to speed up, Start to pause and reset at game end. Select to quit.

It works pretty well. I don't appreciate anything when pressing X,Y or R.

I've uploaded an OPK version of the game to http://www.mediafire.com/download/aoe3rf782evau9w/vztetris.opk (http://www.mediafire.com/download/aoe3rf782evau9w/vztetris.opk)

Thank you for your contribution ;-)
Title: Re: All we need is Löve
Post by: vonzippenstein on August 30, 2014, 05:15:31 am
Thanks! I was wondering about how to construct a Love based game OPK. Haven't tried it and this is a perfect reference.

About the speed buttons. When you press and hold left, right, or down there's a wait timer between repeating that key. When you press and hold one of the speed buttons it significantly reduces that timer making piece control faster. If you can get up to level 20 the speed buttons become necessary since the pieces can make it to the bottom of the board before you could even get them to the left or right wall. Also reduces the wait time while holding down to quickly breeze through the first few levels.

Used to have the L button as speed but changed it to rotate so the game can be played one handed.
Title: Re: All we need is Löve
Post by: Gab1975 on August 30, 2014, 08:03:49 am
A short embedded manual should be useful... like the one attached... :)
I created also a test opk: https://www.sendspace.com/file/oc7ox4
Title: Re: All we need is Löve
Post by: hakmanplayer on August 30, 2014, 02:08:19 pm




Thanks for your efforts thus far.


Cheers.
Title: Re: All we need is Löve
Post by: Shin-NiL on September 01, 2014, 12:31:21 pm
Made a Tetris clone. It's something I originally put together a long while back. Over the last week made some improvements for the GCW-Zero like better randomization, an added score board, and the ability to speed up with button hold. If you make a highscore remember to enter in your initials before hitting start to save. Let me know if you find any bugs or have suggestions on how it could be improved or just want to look at the source and tell me that I can't script for spit. Hope you like it and thanks for playing.
http://vonzippenstein.com/gcwzero/love2d/vztetris.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris.zip)
(http://vonzippenstein.com/gcwzero/love2d/vztetris1.png)
Controls: d-pad to move blocks, B A L to rotate, X Y R to speed up, Start to pause and reset at game end. Select to quit.
Cool, looks great ;)
Title: Re: All we need is Löve
Post by: thefifthgiant on September 10, 2014, 05:55:48 pm
Made a Tetris clone. It's something I originally put together a long while back. Over the last week made some improvements for the GCW-Zero like better randomization, an added score board, and the ability to speed up with button hold. If you make a highscore remember to enter in your initials before hitting start to save. Let me know if you find any bugs or have suggestions on how it could be improved or just want to look at the source and tell me that I can't script for spit. Hope you like it and thanks for playing.
http://vonzippenstein.com/gcwzero/love2d/vztetris.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris.zip)
(http://vonzippenstein.com/gcwzero/love2d/vztetris1.png)
Controls: d-pad to move blocks, B A L to rotate, X Y R to speed up, Start to pause and reset at game end. Select to quit.


Excellent, glad to have a version of this awesome game on the zero. I'd like to put in a request to be able to rotate the pieces in both directions with different buttons. Perhaps A would rotate to the right, and B to the left? It would make it a lot easier to keep up once the pieces start falling faster!   ;D
Title: Re: All we need is Löve
Post by: vonzippenstein on September 11, 2014, 02:42:21 am
I'd like to put in a request to be able to rotate the pieces in both directions with different buttons. Perhaps A would rotate to the right, and B to the left? It would make it a lot easier to keep up once the pieces start falling faster!   ;D
Added. (http://vonzippenstein.com/gcwzero/love2d/icon.png) http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip)

But for some reason I can't make this OPK. If I extract the existing posted OPK with 7zip, change nothing, and repackage it using mksquashfs it won't show up on gmenu2x. Anyone able to package Love2D games into OPKs using Windows and and feel like writing a brief tutorial? If anyone feels like packaging Tetris I made an icon right before the download link.
Title: Re: All we need is Löve
Post by: zear on September 11, 2014, 11:15:24 am
Added. (http://vonzippenstein.com/gcwzero/love2d/icon.png) http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip)

But for some reason I can't make this OPK. If I extract the existing posted OPK with 7zip, change nothing, and repackage it using mksquashfs it won't show up on gmenu2x. Anyone able to package Love2D games into OPKs using Windows and and feel like writing a brief tutorial? If anyone feels like packaging Tetris I made an icon right before the download link.
Make sure you pack it using
Quote
mksquashfs ./dir/ out.opk -all-root -noappend -no-exports -no-xattrs
and that the executables (if any) have +x chmod set.
Title: Re: All we need is Löve
Post by: thefifthgiant on September 14, 2014, 04:11:17 pm
Added. (http://vonzippenstein.com/gcwzero/love2d/icon.png) http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris100914.zip)

But for some reason I can't make this OPK. If I extract the existing posted OPK with 7zip, change nothing, and repackage it using mksquashfs it won't show up on gmenu2x. Anyone able to package Love2D games into OPKs using Windows and and feel like writing a brief tutorial? If anyone feels like packaging Tetris I made an icon right before the download link.

Thanks for listening to my feedback! Now all I need is to switch the A and B buttons around, my brain gets confused that the left button rotates right and vice versa.  :P

I was able to make an OPK with the Open Package Creator utility. Find it here: https://www.sendspace.com/file/hfajcs (https://www.sendspace.com/file/hfajcs)

I added the new icon you made, and edited the manual that Gab1975 made to reflect the control changes. Creating the OPK was no problem, I had to change the file extension from .zip to .love, and then in the OPK Creator, I had to make sure the executable was listed as 'love vztetris100914.love'. I'm not sure why, but when I linked the file, the field said 'vztetris100914.love' and it didn't work, so I had to add in the 'love' in front
Title: Re: All we need is Löve
Post by: Gab1975 on September 14, 2014, 04:30:21 pm
@vonzippenstein: I think that it should be better open a specific topic for your game (VZ-Tetris) ! ;)
Title: Re: All we need is Löve
Post by: vonzippenstein on September 15, 2014, 03:27:48 am
had to make sure the executable was listed as 'love vztetris100914.love'
How did you do that? Open Package Creator gives me an error and won't output the opk if I add love before the love file. If I leave the field with just the love file it makes the OPK but it won't run on the GCW-Zero since it's not actually running love. And if I unpack it, change the .desktop file, then repackage it then it won't appear on gmenu2x.
(http://vonzippenstein.com/gcwzero/love2d/packagelove.png)
Gonna try repackaging in Ubuntu with VM just to make sure Windows isn't clipping the +x chmod.
Here's the game with the A B functions swapped as requested. vztetris140914.zip (http://vonzippenstein.com/gcwzero/love2d/vztetris140914.zip)

@Gab1975, soon as I get past the basics. This game is mainly a learning experience for Love2D and GCW-Zero.
Title: Re: All we need is Löve
Post by: Gab1975 on September 15, 2014, 07:10:35 am
How did you do that? Open Package Creator gives me an error and won't output the opk if I add love before the love file. If I leave the field with just the love file it makes the OPK but it won't run on the GCW-Zero since it's not actually running love. And if I unpack it, change the .desktop file, then repackage it then it won't appear on gmenu2x.

The OPC gives an error message, but it's not a "real problem"... it's enough click "OK" and the opk is made in the right way... hereunder the error message snapshot:

(http://se.uploads.im/t/R4Yvs.jpg)

(I use OPC 1.1.1 and Win7 64 bit)

PS: I made an opk with your latest vztetris file: https://www.sendspace.com/file/7cnfj3
Title: Re: All we need is Löve
Post by: vonzippenstein on September 15, 2014, 08:28:06 am
use OPC 1.1.1
Thanks. I was using an older version of Open Package Creator (http://www.harteex.com/?page=openpackagecreator) and am now able to build the opk with "love filename.love"

First I tried it out and it still wouldn't load correctly. It would load Love but not the game. I added the run.sh and run.sh~ files even though I'm not entirely sure what they do and repacked it and it still wouldn't run. Then I came back here and wrote a long frustrated and sarcastic post but before I submitted it I double checked with a changed the filename on the device and presto it worked! Changed it back to what I originally wanted then restarted and it also worked. First working love opk: vztetris150914.opk (http://vonzippenstein.com/gcwzero/love2d/vztetris150914.opk)
Title: Re: All we need is Löve
Post by: thefifthgiant on September 17, 2014, 03:56:25 am
Quote
First working love opk: vztetris150914.opk (http://vonzippenstein.com/gcwzero/love2d/vztetris150914.opk)

Hey that's great! Sorry I didn't get back to you on the opk issue, I hadn't checked back here in a few days. But I'm glad you got it figured out. Honestly I don't know what I am doing, I just messed around with it until it worked!  ;)
Title: Re: All we need is Löve
Post by: congusbongus on February 26, 2015, 08:00:59 am
vzTetris is nice; why not put it in the release index?
Title: Re: All we need is Löve
Post by: LauweLoempia on September 24, 2019, 10:03:02 pm
I have been playing Love2D games on my gameshell using Pico8. I imagined playing them on the GCW Zero would be similair... However I could not find Pico8 compiled for the GCW Zero. Does this mean I have to package each game into a OPK file in order to install and play them on a GCW zero?
Title: Re: All we need is Löve
Post by: gigabyte on November 29, 2020, 05:34:37 am
This might be a bump, or no one might reply, but I saw a few posts about making LOVE2D OPK games, and I had to ask, how would you deal with the buttons? I'm assuming some of the OPK games mentioned here initially used keyboard controls, and I looked throw the Love2D Tetris source, and it only had keyboard controls, so how was it worked out to be used on a handheld device with different controls?