Some Puzzle game

Show off your games, demos and other (playable) creations.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Some Puzzle game

Post by tentus »

You don't need to remind us that it's been 24 hours. It's not a hard-and-fast rule, it's a courtesy thing.

You may want to add a check in there to keep the player from making a difficult < 1. Also, making Escape quit the program is generally good manners. Finally, you've got some Power of 2 issues you may want to address.
Kurosuke needs beta testers
User avatar
Trappingnoobs
Citizen
Posts: 95
Joined: Tue Oct 12, 2010 8:52 pm

Re: Some Puzzle game

Post by Trappingnoobs »

tentus wrote:You don't need to remind us that it's been 24 hours. It's not a hard-and-fast rule, it's a courtesy thing.

You may want to add a check in there to keep the player from making a difficult < 1. Also, making Escape quit the program is generally good manners. Finally, you've got some Power of 2 issues you may want to address.
Out of curiosity; does PO2 syndrome only apply to love? It doesn't specify that it does on the wiki, but I couldn't find any similar results on any other sites on google that says anything about PO2, and I'd expect wikipedia to have an article on it.

Also; why do people make escape quit? What about the close button?
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Some Puzzle game

Post by GijsB »

what do you mean? power of 2 issues?
User avatar
Trappingnoobs
Citizen
Posts: 95
Joined: Tue Oct 12, 2010 8:52 pm

Re: Some Puzzle game

Post by Trappingnoobs »

GijsB wrote:what do you mean? power of 2 issues?
Older processors don't display images that aren't a power of two on both axis.
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Some Puzzle game

Post by GijsB »

added that you cant go below size 2, and above size 9
Attachments
Puzzle game.love
(2.09 KiB) Downloaded 57 times
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Some Puzzle game

Post by GijsB »

so you cant have a image with the size 13,13 :O?
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Some Puzzle game

Post by nevon »

GijsB wrote:so you cant have a image with the size 13,13 :O?
No. You'd have to add transparent padding so that it's 16x16.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Some Puzzle game

Post by tentus »

GijsB wrote:so you cant have a image with the size 13,13 :O?
You can, you just have to put it inside a 16x16 transparent image.

@Trappingnoobs: no, PO2 is very common, particularly in the 3d scene. A lot of engines hide the problem though, by automatically scaling images up to the next power. Love 0.8.0 will do this.
Kurosuke needs beta testers
User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Some Puzzle game

Post by GijsB »

wait, if a make imgdata with a size of like 400 and 400, and put in there the images, will it work?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Some Puzzle game

Post by bartbes »

Last I checked 400 wasn't a power of two.
Also, you double posted again.

I'd like to point out that this has nothing to do with CPUs, as Trappingnoobs mentioned, it has to do with your graphics card.
Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests