DOWNLOAD LINK HEREhttp://www.filedropper.com/dkc2engineupdate_1 (http://www.filedropper.com/dkc2engineupdate_1)
Updated the download link it should work now sorry about this.
This was compiled with playbasic compiler version 1.64P3 and IDE version 1.1.7b
CODE BELOW
Note: It uses resources so you require the actual download to run it.
Also note: I haven't worked on this in quite some time I just added the framerate limiter because it was way too fast.
Have fun! Explanation of controls is below the code.
If any of you are feeling adventerous maybe you can tweak it or add more things.
Additionally here is a video demonstrating the way the objects engine in the source code works if one were
to add new objects to the engine:
TUTORIAL ON OBJECT ENGINE HEREhttps://www.youtube.com/watch?v=Ani0In3RxX8
SOURCECODE BELOWhttps://pastebin.com/xCwPqMHJ
CONTROLS /Basics BELOWThis engine is as cleaned up as it's going to get.
Here are the controls:
Enter : Brings your 'player' back up to the top.
Up down left right: Moves dixie
Spacekey: Dixie Jumps
Hold space key after jumping: Dixie's helicopter spin
Left or right shift when on Rambi (Happens un intentionally sometimes) dismount
Note: Being on rambi causes blast barrels to glitch up this is still a huge WIP
When clicking on Collision mode Dixie will move to wherever the right mouse button is held.
When in collision mode the left mouse button will place (green) collidable blocks. These are collision hitboxes for tiles.
To place tiles graphically you need to be in editing mode.
If not then it is just [ ] Actually I remember now to get tile placement turned on you need to press \ on your keyboard.
Lastly you can left click a tile then left click on the map to place it (the tiles are in the right window)
And finally if you hold down the left control button and move the mouse horizontally across the tile select screen you will get
a tile strip.
This can be useful for placing repeating tile patterns fast.
Objects:
The objects edit menu is opened by pressing right shift.
The last object the mouse was over while holding the left mouse button will be the one you get and the selection is somewhat buggy.
The Rambi character will follow the object you selected, it's a bug I haven't removed yet. Dont' worry about it.
To finish placing the object, go to the map with the object you want placed and press the right mouse button.
Debug info: The map X Y and camera X Y I do believe are displayed.
Also the hitboxes are always rendered this is for testing objects.
Saving doesn't work reliably yet.. atleast.. You'd have to uhm change the code I do believe to get it to load changes.
When you first start the engine up you'll be on the world map.
Press space key to begin playing as prompted.
Lastly, the button "Play Mode" brings you out of collision mode and lets you play.
Beware collision detection with things like blast barrels is still always on so during collision mode do not hold the right mouse button
near objects like blast barrels unless you want dixie to collide with them.
That's pretty much it have fun!
Quote from: kevin on May 16, 2017, 11:29:16 PM
I guess it's the final of this Donkey Kong Country 2 WIP (http://www.underwaredesign.com/forums/index.php?topic=4291.0)
Yeah sorry I'm not actively working on this project right now but it isn't dead. I have full intentions to finish it someday.