Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Frogger
#5
Thank you all for trying the game, and for your kind words.

Johnno - this does use the Tilemap library, but only in a small way. I actually started to make the game without the Tilemap library, by drawing the play area. A basic requirement was that everything needed to be designed as a factor of 16 - the frog movements, the width of each lane in the road and water, and so on. I tried to do this in both Gimp, and my preferred editor - Piskel. However, my drawing skills are pretty limited, and I was making a bit of a mess of the task. So it occurred to me that it would be a lot easier to use the Tilemap editor to do this.

So, I abandoned my previous effort, and went the Tilemap way. Now that I have completed it, I am looking at recoding it without the Tilemap library, using an isometric view - quite likely that will never see the light of day however (like most of my projects).

None of the tiles are classed as obstacles, so the game could have probably been coded quite easily without needing to use the Tilemap library. I just wanted to make a version of the game, as I remembered it, so there are probably features missing.

The game itself is quite simple compared to newer games. It's really just navigating 2 types of "obstacle" - the cars, and the water features. Both of these are held in a separate table for each (created in the "initiate_level()" function), and then each cycle, the frogs position is tested for collision against each of the objects in the tables - I used TM_SpritesCollide(), but a simple rectangle/rectangle collision test would work just as well.

All the best - Kevin.
Reply


Messages In This Thread
Not Frogger - by kevin - 11-07-2025, 10:28 AM
RE: Not Frogger - by johnno56 - 11-08-2025, 04:02 AM
RE: Not Frogger - by 1micha.elok - 11-08-2025, 04:08 AM
RE: Not Frogger - by Marcus - 11-08-2025, 08:55 AM
RE: Not Frogger - by kevin - 11-08-2025, 09:00 AM
RE: Not Frogger - by johnno56 - 11-08-2025, 10:35 AM
RE: Not Frogger - by kevin - 11-08-2025, 01:03 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)