Log In  


Cart #lil_guy_runner_demo-0 | 2023-01-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

This is a little demo I've been toying with. Its really barely a game, but it does show off a couple useful functions:

  • Generated ground tiles with some decorations.
  • Collision detection between the player character and the generated ground.
  • Drawing triangles.
  • Rope physics effects, used for the characters tail and flags.
  • Some simple decorations, like clouds and background mountains.

There's really no "Game" in the sense that there's no objective or fail condition (although if you fall off the screen you're probably in a non-recoverable scenario).

3


Impressive. I like it.

There is a lot of lag, though. It's very annoying.


To reduce lag be sure you're deleting the tiles and clouds as they leave the screen. Also you can use Ctrl+P to see the performance and what percent of the cpu you're using up. Interesting little game, and I look forward to what it becomes.



[Please log in to post a comment]