LoveLife

Show off your games, demos and other (playable) creations.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

LoveLife

Post by Robin »

Proudly presenting:
LoveLife
It's not really a game, but in the Lua examples folder, there is an implementation for Conway's Game of Life. Because DOS does not seem to handle ASCII escape codes (which are used in the Lua script) correctly (and because I was too lazy to reboot to Linux...), I decided to make a version which works with Löve. Space pauses and you can toggle cells with the mouse. Anyway, I know it's not perfect, but otherwise I'd love (no pun intended) to hear what you think.

Edit: Added new version
Edit: Added version 1.2
Changes:
  • Added glider gun
  • Improved edge wrapping
  • Added insertion highlighting
Edit: Added version 1.3
Changes:
  • Langer field (use undocumented option F10 to revert to old size)
  • Zooming with = and -
  • Randomize with R
  • Help with H
  • Clear screen with escape
  • High speed key (as long as you hold it, almost nothing will be drawn and the simulation is faster)
  • Scroll wheel scrolls through insertion list
Attachments
lovelife13.love
LoveLife 1.3 -- the newest version
(3.14 KiB) Downloaded 503 times
lovelife12.love
LoveLife 1.2 -- the newer version
(2.8 KiB) Downloaded 194 times
lovelife.love
LoveLife 1.1 -- the new version
(2.19 KiB) Downloaded 203 times
Last edited by Robin on Mon Feb 23, 2009 4:58 pm, edited 3 times in total.
Help us help you: attach a .love.
osuf oboys
Party member
Posts: 215
Joined: Sun Jan 18, 2009 8:03 pm

Re: LoveLife

Post by osuf oboys »

How about a playing element to these simulations. For instance, you could make it so that certain locations should be flipped a certain number of times and the player is only able to randomly alter a 3 by 3 field five times to achieve this, i.e. to be successful at the game, you must be able to create pattern which change and move around a lot and predict the resulting pattern.
If I haven't written anything else, you may assume that my work is released under the LPC License - the LÖVE Community. See http://love2d.org/wiki/index.php?title=LPC_License.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LoveLife

Post by Robin »

osuf oboys wrote:How about a playing element to these simulations.
I could do that. It would actually ruin the whole idea of the Game of Life (which is not actually a "game", by our standards), but it would be fun to make (and to play) nevertheless. Maybe I'll do it tomorrow, because it's past 11PM here (details... :ehem:).
Help us help you: attach a .love.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: LoveLife

Post by qubodup »

I like this.

Mhh.. dots instead of pixels..

Check out http://love2d.org/forum/viewtopic.php?f=5&t=183 for suggestions. For example a drawing mode (draw as long you don't release)

The pause mode is nice, it would be good to have an indicator in game "press space to pause" as long as the player never used pause (because I first downloaded it, tested it, then replied and only then read your first post completely ;) )

PS: fail
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LoveLife

Post by Robin »

Alright, I made some improvements. See original message for .love-file
Help us help you: attach a .love.
User avatar
Skofo
Party member
Posts: 146
Joined: Mon Dec 22, 2008 10:55 pm

Re: LoveLife

Post by Skofo »

Heh, these are always cool.

Sweet job! :ultraglee:
Working on: Viator
Need a 64-bit Debian package for LÖVE? Here it is!
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LoveLife

Post by Robin »

Much more improvements! Yay!
Help us help you: attach a .love.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: LoveLife

Post by qubodup »

Robin wrote:Much more improvements! Yay!
neat!

Suggestions:

1) button for clearing screen
2) button for random-fill the screen
3) use mousewheel for switching the different figures when in non-drawing mode
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LoveLife

Post by Robin »

qubodup wrote:1) button for clearing screen
2) button for random-fill the screen
3) use mousewheel for switching the different figures when in non-drawing mode
Done! Plus more...
Help us help you: attach a .love.
User avatar
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

Re: LoveLife

Post by Voker57 »

heh, this game's name always reminds me of Goodkind's 'Sword Of Truth' and ja-lah game from the book.

cool
Post Reply

Who is online

Users browsing this forum: Hydrogen Maniac and 73 guests