SMS Power! Logo Forums
Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Development - Music

 View topic - [Coding] KunKun & KokoKun 2 - Return of the Kun by Bock
Log in
Search
Memberlist
Membermap
Profile
Register
 Log in to check your private messages
Reply to topic    Forum Index - Competitions Goto page 1, 2  Next

How good is this entry?
1 (poor) 0%  0%
2 0%  0%
3 0%  0%
4 0%  0%
5 0%  0%
6 6%  6%
7 0%  0%
8 46%  46%
9 (excellent) 46%  46%

Author Message
Maxim
Site Admin

Joined: 19 Oct 1999
Posts: 7468
Location: London, UK
[Coding] KunKun & KokoKun 2 - Return of the Kun by Bock
Post Posted:  Sat Mar 28, 2009 1:28 pm Reply with quote

Title: KunKun & KokoKun 2 - Return of the Kun

By: Bock

*EDIT* Patched version 0.91 fixes the problem with switches.
"EDIT" Patched version 0.92 fixed starting level and version number. Please re-download if you tried an older version.

Quote:
-------------------------------------------
KunKun & KokoKun 2 - Return of the Kun
a Sega Master System 64kb Game
by Omar Cornut (Bock)
E-mail: omar [at] miracleworld [dot] net
Web: http://www.smspower.org
-------------------------------------------
Version 0.9
Released 2009/03/29
-------------------------------------------

This is my contribution to SMS Power! Coding Competition 2009:
http://www.smspower.org/dev/competition/

This game is a tribute to old school arcade games.
It is cute, short, yet difficult and unforgiving.

Features!

- BLUE SKY WITH SUN
- A PRINCESS TO SAVE

-------------------------------------------
Story
-------------------------------------------

1. KunKun is a happy orange blob.
2. KokoKun is a happy pink princess blob.
3. KokoKun was taken hostage by some evil black blob.
(who hides in the SMS video memory but doesn't show up on screen
because I did not have time to program it yet)
4. KunKun has to go and save KokoKun.
5. The world is saved, everyone can live in peace.
6. Repeat 5 times until insanity.

-------------------------------------------
Controls
-------------------------------------------

- D-Pad left : move left
- D-Pad right : move right
- D-Pad up : stick to ladder, climb ladder, jump (hold to use hover boots)
- D-Pad down : climb ladder down, trigger switch
- Button 1 : jump left
- Button 2 : jump right

It is important to note that "KunKun & KokoKun" is not an action
game. Please don't rush and jump everywhere or you won't last.

-------------------------------------------
Made using
-------------------------------------------

- WLA-DX for assembling Z80 code.
- Paint Shop Pro 7 for drawing graphic and level mockups.
- Maxim's Bmp2Tile for generating tileset and tilemap.
- Visual Studio 7 for editing.
- MEKA for emulating and debugging.

-------------------------------------------
TODO
-------------------------------------------

What did not make it for the competition deadline: (again)

- No music/sound, sorry :(
- Life and bonus system not enabled. Infinite lives.
- Game Over and Continue screen.
- Title screen / password system missing. Don't even try to reach the sun!
- Better ending sequence.
- Plenty of game features I thought about that were not implemented.
- More cute animations.
- More levels.

-------------------------------------------
Greetings
-------------------------------------------

MasterKohta for last minute sound fx design (TBI).
Joseph, Michael and Bleader for testing.
" putain j'y comprends rien à ton niveau 4 "
( f*ck, I understand nothing of your level 4 )

All SMS Power! members and regulars.
All SMS Fans in the world.

-------------------------------------------

Enjoy!!!
http://www.smspower.org




Back to top

View user's profile Send private message Visit poster's website
Maxim
Site Admin

Joined: 19 Oct 1999
Posts: 7468
Location: London, UK
Post Posted:  Sat Mar 28, 2009 7:34 pm Reply with quote

Aargh, it's back! To torture me again!

Is anyone else having trouble flipping the switches?
Back to top

View user's profile Send private message Visit poster's website
Martin

Joined: 04 Nov 2004
Posts: 165
Location: Germany
Post Posted:  Sat Mar 28, 2009 7:51 pm Reply with quote

Yes, in the second level :) I think I saw a gate opening one pixel, but then it closed again. I hope Omar can fix that before the voting. It would be annoying to get bad votes because of a little bug like that.
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Sat Mar 28, 2009 8:32 pm Reply with quote

OUCH
I am gonna fix it immediately
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Sat Mar 28, 2009 8:41 pm Reply with quote

