Search found 262 matches

by knorke
Sat Sep 11, 2010 6:27 am
Forum: Support and Development
Topic: What's a better way of typing this?
Replies: 19
Views: 3262

Re: What's a better way of typing this?

i was superproud when i invented

Code: Select all

players[i].is_ai = players[i].is_active and not players[i].is_ai
players[i].is_active = players[i].is_ai or not players[i].is_active
to toggle a player being a human player, ai player or not active when a button is clicked.
by knorke
Fri Sep 10, 2010 7:22 pm
Forum: Games and Creations
Topic: "Terus" project (tech demo 2)
Replies: 38
Views: 21973

Re: "Terus" project (tech demo)

nice.
from watching the video, maybe the stars should move faster the farther away they are from the center to give this "flying through stars in 3d" feeling.
ie like the windows screen saver.
by knorke
Fri Sep 10, 2010 7:19 pm
Forum: Games and Creations
Topic: XAN in Love WIP -- Help Moving forward.
Replies: 16
Views: 15868

Re: XAN in Love WIP -- Help Moving forward.

ill try the game later. does anyone know a good way to snap the rocks to a '7x7 grid. try diving and multiplying: snap_pos_x = int (pos_x / 7) * 7 by int i mean removing the decimal places. i think in lua there is math.floor () for rounding ie like this snap_pos_x = int (160 / 7) * 7 = int (22,85714...
by knorke
Fri Sep 10, 2010 7:06 pm
Forum: Libraries and Tools
Topic: Löve stock backgrounds
Replies: 5
Views: 1936

Re: Löve stock backgrounds

you mean stuff like scrolling starfields etc?
sounds like a good way to make grahpically simple games more interessting to look at.
thumbs up.
by knorke
Sun Aug 29, 2010 4:23 pm
Forum: Games and Creations
Topic: Astropatrolonium - feat. making of video - released on itch.io
Replies: 23
Views: 36224

Re: Astropatrolonium - feat. making of video - release v3

ok saw the error on a friends computer yesterday.
it is the "application has ended in an unusual way, do you want to send a problem report yes/no" message.
still no idea though what causes it.
by knorke
Sun Aug 29, 2010 4:22 pm
Forum: Support and Development
Topic: love.mouse
Replies: 3
Views: 1249

Re: love.mouse

maybe different drivers / os settings?
by knorke
Thu Aug 26, 2010 11:55 pm
Forum: General
Topic: How did you hear about Löve?
Replies: 29
Views: 14298

Re: How did you hear about Löve?

saw a thread in springRTS off topic about this:
http://springrts.com/phpbb/viewtopic.php?f=10&t=23480
was not really looking for this, just tried it because i was bored :o
by knorke
Thu Aug 26, 2010 11:52 pm
Forum: Games and Creations
Topic: Astropatrolonium - feat. making of video - released on itch.io
Replies: 23
Views: 36224

Re: Astropatrolonium - feat. making of video - release v3

i will look into using conf.lua, atm i dont use it all. Are you sure you aren't doing some infinite loop when you close the game? Possible, but I do not think so. It would explain the loading cursor prolem you got though i guess. with the closing problem i have no idea, will be a bit hard to check a...
by knorke
Thu Aug 26, 2010 11:48 pm
Forum: Support and Development
Topic: Unloveliness (platform incompatibilities)
Replies: 2
Views: 1135

Re: Unloveliness (platform incompatibilities)

The game doesn't seem to close properly on Windows. And it has the horrible side effect on LInux of not setting the resolution back after exiting.
http://love2d.org/forums/viewtopic.php? ... 6&start=13
not sure if this counts.
by knorke
Thu Aug 26, 2010 6:25 pm
Forum: Support and Development
Topic: Attempt to call a number... [Solved]
Replies: 6
Views: 4932

Re: Attempt to call a number...

missing multiplication signs?
ua_num = ((l_x2 - l_x1) * (a_y1 - l_y1)) - ((l_y2 - l_y1) * (a_x1 - l_x1))