This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-09 21:12:00

Dawgles
Scratcher
Registered: 2011-07-29
Posts: 100+

3D Super Mario Kart, Post-mortem and investigation.

So, I attempted this and the outlook isn't good. (all info is with turbo mode in flash scratch)

But first:
Good news.
Yes, 3D mario kart is totally possible in scratch and I have it working here:

http://scratch.mit.edu/projects/Dawgles/2186639

Screenshots
http://i44.tinypic.com/eqe2aq.png
http://i43.tinypic.com/19p85x.png
http://i42.tinypic.com/ofsxdz.png

Bad news:
Issue one: The level takes 10 minutes to read. This is a very small level (480x352px) with 34 colors. The reading speed is cut down by the "is touching color" block, which doesn't perform very well on the flash player (or squeak, of course).

Issue two: A high resolution image is too much to render realtime. At pen size one it takes about 3 and a half seconds to draw the ground. Here it is at pen size 4, and it's barely playable:
http://i43.tinypic.com/1567l3m.png
The solution here would be faster calculations and pen renders.
Not gonna happen, flash scratch is already pretty far ahead of the java and squeak versions in terms of performance and I don't think they can push it any farther.

Issue three: Performance suffers the larger your list is. My minecraft project is suffering from this too. I don't know how scratch stores lists, so I'm not sure how much of this is my fault/incurable.

Well, I got it working. That was a learning experience.  smile
Anyone is free to work on this if they wish.

Last edited by Dawgles (2011-12-09 21:12:32)

Offline

 

#2 2011-12-09 23:45:31

hightide
New Scratcher
Registered: 2011-12-09
Posts: 27

Re: 3D Super Mario Kart, Post-mortem and investigation.

Uhhh

This is kind of amazing

Offline

 

#3 2011-12-10 07:55:48

Dawgles
Scratcher
Registered: 2011-07-29
Posts: 100+

Re: 3D Super Mario Kart, Post-mortem and investigation.

Thanks.

Offline

 

#4 2011-12-10 08:25:18

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: 3D Super Mario Kart, Post-mortem and investigation.

Cool.  smile

Offline

 

#5 2011-12-10 13:18:33

Dawgles
Scratcher
Registered: 2011-07-29
Posts: 100+

Re: 3D Super Mario Kart, Post-mortem and investigation.

Here's a version with a much smaller map for instant testing:
http://scratch.mit.edu/projects/Dawgles/2207188/

Last edited by Dawgles (2011-12-10 13:31:00)

Offline

 

#6 2011-12-16 22:47:42

ablr
Scratcher
Registered: 2011-10-04
Posts: 71

Re: 3D Super Mario Kart, Post-mortem and investigation.

Ten minutes?!?!?!?!

More like ten hours  sad


http://www.majhost.com/gallery/ablr/Art/robot.pnghttp://www.majhost.com/gallery/ablr/Art/you.pnghttp://www.majhost.com/gallery/ablr/Art/robot.png

Offline

 

#7 2011-12-17 13:03:38

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: 3D Super Mario Kart, Post-mortem and investigation.

Awesome! :D


Why

Offline

 

#8 2011-12-22 15:13:38

haroldb
Scratcher
Registered: 2011-12-13
Posts: 5

Re: 3D Super Mario Kart, Post-mortem and investigation.

<when green flag clicked>press start 2 rich!

Offline

 

Board footer