Search found 1078 matches

by micha
Mon Jul 04, 2016 8:51 am
Forum: Games and Creations
Topic: Warlock's Tower (RELEASED!)
Replies: 30
Views: 12758

Re: Warlock's Tower (we've been Greenlit!!)

That's good news. Congratulations! Do any of you know how much of those are there? We'd love to talk to devs who already did the Steamworks SDK stuff. How hard it is to integrate it with a Love2d game? You can talk to undef ( quadrant ) or xelu ( Move or Die ). There are probably more, sorry, if I f...
by micha
Wed Jun 15, 2016 2:18 pm
Forum: Support and Development
Topic: About visit the 2-D Arrays
Replies: 4
Views: 1324

Re: About visit the 2-D Arrays

Both of your for-loops start at 1 and not at 0, so the entries MAP[0] and testmap[0] both do not exist. So if you print them, you get nil. Now MAP[0][1] does not work because MAP[0] is nil, so basically you are trying to access nil[1] and this does not work. If you want to access MAP[0][1], then MAP...
by micha
Mon Mar 14, 2016 8:39 am
Forum: General
Topic: Updating platforms in a platformer game
Replies: 5
Views: 799

Re: Updating platforms in a platformer game

I think it is fine to update all of the platforms in the level. Unless you have multiple thousands of platforms, I think you will not get performance problems. And before you put effort into some performance-optimization-tricks, I suggest you implement the simplest solution (=update all platforms). ...
by micha
Sun Jan 24, 2016 12:51 am
Forum: Games and Creations
Topic: Move or Die | Löve game on Steam!
Replies: 38
Views: 14761

Re: Move or Die | Löve game on Steam!

Hey, good news. This game is out of early access.

Look here: Move or Die.

I'd say this is by far the most ambitious LÖVE-game that is out there. Congratulations to the developers.
by micha
Thu Jan 14, 2016 2:11 pm
Forum: Support and Development
Topic: Skewing/Shearing and Canvases
Replies: 6
Views: 1554

Re: Skewing/Shearing and Canvases

meganukebmp wrote:I cant figure out how to use shear to achieve this effect though. Since I cant just skew it vertically from the center. I'm missing something.
It is not possible to create a perspective effect using shearing. When you shear an image, then parallel lines always stay parallel.
by micha
Wed Jan 06, 2016 5:04 pm
Forum: Games and Creations
Topic: Hotplate app for your phone
Replies: 17
Views: 3932

Re: Hotplate app for your phone

Very good app, I just made some cookies using it and the whole family loved them. Can we expect an update with some recipes included? It could be very useful to have a text-to-speech voice that tells you the steps. I am planning text-to-speech functionality together with voice recognition, so that ...
by micha
Tue Jan 05, 2016 10:44 pm
Forum: Games and Creations
Topic: Hotplate app for your phone
Replies: 17
Views: 3932

Re: Hotplate app for you phone

bobbyjones wrote:Well this burn my phone?
I am pretty sure that the phone will not burn. Most of todays phones have pretty cheap display components, so you will most likely not be able to boil water with this app. Originally I wanted to use this to make coffee in my office, but the water only gets lukewarm.
by micha
Tue Jan 05, 2016 8:56 pm
Forum: Games and Creations
Topic: Hotplate app for your phone
Replies: 17
Views: 3932

Hotplate app for your phone

I thought I'd try the new android functionality of LÖVE and there we go: I made a hotplate app. It is pretty useful, if you want to heat up a cup of tea and don't want to walk to the kitchen. If you have a larger phone, you can probably prepare a fried egg directly on your display, but I could not t...
by micha
Mon Dec 14, 2015 10:32 pm
Forum: Support and Development
Topic: Help with a Timer, Double, and Int [Solved]
Replies: 5
Views: 1342

Re: Help with a Timer, Double, and Int

Hi and welcome to the forum!

You can round numbers with the math.floor function (this will cut of everything after the decimal point):

Code: Select all

love.graphics.printf(math.floor(StartTimer), 10, 10, 300, "left")
by micha
Mon Dec 14, 2015 8:38 am
Forum: Support and Development
Topic: Transforming coordinates to screen coordinates
Replies: 1
Views: 589

Re: Transforming coordinates to screen coordinates

The simplest solution is to go for a constant scaling factor. Let's call the coordinates you handle with your vectors world coordinates and the coordinates on screen screen coordinates . You can transform between the two by simple multiplication: function sx,sy = worldToScreen(wx,wy) sx = wx * scale...