This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MrCohen
MrCohen presents ...

2020/2/12

Preview - GreenTreeChronicles

This is a performance test of my code in it's current state. This is a Tile-and-objects engine I wrote to allow the creation of massive 2D game worlds. It's a long term project. For now, it's just a test/preview. I am trying to keep everything I do Greenfoot Gallery compatible, so I test each iteration on here.

Click to move the player. You can pick up, and then put on items. The skeletons are presently paused. There is not much to do except walk around. There are borders which demonstrate the tile collision system, which is similar to what I use in Collider within my AnimatedCharacter class (click my scenarios to find it if you're interested in seeing some of my graphics import and manipulation code).

On my local computer, the game runs at 60 fps (reports 61) consistently. On here, it has little dips, but still runs pretty smooth. I hope to release this one day as a project for my students to learn from, and optionally add content of their own.

2953 views / 11 in the last 7 days

6 votes | 0 in the last 7 days

Tags: None

Your browser does not support the canvas tag.
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
Goku555Goku555

2021/11/26

Hi
MrCohenMrCohen

2021/11/30

Hi! There is actually loading time ... It takes about a second, sometimes less. The characters are made by starting with SpriteSheets from LPC Pixel Cup (google it), including the base character and the equipment, and layering them by drawing them on top of each other in a correct order. I'm not ready to share this code publicly and my most recent attempt to make it possible to move to different "levels" has resulted in an error I can't solve so I've stopped working on it for the time being, but if you reach out by email, I can share a previous version with you that has the smooth graphics engine implemented. Also, please don't spam "Hi" as it clears the rest of the chats/updates.
MrCohenMrCohen

2021/12/1

My apologies. Somehow I thought you were the same person since the comments were a day apart.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

STALIN1996 Füchèr SwaggyXiao xiestar0310 Gbasire