Log In  

Cart [#55294#] | Copy | Code | 2018-08-16 | Link

This cart outlines a fairly simple way in which diagonal vectors can be normalized, to avoid super-fast diagonal movement. On tab 0, you can check out the normalization code, and an example of where you should drop it in your code to make it work!

Feel free to use this function in your code, or to revise the math to make a more efficient system! The movement is a little jittery, so there's definitely room for improvement!

Also ... Vector the Skateboarding Duck might feature in future games. We'll see!

tutorial cart cool duck skateboarding
P#55295 2018-08-16 23:10 ( Edited 2018-08-16 23:59)


Cart [#53366#] | Copy | Code | 2018-06-08 | Link

From Wikipedia:
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100% when the number of people reaches 367 (since there are only 366 possible birthdays, including February 29). However, 99.9% probability is reached with just 70 people, and 50% probability with 23 people.

Not sure why The Birthday Problem blows my mind, but it got under my skin today, and I just HAD to make a visual representation of it. Press [Z] to generate a birthday for each of the 70 cakes. Each cake is assigned a value between 1 and 366 (1 for each day of the year). If there are two matching birthdays, their candles light up! If you want to see it represented numerically instead of visually, press [X]!

probability not a game
P#53367 2018-06-08 00:33 ( Edited 2018-06-17 12:37)


Cart [#51492#] | Copy | Code | 2018-04-10 | Link

It's the Waddleball Grand Championship! Competitors must master the art of The Waddle if they hope to emerge victorious!

Left arrow key: Waddle left
Right arrow key: Waddle right
Alternate arrow keys: Waddle straight
Press and hold either key to dash
X or Z: Choose or exit level

You are Waddleduck, a chubby duck with the heart of a champion! Prove your mettle in 6 minigames by booting moles, stomping on tiles and destroying asteroids! Or, relax in free-play mode and kick some balls around.

sports kickball duck waddle eggnog games whack-a-mole minigames weird co
P#51494 2018-04-10 10:06 ( Edited 2018-04-17 05:01)


Cart [#50300#] | Copy | Code | 2018-03-12 | Link

Slugs have stolen the world's supply of shiny diamonds! It's time for a hero to take them back.

You are that hero. You are ... CAT BANDIT.

Break into every last room of Slug Bank, and steal the diamonds back! Do you have what it takes to become a world-class thief?

Arrow Keys: Move
Z: Dash

Level Challenges:

  1. Nab the diamond and get to the exit!
  2. Grab all the coins!
  3. Don't break any vases!
  4. Escape within the time limit!
  5. Complete all four challenges in one run!
sneak speed theft cat
P#50301 2018-03-12 10:08 ( Edited 2018-07-18 19:59)


Cart [#49296#] | Copy | Code | 2018-02-15 | Link

Lick the Sky is a relaxing arcade climber about a lizard who stared up into the sky and wanted to lick the stars.

High scores are based on climbing time, flight time and time latched to shooting stars. But don't get hung up on it. Put on some music, relax, and Lick the Sky!

lizard arcade climber relaxing
P#49297 2018-02-15 10:48 ( Edited 2018-02-22 17:36)


Cart [#45865#] | Copy | Code | 2017-11-04 | Link

S P O O P Y !
The 10 Haunted Treasures of Halloween

It's midnight on Halloween, and there's a chill in the air. Choose your own adventure in this text game, navigating 4 areas to find the 10 haunted treasures of Halloween! But ... are you brave enough?

Code compression and a few big features were handled by Enargy. He's fantastic! Follow him on Twitter [@enargy] and check out his games!

spooky spoopy text choose your own adventure cyoa
P#45866 2017-11-04 12:07 ( Edited 2017-11-08 23:58)


Cart [#44467#] | Copy | Code | 2017-09-22 | Link

Maze Land is in trouble! Eight cute birds have vanished from their nests, into the depths of mysterious hedge mazes!

You are Maze Dog, a chubby puppy who loves to nap, dig and bark! Venture into the deep hedges, find the lost birds, and have some snacks along the way. Good luck!

P#44468 2017-09-22 20:58 ( Edited 2017-09-26 10:09)


Cart [#43934#] | Copy | Code | 2017-09-04 | Link

B L A S T !

Harness the power of color!
Collect hats!
Be a sentient blob!

If you can reach the goal score for each level, you can play the level with a cool hat! Reach the goal score in all four modes to become a Rainball Champion!

arcade rainbow jump
P#43935 2017-09-04 20:56


Cart [#43175#] | Copy | Code | 2017-08-11 | Link

Star-flowers bloom once in a hundred years, but only if their roots are rich with rain and electricity.

You are a cute cloud, in charge of a field of star-flowers.

Wield your ancient powers over wind and water to nurture your star-flower garden, and pump the field's battery full of electricity! Watch out for missiles and chompers along the way!

Good luck!

P#43176 2017-08-11 21:01 ( Edited 2017-12-01 00:49)


Cart [#42143#] | Copy | Code | 2017-07-02 | Link

"Ahh, this is the life." Sipping on a frosted glass of bug juice, Minimalizard sat back in his tiny lawn chair, soaking up some much-deserved rays of sunlight. He'd spent the whole morning obsessively tidying his minimalistic home ... sweeping up dirt, throwing out trash, and generally cleansing his life of excess.

But suddenly, a shadow fell over his yard. Minimalizard removed his sunglasses in disbelief. "What the ..."

Hundreds of brightly-colored crates loomed in the sky above, plummeting toward his house. They'd almost certainly rearrange his decor - and not a good way.

"Not if I have anything to do with it!" Minimalizard gulped down the rest of his drink and hopped nimbly from his chair. It wasn't going to be easy, but if he had to punch, stomp and shoot every crate from the sky himself, he'd do it.

"Because I ... am ... MINIMALIZARD!"

arcade shooter lizard
P#42144 2017-07-02 09:58 ( Edited 2017-07-02 10:16)

:: More
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-08-17 11:34 | 0.312s | 1835k | Q:107