Unnamed tile-based game.

Show off your games, demos and other (playable) creations.
Post Reply
Jam
Prole
Posts: 4
Joined: Wed Mar 21, 2018 9:34 am

Unnamed tile-based game.

Post by Jam »

This is a project I've been working on for a little over two weeks now and I *think* it's going relatively well, if you want to try it out for yourself I've attached a .love with the most recent version, which now restricts tile rendering to the camera's fov to not lower frame rates. A 300x300 map works at a smooth 60fps with only around a second of load time to initialize map data for drawing. The game uses RGB values to get tiles for compressing map images rather than having massive map files that, in my opinion, would be harder to create a reader for than a pixel map.

Collisions for entities are mostly done, with the only thing not done is actually responding to collisions in a way that works at pushing an entity backwards; Collisions for tiles has not even been started on yet. Key Presses are handled by a script holding an active and deactive table that gets grabbed by system when a key is pressed or held.

That's pretty much the basics explained, the code is relatively clean so it shouldn't be hard to see how things work if you want a more in depth look on what's happening on the inside.

Any suggestions on a name, or theme the game could be built on are always welcome! :)
Attachments
Demo.love
Love V.11.0
(25.09 KiB) Downloaded 247 times
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Unnamed tile-based game.

Post by milon »

I just tested it on an old PC with Love 11.0. The blue ball seems to move at around 1 tile per second, which seems very slow unless I'm misunderstanding the intent. (But again - old PC, so whatever.)

I like how you allow simultaneous vertical and horizontal movement. That's a nice touch! :)

IMO, it's too early for a title unless you really know what the game is about. There's not enough yet for me to offer any suggestions, other than to say kudos and keep at it! :D
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Jam
Prole
Posts: 4
Joined: Wed Mar 21, 2018 9:34 am

Re: Unnamed tile-based game.

Post by Jam »

I agree that the movement is too slow, movement is based on velocities so it was pretty easy to add movement both ways.
I'll update the .love for faster movement as I dislike how slow it is too. You can now have 2 added to velocity instead of 1, which feels quite fast.
Attachments
Demo2.love
Love V.11.0
(25.09 KiB) Downloaded 238 times
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: Unnamed tile-based game.

Post by Davidobot »

I'm not sure how you're drawing the tiles, but they seem to bleed when moving:
Image
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
Jam
Prole
Posts: 4
Joined: Wed Mar 21, 2018 9:34 am

Re: Unnamed tile-based game.

Post by Jam »

I'm not sure how you're drawing the tiles, but they seem to bleed when moving:
Image
Woah, never seen that happen, weird.
The game draws quads from a tile sheet to create tiles, and should draw the correct tile, I'm not sure about bleeding as it hasn't happened to me yet, hmm. :|
User avatar
yintercept
Citizen
Posts: 64
Joined: Mon Apr 02, 2018 3:31 pm

Re: Unnamed tile-based game.

Post by yintercept »

This is kind of cool except for the bleed issue. If you fix it I'd like to know what caused it.
Back in the saddle again.
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Unnamed tile-based game.

Post by milon »

I don't get the bleeding issue on my system, for either .love file above.

FWIW, I've only tested on my Linux (CentOS) system, which is both ancient and crappy. I have *not* tested on my main Win10 PC.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
OmegaMax
Prole
Posts: 12
Joined: Wed Jun 07, 2017 3:49 pm

Re: Unnamed tile-based game.

Post by OmegaMax »

No bleeding issues on my system either.
Jam
Prole
Posts: 4
Joined: Wed Mar 21, 2018 9:34 am

Re: Unnamed tile-based game.

Post by Jam »

OmegaMax wrote: Wed Apr 11, 2018 9:47 pm No bleeding issues on my system either.
milon wrote: Wed Apr 11, 2018 1:58 pm I don't get the bleeding issue on my system, for either .love file above.

FWIW, I've only tested on my Linux (CentOS) system, which is both ancient and crappy. I have *not* tested on my main Win10 PC.
If this helps at all I'm running Windows 7
Post Reply

Who is online

Users browsing this forum: Jimanzium and 2 guests