Search found 111 matches

by ghoulsblade
Thu Mar 22, 2012 9:04 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

added josefnpat tutorials, they basically work after i added conf.lua loading to get a global var init. Rectangle and text are missing still, but meh, you can shoot XD http://ghoulsblade.schattenkind.net/love-webplayer/josefnpat-1942gb_v1.0/8%20-%20info/ http://ghoulsblade.schattenkind.net/love-webp...
by ghoulsblade
Thu Mar 22, 2012 7:29 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

keyboard+joystick support from technocat merged, preload for images added, and annoying alert box removed. example for preload list in index.html : <body onload="MainOnLoad(['body.png','cloud_plain.png','ear.png','face.png','love.png'])"> a warning including preload-list instructions will ...
by ghoulsblade
Thu Mar 22, 2012 11:06 am
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

i'd prefer a pure javascript box2d without adding flash as dependency if it isn't needed. This way it might even work on some newer smartphones that might not have flash (iphone? but i don't know much here) I think there is one implementation for js but it's low prio for me. Let's aim for the 0.7.2 ...
by ghoulsblade
Wed Mar 21, 2012 2:37 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

loading doesn't seem to continue during the freeze, at least the javascript image objects .isloaded (or so) var isn't updated it seems =(
maybe because js is singlethreaded
i still have to test more, but first few experiments looked bad.
by ghoulsblade
Wed Mar 21, 2012 11:40 am
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

one solution might be to require a pre-load list in index.html where all graphics files are declared, then i can wait with running love.load()(and main.lua) until they are all loaded via calllback. might be needed as even the alert box doesn't seem to fix the problem in chrome.. the core problem is ...
by ghoulsblade
Wed Mar 21, 2012 7:56 am
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

regression "fixed" by workaround, you might get an alert at first complete load since javascript doesn't seem to support non-browser-freezing sleep() =( background : image loading is asynchronous with callback on complete. Assume there is lua code that calls image:getHeight() or getWidth()...
by ghoulsblade
Tue Mar 20, 2012 10:36 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

new vid : in your face city trains starting to work =) (press "MainButton" at bottom of screen since we have no keyboard input yet, jumping doesn't work yet due to missing love.keyboard.isDown) require and love.filesystem.dofile work now, also love.graphics.newQuad and .drawq text still mi...
by ghoulsblade
Tue Mar 20, 2012 8:02 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

This could possibly kill the Love Android project then. If ishkabible is right about the performance, then I see no perks of Love Android over this but! but! but the awesome thing about android/smartphones are multitouch and sensors (tilt/gravity, compass,...) ;) love-android-native is closely base...
by ghoulsblade
Tue Mar 20, 2012 6:17 pm
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

Google NaCl would be probably the best solution, however its basically secluded to chrome browsers. Which narrows the distributing audience. meh, having it work just for chrome users isn't interesting for me ;) Also, you can make HTML5 apps for both Android, BlackBerry, ChromeOS, and iOS. PhoneGap,...
by ghoulsblade
Tue Mar 20, 2012 8:51 am
Forum: Ports
Topic: Love2D WebPlayer (WebGL)
Replies: 203
Views: 186299

Re: Love2D WebPlayer

[*]Run Lua in the Java VM. (Kahlua implementation) -/+They did this with Android for love at first, it ran decently. Performance may be an issue at first glance, but you have to realize running Java on a desktop/laptop is going to be much faster. i'm the one who made the love-android java part, i'm...