Search found 59 matches

by chezrom
Mon Aug 05, 2013 8:41 am
Forum: Support and Development
Topic: Problem with mousepressed function
Replies: 3
Views: 2183

Re: Problem with mousepressed function

I think you must put parenthesis around your or clause. if button == "l" and x > 485 and x < 537 and y > 80 and y < 130 and (valid == "vestfirdir" or valid == "dalabyggd" or valid == "strandir") then because without parenthesis, your code is equivalent to this...
by chezrom
Fri Jul 19, 2013 5:41 pm
Forum: Games and Creations
Topic: My first LÖVE project - Gravity Snakes
Replies: 5
Views: 2611

Re: My first LÖVE project - Gravity Snakes

Yeah very cool idea ! an interesting gameplay.
by chezrom
Thu Jul 18, 2013 10:25 pm
Forum: Libraries and Tools
Topic: a Worldmap generator - new version with Biome generation
Replies: 6
Views: 4500

Re: a Worldmap generator - new version with Biome generation

This is very cool chezrom. :P Yeah thank you ! And to be more cool, I post a new version with Climate & Biome generation, and multiple views (TAB to swith between them). The love file is in the first post. At the bottom of the screen, I display information about the cell pointed by the mouse : ...
by chezrom
Tue Jul 16, 2013 9:25 pm
Forum: Games and Creations
Topic: UFO - A space shooter [with music]
Replies: 9
Views: 7967

Re: UFO - A space shooter

Very nice game. But too hard at begining. The problem is, I think, you have play it during all the development so you don't notice that the game starts very hard and don't let the player enter in. The difficulty must be more progressive, else you can have the "too hard, I skip" syndrome fr...
by chezrom
Tue Jul 16, 2013 8:18 am
Forum: Libraries and Tools
Topic: a Worldmap generator - new version with Biome generation
Replies: 6
Views: 4500

Re: a Worldmap generator

Eamonn wrote:Looks pretty awesome! I like it! :)
Thank you.
by chezrom
Mon Jul 15, 2013 11:20 pm
Forum: Libraries and Tools
Topic: a Worldmap generator - new version with Biome generation
Replies: 6
Views: 4500

a Worldmap generator - new version with Biome generation

NEW VERSION with : rain & temperature computation display inform about the pointed cell (temperature, biome, altitude ...) biome generation (Tundra, Rain Forest, ...) 3 view : altitude, altitude with rain level & biome view. Switch between view with TAB key [/b] The new views : worldgen_rai...
by chezrom
Sun Jul 14, 2013 7:29 pm
Forum: Support and Development
Topic: [solved] Multi-ball Pong AI, Finding/Following optimal ball
Replies: 7
Views: 4724

Re: Multi-ball Pong AI, Finding and Following the optimal ba

I don't understand why you do all this actions (copy, sort, multiple scan of two tables) to get the target ball. You have multiple ball records than have the flag on ... You can do it asier by scanning the list of balls and keeping the min step value and current target ball. If the current ball has ...
by chezrom
Sun Jul 14, 2013 1:33 pm
Forum: Support and Development
Topic: [solved] Multi-ball Pong AI, Finding/Following optimal ball
Replies: 7
Views: 4724

Re: Multi-ball Pong AI, Finding and Following the optimal ba

Your problem with bot's paddle movement is due to this code : if ballList[i].x - x >= -5 then paddleList[2]:update(-4.5) else paddleList[2]:update(ballList[i].x - x) end The comparaison must be inverted because -1 is greater than -5. As an advice, don't use hard coded value as 5 or 4.5, use a variab...
by chezrom
Fri Jul 12, 2013 9:18 pm
Forum: Libraries and Tools
Topic: My 4KB Hypnotic Thing, wanna share yours ?
Replies: 41
Views: 19053

Re: My 4KB Hypnotic Thing, wanna share yours ?

I love your drawings ! Here's the mine, using pixel effect and derived from the "metaball" demo but with voronoi diagram, a thing that always amaze me. Keys : a point follow the mouse Mouse Left to change colors Mouse right to change movement of other points ESC to quit any other key to to...
by chezrom
Mon Jul 08, 2013 3:22 pm
Forum: Support and Development
Topic: [Solved] Spaceship movement (rotational)
Replies: 7
Views: 5209

Re: Spaceship movement (rotational)

Sorry for the double post, but I want to speak about a simple physic model with acceleration and friction. Without Friction Acceleration is to speed what speed is to position, a modification rate by time unit. In a simple physic model, force cause acceleration. For the ship, when you turn on your re...