Prince IO Sketchup Game Demo
-
Thats fantastic
So when do we get worms
-
when i try to go to the linked site for the .zip, it says sight unavailable
can someone post it somewhere else?
-
Hello trickout. Terribly sorry for the broken link. Please try again.
Cheers,
-
Thank you for fixing the link. How can I edit the code, for instance make it move in 3 dimensions instead of just on a plane? I've tried to find a .rb editor but no success.
-
.rb files are merely text files. Notepad, Textedit, lots of editors will work. Always save as plain text.
-
@unknownuser said:
... You can hear more details from the original preso: http://www.youtube.com/watch?v=FALvwBN5-hc
YouTube says: "We're sorry, this video is no longer available."
Any alternate sources?
Thanks,
August -
@august said:
YouTube says: "We're sorry, this video is no longer available."
Any alternate sources?
Hey August,
I've sent a query to the code site folks asking what happened to the video.
Thanks!
-
Hi Scott,
I'm Having the same problem BTM did back in Nov:
@unknownuser said:
I have a mac running OSX 10.5.6, and for every frame, I encounter the error
%(#808080)["newGroundz:
value=>-5000<
TypeError: Value undefined (result of expression value.split) is not object."].
the error pops up first, i have to click enter, then next frame, same error, this repeat over and over, then the knight falls through the floor, screams, and SU messes up. Any idea why?@unknownuser said:
I'll need to test on my Mac with SU7 and post a fixed version.
Have you found a way to correct this?
-
Hi All,
did anyone ever get this running on a Mac? can something be changed to make it run?
john
-
This was working on a Mac back when Scott posted this thread. Did someone or SU break it since then?
-
hi Todd,
I only downloaded it recently and it appears to have the same symptoms as BTM's early post described, so I thought it had not been fixed....
or the solution had moved on to a different thread, as sometimes happens...
so, it's not currently working on 7.1 on a Mac and although I'm happy to modify the code, I'd need some instructions.
cheers
john
-
Hmm. Todd's cleaned up version was working on mac. I'll take a look...
-
Thanks for that...
john
-
Todd Burch,
Congratulations on the quality of that code. To my eye, this is super readable:
var BACKSPACE = 8 ; var TAB = 9 ; var ENTER = 13 ; var SHIFT = 16 ; ...
Just one question: why the space before the semicolon?
-
hi,
I can't believe it myself, but I now have it working on my Mac...
I changed it to "darwin" in line 137 and he longer falls
if RUBY_PLATFORM.include?("darwin") then script = "top.GROUNDZ = " + groundZ.to_s + ";" else script = "newGroundZ(" + groundZ.to_s + " );" ; end ; dialog.execute_script(script);
now to see if all else works.....
john
-
@martinrinehart said:
Todd Burch,
Congratulations on the quality of that code. To my eye, this is super readable:
. . .Just one question: why the space before the semicolon?
Habit. Most languages I code in require a semi colon (C / C++ / Java / Javascript / PL/1 ) and other languages (Ruby, REXX) a semi colon is optional. Just a style I've developed over the last ... 26 years I guess it is now...
Thanks. Todd
-
It's been a few years since Scott released this game demo, and I thought there might be a few people who have not seen it, so here it is. bump. I was floored at the time to see this working in SketchUp, but it is still pretty awesome.
There is a link to download the game in the first post of this topic - it works with sketchup 8.
There is a clip in the video showing the game starting at 19m30s, but there's a lot of good developer info in the rest of the video too.
YouTube - Google I/O 2008 - Advanced Ruby Scripting for Sketchup
by GoogleDevelopers[flash=480,385:22ep2clm]http://www.youtube.com/v/FALvwBN5-hc?fs=1&hl=en_US[/flash:22ep2clm]
-
@unknownuser said:
<edit>
Too big to upload to the forums, so you can get it here...
http://www.sketchupdemos.com/knightgame.zip
It's about 4mb.
</edit>Does anyone still have a copy of this file?
-
@thomthom said:
Does anyone still have a copy of this file?
I do
Have had to dig through my old backup HD and have found the file.I liked the idea of a better control over SU.
-
can it be changed in the next update?
Advertisement