I uploaded a fixed 0.91 version.

There was a terrible bug I introduced on an another object used in the last level, it was doing a RET and forgetting a POP before. It is total luck that the game could even run. Anyway it is fixed now.
Back to top

View user's profile Send private message Visit poster's website
TmEE

Joined: 31 Oct 2007
Posts: 193
Location: Estonia, Mahtra city
Post Posted:  Sat Mar 28, 2009 11:42 pm Reply with quote

I began to think that fusion is doing something wrong in SMS that switch in 2nd stage would not work :P
This is so fun, best coding part entry :D
Back to top

View user's profile Send private message Visit poster's website
Maxim
Site Admin

Joined: 19 Oct 1999
Posts: 7468
Location: London, UK
Post Posted:  Sat Mar 28, 2009 11:43 pm Reply with quote

Always use indentation to signify that things have been pushed :)

Hmm, I think I see some problems:

- Meka can't load the zip, same problem as my first entry - the ROM ahs to be the first entry, remove and re-add the readme to fix
- The SDSC version number wasn't updated
- It starts on level 2 instead of the title screen! Debugging hack left in?
- I still can't walk through the door after it opened!
- I jumped into a yellow flashing "rope" as it appeared and KunKun got stopped NOT ON A MULTIPLE OF 8 PIXELS which is obviously against the natural order of the world.


Last edited by Maxim on Sun Mar 29, 2009 12:09 am; edited 3 times in total
Back to top

View user's profile Send private message Visit poster's website
TmEE

Joined: 31 Oct 2007
Posts: 193
Location: Estonia, Mahtra city
Post Posted:  Sun Mar 29, 2009 12:03 am Reply with quote

When I write a PUSH xx line, I'll immediately write a POP xx aswell, otherwise it's certain that things get missed and eventually crash (in case of MD Z80 side, your code is in RAM and eventually stack will wipe things out).
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Sun Mar 29, 2009 4:39 am Reply with quote

The SVN repository with source code is publicly accessible here:
http://code.google.com/p/kunkun/source/browse/
Don't look before finishing the game of course :)
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Sun Mar 29, 2009 4:41 am Reply with quote

Maxim wrote:
Always use indentation to signify that things have been pushed :)

Hmm, I think I see some problems:
- Meka can't load the zip, same problem as my first entry - the ROM ahs to be the first entry, remove and re-add the readme to fix
- The SDSC version number wasn't updated
- It starts on level 2 instead of the title screen! Debugging hack left in?


ARGH! I fixed all those in 0.92 :(

Quote:
- I still can't walk through the door after it opened!


I just did a full playrun and could not reproduce this one, although i recall seeing it once during development. I think there is a bug if you repeatedly flip a switch, during a certain frame I think the graphics gets updated but the collision data not.

Quote:
- I jumped into a yellow flashing "rope" as it appeared and KunKun got stopped NOT ON A MULTIPLE OF 8 PIXELS which is obviously against the natural order of the world.

I will look into that, I understand the bug. I assume you are talking about falling down to an horizontal rope/platform? The bug should be fairly rare, and although very confusing should still allow you to play.
Back to top

View user's profile Send private message Visit poster's website
Martin

Joined: 04 Nov 2004
Posts: 165
Location: Germany
Post Posted:  Sun Mar 29, 2009 11:53 am Reply with quote

You forgot to update the version number at the top of the readme :D
This game is so hard... Is there someone really good in this game who can post a playthrough video?

When I noticed I couldn't get through the doors I used the ram editor to beam myself to different places. I miss a fun reaction when falling directly onto the princess. =)
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Sun Mar 29, 2009 11:57 am Reply with quote

Bad boy Martin ! The game is hard, it is meant to be this way. Try to enjoy it without cheating for a bit.
Back to top

View user's profile Send private message Visit poster's website
Maxim
Site Admin

Joined: 19 Oct 1999
Posts: 7468
Location: London, UK
Post Posted:  Sun Mar 29, 2009 12:10 pm Reply with quote

Bock wrote:
I assume you are talking about falling down to an horizontal rope/platform? The bug should be fairly rare, and although very confusing should still allow you to play.

I was jumping to the right into the "moving platform" in stage 2 and ended up alighted about 7 pixels right of the correct position, which made it look weird and harder to play.
Back to top

View user's profile Send private message Visit poster's website
Martin

Joined: 04 Nov 2004
Posts: 165
Location: Germany
Post Posted:  Sun Mar 29, 2009 12:19 pm Reply with quote

Now, I'm in level 5 without any beaming. But I don't have the patience to do it without save-states.
Edit: I beat level 5. And level 2 without cheating :)
Back to top

