internet game with love ?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
yogib33r
Prole
Posts: 23
Joined: Thu Oct 17, 2013 6:30 pm
Location: dijon
Contact:

Re: internet game with love ?

Post by yogib33r »

yo ! okish going to make lua and then make later, after sprites, tiles and collissions
some test on a mysql base. but il woould like to ask you if all lua code and library
are in the löve package ? especially for network

thanx a lot

stéphane
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: internet game with love ?

Post by jjmafiae »

lua 5.1 are bundled with love the same with luasocket, i recommend you use notepad++ if you are on windows
User avatar
yogib33r
Prole
Posts: 23
Joined: Thu Oct 17, 2013 6:30 pm
Location: dijon
Contact:

Re: internet game with love ?

Post by yogib33r »

thanx a lot :) i go to test this soon

yes notepad ++ for win and geany on opensuse

thanx yet
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: internet game with love ?

Post by jjmafiae »

i also recommend checking out some libraries like LUBE
User avatar
yogib33r
Prole
Posts: 23
Joined: Thu Oct 17, 2013 6:30 pm
Location: dijon
Contact:

Re: internet game with love ?

Post by yogib33r »

ok thanx i go to see !
User avatar
yogib33r
Prole
Posts: 23
Joined: Thu Oct 17, 2013 6:30 pm
Location: dijon
Contact:

Re: internet game with love ?

Post by yogib33r »

re all

my project is going to begin in some months , time now to draw and animate a personnal animation movie

but as i gave a sight at LUBE, my question would be : which is this powerfull lib for video under love
and where can i find it ? i would like to read, as put on a private server, such as a mp4 or a divx
in such as a frame in my project, the vidéo. if possible

thanx for reply so much ^^

regards



edit: yes i found in another section the lovevidéo library :) seems to answer to what i would like to do

gogo in some months gogo

regards
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: internet game with love ?

Post by Germanunkol »

So you want the video to be online and the game to stream it?

That's a very difficult task!
If you're animating the characters anyways, why don't you just use the normal images and code the animation? Then the clients would already have the images and they wouldn't need to be transmitted. The server would only send the positions and animation frames which would then be displayed. That would reduce traffic by a whole lot and would be much easier. Also, you wouldn't need any video libraries.
So just animate the "movies" in Lua/Love2D directly and then let the server control which animation frames are played.
Unless of course you're rendering 3D models - that wouldn't be easy in Love.

Or do you want to play local videos?
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
User avatar
yogib33r
Prole
Posts: 23
Joined: Thu Oct 17, 2013 6:30 pm
Location: dijon
Contact:

Re: internet game with love ?

Post by yogib33r »

hello dear germanunkol !

okok time now to explain more my project :)

in a point the main characters will be presented as parts , that the gamer will have to combine
to make its own character, as in lua i did before, presenting pngs of parts and assembling them
as main characters in animation to be used after. of course all combinaisions will be on the
main package , the client version of the game. and i am an animator and author of animated
movies sinces 13 years so i know how to animate the characters

the point abouot video, because its like a virtuality i would like to do, is to propose as sound
as video and sound conference by mp3 for example or mp4 videos presents on my dedicated
server, giving the player something as 60mo of private space to present his knowledge and
more

that's why i would like my client software to read and show videos present on the dedicated server
somewhere in the internet, in mp4 or ogg, as diffused during the play

but perhaps it isn't possible ?

thanx alot

regards
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: internet game with love ?

Post by T-Bone »

I don't think LÖVE is the tool you need. Video support is extremely limited, because LÖVE isn't built to support it. The only video library for LÖVE I've seen uses MJPEG files (they are enourmous) and rendering the video uses a lot of CPU power, and you still get pretty poor framerates if the resolution is somewhat high.
User avatar
BozoDel
Party member
Posts: 164
Joined: Fri Nov 01, 2013 10:28 pm

Re: internet game with love ?

Post by BozoDel »

Just one little thing, yogib33r. You said you're learning Lua 5.2, right? LÖVE 0.8.0 uses Lua 5.1, and LÖVE 0.9.0 will use LuaJIT, which is pretty much Lua 5.1 with some stuff from 5.2. There should be no big problems for you, just expect minor differences.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests