Log In  

by @kaimonkey

Cart #blob-25 | 2024-03-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
37

Controls

Left/Right arrows: Move Penny left or right
Up/Down arrows: Stretch Penny up or down
X/O/Z buttons: Make Penny jump. HOLD jump for a bigger leap!
Menu/Space: Access the menu, featuring a soft-lock ejector just in case!

Description

Penny the Pumpkin takes you on a delightful platforming journey with light puzzles to solve. Guide Penny, our lovable gourd, as she collects 12 precious coins! Your progress is saved every time she grabs a coin or enters a new area.

Once you've collected all 12 coins, put your skills to the test by unlocking the thrilling speedrun mode! Note that saving is disabled in this mode, so it's all about your skill and reflexes. Can you beat the programmer's current record of 2:51.5? 🏆

Technical Notes


This game uses P9 Compression to have four banks of 16x128 tiles that can be switched between during gameplay.
[128x32]

Each level is then defined as an array of "blocks", where each block is a rectangle of the tilemap somewhere in the level. This allows me to have seven different areas, some of which are quite large, as well as easily having overlapping elements. Blocks can also have properties such as an update method ran each frame, if they should have collision disabled, if they should be drawn in front of the player, if they should be drawn just as a cheap rect fill, if they should be repeated etc. This gives me a lot of power in level design.

The physics is relatively simple, with the character animations being based on a very simple spring math:

spring_dy = (spring_y - spring_y_target) * SPRING_CONSTANT 
spring_dy *= (1-DAMPING_CONSTANT)
spring_y += spring_dy

