Isometric 2,5D game

Show off your games, demos and other (playable) creations.
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: Isometric 2,5D game

Post by Nsmurf »

I would love to play the game, but... (see attachment)
Attachments
strange
strange
strange.PNG (216.83 KiB) Viewed 4951 times
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
User avatar
frpnit
Prole
Posts: 21
Joined: Fri Oct 12, 2012 1:05 am
Location: Brazil
Contact:

Re: Isometric 2,5D game

Post by frpnit »

Nsmurf wrote:I would love to play the game, but... (see attachment)
Didn't even read the code, but i imagine the engine is using spritebatches and the file kacheln.png as spritesheet. In order to avoid trouble, he could convert it to power of two dimensions (ex.: 1024x64)

By the way, i'm new here... trying to find some time to learn some specific lua resources and then try to mess with love. And sorry if my english is not so good, i'm brazilian...

- FRP -
Graphic Designer and Hobbyst Programmer
FRP
  • Graphic Designer
  • Hobbyst Programmer
[/color]
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Isometric 2,5D game

Post by micha »

I am not using a sprite batch, but quads and drawq to draw them. Question to the löve-technology-experts: Is that also causing trouble on some graphics cards?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Isometric 2,5D game

Post by bartbes »

No. And also, you never told us what the problem was, did you?
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Isometric 2,5D game

Post by micha »

I am trying to find out, why Nsmurf in the above post gets these artifacts. It looks like instead of drawing the content of the image, LÖVE draws white rectangles in the size of the corresponding quads.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Isometric 2,5D game

Post by bartbes »

In that case your tilesheet is probably too big, a good maximum size to use is 1024x1024.
(Keep in mind that even 1025 turns into 2048 on some systems.)
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Isometric 2,5D game

Post by micha »

I am going to try that. The tilesheet is indeed wider than 1024 pixels. Thanks
User avatar
frpnit
Prole
Posts: 21
Joined: Fri Oct 12, 2012 1:05 am
Location: Brazil
Contact:

Re: Isometric 2,5D game

Post by frpnit »

Well... I have access to an PC with Pentium D processor with an integrated Intel GMA950 graphic chipset, so when i was testing both love examples of tilemaps, one wich uses normal love drawcalls, and the other one wich uses spritebatches (and quads / drawq as well, so the problems must be correlated), the spritebatch one showed only white tiles when i was using a spritesheet with 3584x2048, but when i reduced to 2048x2048, it worked.

So if it was not a power of two problem, indeed it is related to the spritesheet size (never realized until now that my old spritesheet maybe had read as a 4096x2048 and the GMA couldn't handle it because was too big).

Hope it helps you.
FRP
  • Graphic Designer
  • Hobbyst Programmer
[/color]
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Isometric 2,5D game

Post by micha »

Thanks frpnit for experimenting. I substituted the image for a smaller one.

Nsmurf, please try the new version I uploaded in the original post. The problem is hopefully fixed now.
User avatar
Nsmurf
Party member
Posts: 191
Joined: Fri Jul 27, 2012 1:58 am
Location: West coast.

Re: Isometric 2,5D game

Post by Nsmurf »

Yay, it works! :awesome:

I like the look of it, but there are some things that could be improved:
  • Add the rotating. It would be useful.
  • Make a more obvious jump key. (like space)
  • Just a cool idea, but you could use some sort of pathfinding to just click where you want the player to go and he would walk there. I imagine that would be quite hard though.
All in all, great engine, I can't wait until you make a game of it. :)

Also, I suggest you check out Isome if you haven't already. It might give you some ideas.
OBEY!!!
My Blog
UE0gbWUgd2l0aCB0aGUgd29yZCAnSE1TRycgYXMgdGhlIHN1YmplY3Q=
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 3 guests