View user's profile Send private message Visit poster's website
albino_vulpix

Joined: 05 Jun 2007
Posts: 194
Location: Melbourne, Australia
Post Posted:  Mon Mar 30, 2009 4:04 am Reply with quote

Addicting and looks fantastic! I reckon it would have been one of the great SMS titles if it were a commercial release back in the day.
Back to top

View user's profile Send private message Visit poster's website
Bock
Site Admin

Joined: 08 Jul 2001
Posts: 5102
Location: Kyoto, Japan
Post Posted:  Mon Mar 30, 2009 4:23 am Reply with quote

Some facts:

- I started start on March 18 and skipped several days of work due to other obligations. Figured out I had not much time so after some brainstorming I decided to re-use the original KK&KK as a base. I hope this is not a disappointment.

- I think I spent about 30 hours on it overally. Not really a good time for me since I had deadline on two other games (!) on the same time. Probably half of time went into designing levels. Levels 2-5 probably took about 4 hours each to design. Most of them were completely done in an art package, and only when completed ported to the game and a few flaws fixed. Very few actual in-game iterations. It was rather tiring but exciting for the mind to design the levels without playing trying to maintain all paths and possibilities in my mind.

- I improved the data pipeline and level editing process to be much easier than in the previous game.

- Needless to say I hoped to have more levels, but time was too tight. With the new features there's probably many more nice levels to make. Maybe I can add another level for version 1.0. I also hoped to include as a bonus an hardened level 3 from the original but it was unaffordable luxury at this point.

- Technically nothing special. It is a game built around technical and design simplicity which as a envisionned it would allow me to do something (as opposed to solving more complex technical problems and not getting a game done). So the design was made to dodge as many problems as possible. But that is old news.

I wonder if anyone actually started his compo a month in advance ;)
Back to top

View user's profile Send private message Visit poster's website
drHirudo

Joined: 14 Mar 2009
Posts: 11
Location: Sofia
Post Posted:  Mon Mar 30, 2009 7:28 am Reply with quote

Bock wrote:
Some facts:
I wonder if anyone actually started his compo a month in advance ;)

I have started coding my entry after the announcement. Took me several weeks to get things right done, then some other weeks to code required tools and files (tile converting, makefile, porting of SMSPlus to AmigaOS, learning how to use and set up Personal Paint on AmigaOS 4.1, and two weeks before the deadline I was scared that I would not be able to finish it in time, even if the first playable version was ready by then, but it was not polished. At the end I had some nights to work and I finished it almost on time, except that the planned title music was not done, because I did not have the time to implement the graphics compression. But at least I had the time for sound effects ;)
Back to top

View user's profile Send private message Visit poster's website
Martin

Joined: 04 Nov 2004
Posts: 165
Location: Germany
Post Posted:  Mon Mar 30, 2009 7:54 am Reply with quote

Bock wrote:
I wonder if anyone actually started his compo a month in advance ;)

I started making graphics for a game on 19.1.2009 (says the date of the graphics file), announcement was on 18.1.2009.
Back to top

View user's profile Send private message Visit poster's website
mic_

Joined: 27 May 2008
Posts: 110
Post Posted:  Mon Mar 30, 2009 12:37 pm Reply with quote

Quote:
I wonder if anyone actually started his compo a month in advance ;)


I started on friday (march 27th) afternoon, and finished it by about 23:45 GMT. On saturday I added the vector balls and the volume bars. And on sunday I added the starfield (though that was after the voting had started). Much of the code was just translated from my original 6502 code, while some of it had to be completely rewritten due to other differences in the hardware.
The music was done a few weeks earlier, using my own compiler and playback library.
Back to top

View user's profile Send private message
Maxim
Site Admin

Joined: 19 Oct 1999
Posts: 7468
Location: London, UK
Post Posted:  Mon Mar 30, 2009 2:32 pm Reply with quote

I may as well join in. I took 4.5 days holiday to work on my entry. Overall I probably spent about 35-40 hours on it. It became playable after about 25 hours, but lacking most features; collision detection (with lots of bugs), score calculation and interrupt routine optimisation were the things that took the most time.
Back to top

View user's profile Send private message Visit poster's website
Reply to topic    Forum Index - Competitions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 

Script phpBB © 2001, 2005 phpBB Group



Back to the top of this page
Back to SMS Power!