Each level uses a different screen pallete, which often use the secret palette. Additionally for the title screen, a (trick)[https://www.lexaloffle.com/bbs/?tid=38565] documented by @BoneVolt is used to switch to a different pallete for the area of the screen behind the logo! I had to do some extra bit of bit math to have it drawn to an arbitrary place on the screen without clobbering memory!

 y= 10 -- The vertical position in PIXELS
 h= 3 -- The height in rows of EIGHT pixels
 poke(0x5f5f,0x10) -- enable the effect
 pal(NEW_PAL,2) -- Set the pallete for the section
 pal_memset(0x5f70,0,16) -- clear the settings from previous update
 local rem=flr(y)%8 -- calculate the remainder, since the dual-pallete mode works rows of 8 at a pixels at a time
 pal_memset(0x5f70+(y)/8-1,255<<rem,1) -- Set the flags above where main body made of full 8-high rows can be set
 pal_memset(0x5f70+(y)/8,255,h) --Set the flags for the main body of h 8-pixel-high rows
 pal_memset(0x5f70+(y)/8+h,~(255<<rem),1) -- Set the flags below where main body made of full 8-high rows can be set
function pal_memset(addr, val, len)
 local min_mem = 0x5f70
 local max_mem = 0x5f70 + 18

    if addr >= min_mem and (addr + len - 1) <= max_mem then
        memset(addr, val, len)
    end
end

New in Version 1.2

Halloween Mode

Play between 24th of October and 7th of November and Penny will be a Spooky Jack'o'Lantern! 🎃

New in Version 1.1

Area Complete Notification (And cute heart thought bubble)

  • Penny will now heart her family in

Thought bubble to help players in common difficult locations

.

Speedrun Leaderboard

# Runner Time
🥇 Josiah Winslow 1:20.2 (gif)
🥈 @ikumo 1:22.1 (video)
🥉 @supreee 1:46.9 (gif)
4 @pancelor 1:54.4 (video)
5 @mcman 2:03.7
6 @Ruva 2:26.5
7 @Gabe_8_bit 2:29.3
8 @kaimonkey 2:51.5
9 @VaniaIsAnIdiot 3:34.6
10 @Lisa 3:50.8
11 @TrevorJacobs 3:59.8
12 @Heracleum 5:58.4
13 @phil 6:44.6
P#127456 2023-03-22 13:39 ( Edited 2024-03-04 23:48)

1

Holy moly macaroni the effects, the collisions and the game they are all so great!

P#127461 2023-03-22 14:50

Great game! Here is my personal best so far:

Update 2: Another PB!

P#127462 2023-03-22 15:05 ( Edited 2023-03-27 20:54)

Lovely game. Once you get the feel for the game and the really annoying sphere enemies its great fun. The only minor criticism I have is that I find it very hard to strech vertically and fit through the gaps. It just seems a bit hit-and-miss. Still, completed my "speedrun" in 6:44.6

P#127464 2023-03-22 16:29

Very nice lil' game, love the graphic, and especially the slime-ish effect that the pumpkin has. 3:62 is my first time.

P#127466 2023-03-22 16:47

@Shadow_Blaster6 What does 3:62 mean? Is that a sneaky way of making 4:02 look better, or is that a typo?

@phil enjoy your short lived 3rd place until I figure this out!

P#127469 2023-03-22 17:13

My PB so far

edit:new PB

P#127505 2023-03-23 10:03 ( Edited 2023-03-24 08:39)

@kaimoney typo, forgot to take a screenshot. Also;

P#127510 2023-03-23 13:53

@kaimonkey
i found a weird glitch

also how to get this coin?

P#127514 2023-03-23 15:15

@Tatery1 oh, looks like you're just clipping out of bounds. I'll fix that when I can. Thicker walls needed (Google "bullet through paper" problem if you're curious how this happens)

Re: that coin, that @Shadow_Blaster6 was also stuck on, all I'll say is you can't get it by jumping up to it 😉

P#127516 2023-03-23 15:42
1

@Tatery1 @Shadow_Blaster6 I've fixed that issue, and Penny will now tell you to stop trying to jump up at that coin! There has to be another way!

P#127539 2023-03-24 13:03

@kaimonkey that is awesome and will help so many new players. while you are here i also found a glitch where if you jump to a wall and press down when you reach the top corner you will die.

P#127540 2023-03-24 13:36
1

Nice visual and nice concept!! Great game!
By the way, some coins rely on movement of enemies, so to beat this game fast, much luck required, I think.

P#127541 2023-03-24 13:43
1

@Ruva, I've added you to the leaderboard (and also fixed a bug where you kept that heart in the wrong screen, so that heart is just for you!).
I will just say, while the enemy movement is random, they're twice as likely to come towards you as away from you - more specifically towards your center! That info can be super useful in... let's just say, certain screens

@Tatery1 Yeah, that bug has been the plague of me, I think i've finally figured out a fix now though

P#127542 2023-03-24 14:04

great game! the visuals are really nice and i like the pumpkin village!

also, this is my time

P#127596 2023-03-25 13:42
1

@VaniaIsAnIdiot congrats, i'm glad you liked it! I've added you to the leaderboard

P#127600 2023-03-25 15:47

I guess I can improve it 😓

P#127613 2023-03-25 22:55

My new PB:

P#127615 2023-03-26 06:16

Penny The Pumpkin is so adorable

P#127629 2023-03-26 18:18

what happened?
how to performe glitch: get the coin nearest to where i am in the picture, the hold down to get penny to its flatest while holdingright arrow button, get penny to die, as soon as u die u let go off all the buttons and you should respawn in the wall.

new PB:

P#127651 2023-03-27 09:50 ( Edited 2023-03-27 10:14)

@mcman Yeah, this jello physics isn't perfect. I can't afford to do all the checks i'd want to do with the CPU limit, and having particle effect and running at 60fps...

Congrats on the podium place, @mcman! I've also updated with @ikumo's apparently "near perfect" time. They've promised me a video soon so we can all see what their nasty tricks are!

P#127656 2023-03-27 12:25

Woo-hoo! 3:59.8

Great game. Thanks!

P#127671 2023-03-27 15:26 ( Edited 2023-03-27 15:26)

I just improved my record by another 4 seconds, and I got it on video this time!

P#127687 2023-03-27 20:55 ( Edited 2023-03-29 10:03)

fun game!

P#127697 2023-03-28 04:38

This is really good! satisfying movement mechanics, lovely environments and properly interesting level design. Well done!

P#127703 2023-03-28 09:11

New pb:

P#127705 2023-03-28 11:23 ( Edited 2023-03-29 07:13)

I've updated the leaderboard, with @ikumo's new time, @mcmans PB, and @pancelor's impressive second place!

P#127767 2023-03-29 10:10

got a 2:29.3, and i'm pretty happy with it

might try and get a better time tho

P#127775 2023-03-29 13:59

This game is really great. I really enjoy it. I don't know the creator but it seems like a wonderful game. I really enjoy the cute sound effects.

P#127779 2023-03-29 14:16 ( Edited 2023-04-04 21:55)

I was able to press 1 up-arrow button and 2 down-arrow buttons to beat the game! I wonder itf it can be done with less.

P#128065 2023-04-03 08:49

new pb!

i feel like i could do better if i polish up my moves

P#128703 2023-04-18 10:42
1

@VaniaIsAnIdiot I've updated the leaderboard for you!

P#128706 2023-04-18 12:54

great game :)

P#131219 2023-06-22 03:24

@supreee, thanks for the kind words! I'm so impressed you've managed to storm all the way to 2nd place (and discovering the "pancaking" exploit along the way!). Is there a 1st place run in your future?

I've updated the leaderboard

P#131299 2023-06-24 10:51
1

Happy Halloween everyone!
I've updated the leaderboard with Josiah Winslow's incredible world record!

I've also introduced a tiny 1.2 update, which includes a special Hallow'een skin that only enables a week either side of the 31st!

P#136676 2023-10-31 13:21
P#137742 2023-11-21 21:55

i looooooove this game, the coins are a bit simple to find

P#142445 2024-03-05 09:29 ( Edited 2024-03-05 09:30)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-13 19:41:34 | 0.334s | Q:87